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

X3D Example Archives: VRML 2 Sourcebook, Chapter 07 Scaling Shapes

Scale transformations grow or shrink a local coordinate system by a scaling factor in the X, Y, and Z directions.

Transform operations are bottom-up: children shapes are first scaled, rotated, then translated. Order is fixed, independent of the field order that happens to occur in the Transform node.

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

Figure 07.11 Scaled Arches
  11 X3D Models       X3D Model Descriptions
Figure07_04bScale2xWithAxes Figure 07 04b Scale 2x With Axes Scaling up by 2.0 along the X-axis direction and building a sphere, with coordinate axes superimposed to show X3D/VRML directions
Figure07_05bScaleHalfxWithAxes Figure 07 05b Scale Halfx With Axes Scaling down by 0.5 along the X-axis direction and building a sphere, with coordinate axes superimposed to show X3D/VRML directions
Figure07_06bScale2yWithAxes Figure 07 06b Scale 2y With Axes Scaling up by 2.0 along the Y-axis direction and building a sphere, with coordinate axes superimposed to show X3D/VRML directions
Figure07_07bScaleHalfzWithAxes Figure 07 07b Scale Halfz With Axes Scaling down by 0.5 along the Z-axis direction and building a sphere, with coordinate axes superimposed to show X3D/VRML directions
Figure07_08bScale2x_Halfy_4zWithAxes Figure 07 08b Scale 2x Halfy 4z With Axes Scaling up by 2.0 in the X direction, scaling down by 0.5 in the Y direction, scaling up by 4.0 in the Z direction, and building a sphere, with coordinate axes superimposed to show X3D/VRML directions
Figure07_09SimpleSpaceshipBodyWingsWithAxes Figure 07 09 Simple Spaceship Body Wings With Axes A simple spaceship built with a cylinder and a sphere, each scaled within its own coordinate system, with coordinate axes superimposed to show X3D/VRML directions
Figure07_10SimpleSpaceship Figure 07 10 Simple Spaceship A simple spaceship built with shapes in scaled coordinate systems, with coordinate axes superimposed to show X3D/VRML directions
Figure07_11ScaledArches Figure 07 11 Scaled Arches An archway with smaller archways on each side created in translated, scaled coordinate systems. Also see Figures 6.10, 7.11 and 12.1 for comparison.
Figure07_12aSimpleTree Figure 07 12a Simple Tree A tree at its original size. Also see Figures 7.12a, 7.12b and 7.13 for comparison.
Figure07_12bVerticallyScaledTree Figure 07 12b Vertically Scaled Tree A tree scaled up about a center point set at the base of the tree trunk. Also see Figures 7.12a, 7.12b and 7.13 for comparison.
Figure07_13DiagonallyScaledTree Figure 07 1 3Diagonally Scaled Tree A tree scaled along a diagonal axis using scale orientation. Also see Figures 7.12a, 7.12b and 7.13 for comparison.

Online at https://www.web3d.org/x3d/content/examples/Vrml2Sourcebook/Chapter07ScalingShapes

Validate XHTML 1.1

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

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

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