| Cover | TOC | Chap | Prev Chap | Prev Fig | Next Fig | Next Chap |
|
Figure 20.13b
A directional light used to simulate the sun at noon. Compare with Figures 20.13a and c. |
|
|
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 [
DirectionalLight {
direction 0.0 -1.0 -0.2
intensity 1.0
ambientIntensity 0.7
color 1.0 0.9 0.7
},
# Vaulted ceiling and columns
Inline {
url "vaulted.wrl"
bboxCenter 0.0 1.0 0.0
bboxSize 6.0 2.0 6.0
},
# Floor
Shape {
appearance Appearance {
material Material { }
}
geometry Box { size 16.0 0.01 16.0 }
}
]
}