Cover TOC Chap Prev Chap Prev Fig Next Fig Next Chap

Chapter 7: Scaling Shapes

../ch07/07fig07b.gif
Figure 7.7b

Scaling down by 0.5 in the Z-axis direction and building a sphere.

07fig07b.wrl
Click on the image to view the VRML scene.

#VRML V2.0 utf8
# The VRML 2.0 Sourcebook
# Copyright (c) 1997
# Andrea L. Ames, David R. Nadeau, and John L. Moreland
Transform {
    scale 1.0 1.0 0.5
    children [
        Shape {
            appearance Appearance {
                material Material { }
            }
            geometry Sphere { }
        }
    ]
}