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 06 Rotating Shapes

Figure 06.09 Triple Asterisk 3D With Axes

Rotations can transform the orientation of a shape in any direction.

Rotation orients a coordinate system about a rotation axis by a rotation angle measured in radians. To help remember positive and negative rotation directions: open your hand, stick out your thumb, aim your thumb in an axis positive direction, and curl your fingers around the axis. The curl direction is a positive rotation.

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

  9 X3D Scenes       Scene Descriptions
Figure06_04bRotation45xWithAxes Figure 06 04b Rotation 45x With Axes Rotating 45 degrees about X axis, with coordinate axes superimposed to show X3D/VRML directions
Figure06_05bRotationMinus45xWithAxes Figure 06 05b Rotation Minus 45x With Axes Rotating -45 degrees about X axis, with coordinate axes superimposed to show X3D/VRML directions
Figure06_06bRotation45yWithAxes Figure 06 06b Rotation 45y With Axes Rotating 45 degrees about Y axis, with coordinate axes superimposed to show X3D/VRML directions
Figure06_07bRotationMinus45zWithAxes Figure 06 07b Rotation Minus 45z With Axes Rotating -45 degrees about Z axis, with coordinate axes superimposed to show X3D/VRML directions
Figure06_08Asterisk3dWithAxes Figure 06 08 Asterisk 3D With Axes A 3D asterisk created with cylinders built within one vertical and two rotated coordinate systems, with coordinate axes superimposed to show X3D/VRML directions
Figure06_09TripleAsterisk3dWithAxes Figure 06 09 Triple Asterisk 3D With Axes A 3-D asterisk ball built with cylinders in rotated coordinate systems, with coordinate axes superimposed to show X3D/VRML directions
Figure06_10SimpleArch Figure 06 10 Simple Arch An archway with pieces of the roof built within translated, rotated coordinate systems. Also see Figures 6.10, 7.11 and 12.1 for comparison.
Figure06_11DeskLampBase Figure 06 11 Desk Lamp Base The lower arm of a desk lamp, rotated using a center of rotation at the lower end of the arm. See Figures 6.12 and 9.9 for comparison.
Figure06_12DeskLampBaseTwoArms Figure 06 1 2Desk Lamp Base Two Arms The first and second arms of the desk lamp, each rotated using a center of rotation at the lower end of each arm. See Figures 6.11 and 9.9 for comparison.

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

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/Chapter06RotatingShapes

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