| Cover | TOC | Chap | Prev Chap | Prev Fig | Next Fig | Next Chap |
|
Figure 25.9
Two dungeon rooms controlled by LOD nodes. |
|
|
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 [
# First room
LOD {
range [ 20.0 ]
level [
Inline { url "droom.wrl" },
Group { }
]
},
# Second room
Transform {
translation 0.0 0.0 -10.0
children LOD {
range [ 20.0 ]
level [
Inline { url "droom.wrl" },
Group { }
]
}
}
]
}