ParallelGraphics This website is dedicated to the legacy Web3D products.
Visit the main company website at www.Cortona3D.com
Home  »  Developer Zone  »  Products  »  Cortona3D Viewer  »  Using in HTML
Up to Cortona3D Viewer

OBJECT and EMBED parameters 


Subscribe to Newsletter
 


Google Searchsite search:

 

%(domain)s %(domain)s
Install Cortona3D Viewer


Using in HTML
Scene size: 886bytes


To display a VRML world in a Web browser authors should use the EMBED or OBJECT (supported by Microsoft Internet Explorer) elements with the proper attributes in an HTML document.

 
Using EMBED tag
 
Using OBJECT tag



Using EMBED tag

where:
 
SRC specifies the name of the VRML scene to be loaded.
 
TYPE MIME type (must be "model/vrml" for Cortona browser)
 
WIDTH, HEIGHT standard formatting attributes.
 
VRML_SPLASHSCREEN "TRUE" - turns on Cortona SplashScreen; "FALSE" - turns off.
 
VRML_DASHBOARD "TRUE" - turns on horizontal and vertical toolbars; "FALSE" - turns off.
 
VRML_BACKGROUND_COLOR "#rrggbb" specifies the background color of the 3D window (hexadecimal).
 
CONTEXTMENU "TRUE" - enables context menu in the 3D window; "FALSE" - disables.

See full list of properties



Using OBJECT tag
Internet Explorer can automatically download Cortona if it is not already installed. It gives the opportunity to reduce download size and choose Cortona as VRML viewer despite the fact that the other VRML browser is installed on the user's computer. This technology provides to developers the CAB file for HTML-based Internet installations of Cortona.

component CAB file: cortona3d.cab, size: 0bytes

where:
 
CLASSID identifies the Cortona ActiveX control for the browser. The value must be entered exactly as shown.
 
CODEBASE CAB file with Cortona VRML Engine.
 
WIDTH, HEIGHT standard formatting attributes.
Params (properties):
 
SRC specifies the name of the VRML scene to be loaded.
 
VRML_SPLASHSCREEN "TRUE" - turns on Cortona SplashScreen; "FALSE" - turns off.
 
VRML_DASHBOARD "TRUE" - turns on horizontal and vertical toolbars; "FALSE" - turns off.
 
VRML_BACKGROUND_COLOR "#rrggbb" specifies the background color of the 3D window (hexadecimal).
 
CONTEXTMENU "TRUE" - enables context menu in the 3D window; "FALSE" - disables.

See full list of properties




Last updated: Tue, 27 Jun 2017
© 2000-2016 ParallelGraphics. All rights reserved. Terms of use.