| Cover | TOC | Chap | Prev Chap | Prev Fig | Next Fig | Next Chap |
|
Figure 10.10
A simple space station with a half-transparent central sphere. |
|
|
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 {
children [
# Station Shapes
Shape {
appearance Appearance {
material Material {
diffuseColor 1.0 0.0 0.0
transparency 0.5
}
}
geometry Sphere { }
},
Shape {
appearance Appearance {
material Material {
diffuseColor 0.5 0.25 1.0
}
}
geometry Cylinder {
radius 2.0
height 0.05
}
},
Shape {
appearance Appearance {
material Material {
diffuseColor 0.75 0.0 1.0
}
}
geometry Cylinder {
radius 0.15
height 5.0
}
}
]
}