December 1999
Intermediate to advanced
992 pages
22h 3m
English
To embed a 3DML document in a Web page, use the <embed> HTML tag. You must provide the 3DML MIME type in the <embed> tag, along with the filename of the 3DML document and the location of the plug-in page for Rover. The following is an example of how the <embed> tag is used to reference a 3DML document named MySpot.3dml:
<embed type="model/vnd.flatland.3dml" src="MySpot.3dml" pluginspage="http://www.flatland.com/download_direct.html" width="100%" height="100%">
The pluginspage attribute is useful in this example because it automatically takes the user to the Rover download page if the browser detects that he doesn't have the plug-in installed.
Listing 35.3 contains the complete code for the Maze.html Web page, ...
Read now
Unlock full access