Table of Contents Previous Chapter Viewpoint Slideshow    Chapter Viewpoint Slideshow 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

Figure 11.1 Cafe Sign Switch Resolutions    
  [1] Figure11.1CafeSignSwitchResolutions.x3d - Cafe sign

  [2] Figure11.1CafeSignSwitchResolutions.x3d - (default X3D view)


Figure 11.2 Cafe Sign Billboard    
  [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)


Figure 11.3 Bounding Box    
  [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/Chapter11-Grouping/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/Chapter11-Grouping/_viewpoints

Table of Contents Previous Chapter Viewpoint Slideshow    Chapter Viewpoint Slideshow Next Chapter Viewpoint Slideshow X3D Resources