| Cover | TOC | Chap | Prev Chap | Prev Fig | Next Fig | Next Chap |
|
Figure 15.13
A pyramid built by scaling a square cross section to 0.01 at the pyramid apex. |
|
|
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
Shape {
appearance Appearance {
material Material {
diffuseColor 1.0 0.5 0.0
}
}
geometry Extrusion {
crossSection [
# Square
-1.0 1.0, 1.0 1.0,
1.0 -1.0, -1.0 -1.0,
-1.0 1.0
]
spine [ 0.0 0.0 0.0, 0.0 1.0 0.0 ]
scale [ 1.0 1.0, 0.01 0.01 ]
}
}