| Cover | TOC | Chap | Prev Chap | Prev Fig | Next Fig | Next Chap |
|
Figure 11.3
A group of shapes within a bounding box. |
|
|
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
Group {
bboxCenter 0.0 0.0 0.0
bboxSize 25.0 25.0 25.0
children [
Shape {
appearance Appearance {
material Material {
diffuseColor 0.0 1.0 0.0
}
}
geometry Box {
size 25.0 2.0 2.0
}
},
Shape {
appearance Appearance {
material Material {
diffuseColor 1.0 1.0 0.0
}
}
geometry Box {
size 2.0 25.0 2.0
}
},
Shape {
appearance Appearance {
material Material {
diffuseColor 0.5 1.0 0.0
}
}
geometry Box {
size 2.0 2.0 25.0
}
}
]
}