| Cover | TOC | Chap | Prev Chap | Prev Fig | Next Fig | Next Chap |
|
Figure 31.1
Definition and use of a WallColor node type. |
|
|
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
PROTO WallColor [ ] {
Material {
diffuseColor 0.0 0.6 1.0
}
}
Shape {
appearance Appearance {
material WallColor { }
}
geometry Box { size 10.0 2.0 0.1 }
}