Table of Contents Previous Chapter Summary Chapter Viewpoint Slideshow Javadoc for translated java source Next Chapter Summary X3D Resources

X3D Example Archives: VRML 2 Sourcebook, Chapter 28 Anchor

Figure 28.2 Anchor Load Another World

Similar to HTML web pages, the Anchor node lets an author make shapes selectable for navigating to another viewpoint, loading a new VRML/X3D world, or launching new content in a web browser.

An Anchor node creates a group that acts as a clickable anchor where every child node in the group is displayed, and clicking one follows a url to another scene or another Web link. An Anchor can also bring the user to another Viewpoint location in the scene. A description field names each Anchor so that the user knows its purpose.

These X3D scenes are adapted directly from the original VRML 2.0 Sourcebook chapter examples. Also available: Introduction to VRML97 SIGGRAPH98 course notes.

  2 X3D Scenes       Scene Descriptions
Figure28_1AnchorViewpointsDungeon Figure 28 1 Anchor Viewpoints Dungeon A dungeon destination world. Click either anchored Cone to switch viewpoints. Anchor viewpoint DEF names are indicated by the url, similar to HTML bookmarks on a page.
Figure28_2AnchorLoadAnotherWorld Figure 28 2 Anchor Load Another World Anchor parameter/target demonstrations: click left text to load another scene in the same window, or click right text to load another scene in a new window.

Online at http://www.web3d.org/x3d/content/examples/Vrml2Sourcebook/Chapter28Anchor

Validate XHTML 1.1

Master source-code model archive is under subversion control at
http://sourceforge.net/p/x3d/code/HEAD/tree/www.web3d.org/x3d/content/examples/Vrml2Sourcebook/Chapter28Anchor

The X3D Resources: Examples page and Savage Developers Guide provide more information about the production of this archive.

Table of Contents Previous Chapter Summary Chapter Viewpoint Slideshow Javadoc for translated java source Next Chapter Summary X3D Resources