1 |
<?xml version="1.0" encoding="UTF-8"?>
|
2 |
<!DOCTYPE X3D PUBLIC "ISO//Web3D//DTD X3D 3.0//EN" "https://www.web3d.org/specifications/x3d-3.0.dtd">
|
3 | <X3D profile='Immersive' version='3.0' xmlns:xsd='http://www.w3.org/2001/XMLSchema-instance' xsd:noNamespaceSchemaLocation='https://www.web3d.org/specifications/x3d-3.0.xsd'> |
4 | <head> |
5 | <meta name='title' content='Figure25_08DungeonRoom.x3d'/> |
6 | <meta name='creator' content='Figure 25.8, The VRML 2.0 Sourcebook, Copyright [1997] By Andrea L. Ames, David R. Nadeau, and John L. Moreland'/> |
7 | <meta name='reference' content='http://www.wiley.com/legacy/compbooks/vrml2sbk/ch25/25fig08.htm'/> |
8 | <meta name='translator' content='Don Brutzman'/> |
9 | <meta name='created' content='3 October 2000'/> |
10 | <meta name='modified' content='20 October 2019'/> |
11 | <meta name='description' content='A dungeon room.'/> |
12 | <meta name='identifier' content='https://www.web3d.org/x3d/content/examples/Vrml2Sourcebook/Chapter25LevelOfDetail/Figure25_08DungeonRoom.x3d'/> |
13 | <meta name='generator' content='X3D-Edit 3.3, https://savage.nps.edu/X3D-Edit'/> |
14 | <meta name='license' content='../../license.html'/> |
15 | </head> |
16 | <Scene> |
17 | <WorldInfo title='Figure25_08DungeonRoom.x3d'/> |
18 | <Viewpoint description='Dungeon room' position='0 2 10'/> |
19 | <NavigationInfo headlight='false'/> |
20 | <PointLight color='0.6 0.6 0.3'/> |
21 | <Group> |
22 | <Transform translation='0 0 2.5'> |
23 |
<!-- Inline
Floor is a DEF node that has 3 USE nodes: USE_1, USE_2, USE_3 --> <Inline DEF='Floor' url=' "Figure25_06DungeonRoomFloor.x3d" "https://www.web3d.org/x3d/content/examples/Vrml2Sourcebook/Chapter25LevelOfDetail/Figure25_06DungeonRoomFloor.x3d" "Figure25_06DungeonRoomFloor.wrl" "https://www.web3d.org/x3d/content/examples/Vrml2Sourcebook/Chapter25LevelOfDetail/Figure25_06DungeonRoomFloor.wrl" '/> |
24 | </Transform> |
25 | <Transform translation='0 0 -2.5'> |
26 | <Inline USE='Floor'/> |
27 | </Transform> |
28 | <Transform translation='0 3.5 2.5'> |
29 | <Inline USE='Floor'/> |
30 | </Transform> |
31 | <Transform translation='0 3.5 -2.5'> |
32 | <Inline USE='Floor'/> |
33 | </Transform> |
34 | <Transform translation='-5 0 0'> |
35 | <Transform translation='0 0 2.5'> |
36 |
<!-- Inline
Wall is a DEF node that has 3 USE nodes: USE_1, USE_2, USE_3 --> <Inline DEF='Wall' url=' "Figure25_07DungeonRoomWall.x3d" "https://www.web3d.org/x3d/content/examples/Vrml2Sourcebook/Chapter25LevelOfDetail/Figure25_07DungeonRoomWall.x3d" "Figure25_07DungeonRoomWall.wrl" "https://www.web3d.org/x3d/content/examples/Vrml2Sourcebook/Chapter25LevelOfDetail/Figure25_07DungeonRoomWall.wrl" '/> |
37 | </Transform> |
38 | <Transform translation='0 0 -2.5'> |
39 | <Inline USE='Wall'/> |
40 | </Transform> |
41 | <Transform rotation='0 1 0 1.57' translation='0 2.25 0'> |
42 | <PointLight ambientIntensity='0.4' attenuation='0 0.6 0' color='1 0.4 0.2' intensity='0.8' location='0 0.25 0.2' radius='10'/> |
43 |
<!-- Inline
Torch is a DEF node that has 1 USE node: USE_1 --> <Inline DEF='Torch' url=' "Figure25_05ThreeTorchesSingleLOD.x3d" "https://www.web3d.org/x3d/content/examples/Vrml2Sourcebook/Chapter25LevelOfDetail/Figure25_05ThreeTorchesSingleLOD.x3d" "Figure25_05ThreeTorchesSingleLOD.wrl" "https://www.web3d.org/x3d/content/examples/Vrml2Sourcebook/Chapter25LevelOfDetail/Figure25_05ThreeTorchesSingleLOD.wrl" '/> |
44 | </Transform> |
45 | </Transform> |
46 | <Transform translation='5 0 0'> |
47 | <Transform translation='0 0 2.5'> |
48 | <Inline USE='Wall'/> |
49 | </Transform> |
50 | <Transform translation='0 0 -2.5'> |
51 | <Inline USE='Wall'/> |
52 | </Transform> |
53 | <Transform rotation='0 1 0 -1.57' translation='0 2.25 0'> |
54 | <PointLight ambientIntensity='0.4' attenuation='0 0.6 0' color='1 0.4 0.2' intensity='0.8' location='0 0.25 0.2' radius='10'/> |
55 | <Inline USE='Torch'/> |
56 | </Transform> |
57 | </Transform> |
58 | </Group> |
59 | </Scene> |
60 | </X3D> |
<!--
Color legend: X3D terminology
<X3dNode
DEF='idName' field='value'/>
matches XML terminology
<XmlElement
DEF='idName' attribute='value'/>
(Light-blue background: event-based behavior node or statement)
(Grey background inside box: inserted documentation)
(Magenta background: X3D Extensibility)
-->
<!-- For additional help information about X3D scenes, please see X3D Tooltips, X3D Resources, and X3D Scene Authoring Hints. -->