| Cover | TOC | Chap | Prev Chap | Prev Fig | Next Fig | Next Chap |
|
Figure 20.12
Two sphere worlds illuminated by two directional lights. |
|
|
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 [
Transform {
translation -9.0 0.0 0.0
children [
DirectionalLight {
direction 1.0 0.0 0.0
},
DEF Spheres Inline {
url "spheres.wrl"
bboxCenter 0.0 0.0 0.0
bboxSize 16.0 16.0 1.0
},
]
},
Transform {
translation 9.0 0.0 0.0
children [
DirectionalLight {
direction -1.0 0.0 0.0
},
USE Spheres
]
}
]
}