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

X3D Example Archives: VRML 2 Sourcebook, Chapter 11 Grouping

[1] Figure11_1CafeSignSwitchResolutions.x3d - Cafe sign
Chapter Viewpoint Slideshow

Grouping nodes are used to group shapes to compose complex shapes.

  • The Switch node creates a switched group where only one child node in the group is displayed, children implicitly numbered from 0 and a whichChoice value of -1 selects no children.
  • Transform creates a group with its own coordinate system where every child node in the group is displayed.
  • Billboard creates a group with a special coordinate system that turns to face the viewer.

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

Figure 11.2 Cafe Sign Billboard

Figure 11.3 Bounding Box

3 X3D Scenes                 7 Viewpoint Snapshots

Figure11_1CafeSignSwitchResolutions
Figure 11 1 Cafe Sign Switch Resolutions.x3d    
[1] Figure11_1CafeSignSwitchResolutions.x3d - Cafe sign
[2] Figure11_1CafeSignSwitchResolutions.x3d - (default X3D view)

Figure11_2CafeSignBillboard
Figure 11 2 Cafe Sign Billboard.x3d    
[3] Figure11_2CafeSignBillboard.x3d - Cafe sign Billboard entry view
[4] Figure11_2CafeSignBillboard.x3d - Cafe sign Billboard view from corner
[5] Figure11_2CafeSignBillboard.x3d - (default X3D view from 0 0 10)

Figure11_3BoundingBox
Figure 11 3 Bounding Box.x3d    
[6] Figure11_3BoundingBox.x3d - A group of shapes within a bounding box.
[7] Figure11_3BoundingBox.x3d - (default X3D view from 0 0 10)
 

This viewpoint slideshow is online at
http://www.web3d.org/x3d/content/examples/Vrml2Sourcebook/Chapter11Grouping/viewpointSlideshow.html

Validate XHTML 1.1

Viewpoint image version history at
http://sourceforge.net/p/x3d/code/HEAD/tree/www.web3d.org/x3d/content/examples/Vrml2Sourcebook/Chapter11Grouping/_viewpoints

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