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='Interchange' 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=' Hut.x3d '/> |
6 | <meta name='description' content='Hut for the playground - look around or rest here if you want.'/> |
7 | <meta name='creator' content='Kok Keng Ng'/> |
8 | <meta name='created' content='20 September 2002'/> |
9 | <meta name='modified' content='20 October 2019'/> |
10 | <meta name='identifier' content=' https://www.web3d.org/x3d/content/examples/Savage/Buildings/PlayGround/Hut.x3d '/> |
11 | <meta name='generator' content='X3D-Edit 3.2, https://www.web3d.org/x3d/tools/X3D-Edit'/> |
12 | <meta name='license' content='../../license.html'/> |
13 | </head> |
14 | <Scene> |
15 | <WorldInfo title='Hut.x3d'/> |
16 | <Viewpoint description='Hut view' orientation='0 1 0 1.575' position='1.5 0.5 -2'/> |
17 | <Transform scale='0.5 0.5 0.5' translation='0 0 0.25'> |
18 | <Group DEF='HUTRoof'> |
19 | <Transform DEF='roof1' center='0 4 0' rotation='1 0 0 1' scale='1 1 0.01' translation='0 3.5 -3.35'> |
20 | |
21 | <Cone bottomRadius='4.5' height='5.25'/> |
22 | <Appearance DEF='ROOFApp'> |
23 | <Material diffuseColor='1 0.2 0.2'/> |
24 | |
25 | </Appearance> |
26 | </Shape> |
27 | </Transform> |
28 | <Transform DEF='ROOFPart2' center='0 4 -9' rotation='1 0 0 -1' scale='1 1 0.02' translation='0 3.4 3.25'> |
29 | <Shape USE='ROOFPart1'/> |
30 | </Transform> |
31 | <Transform DEF='ROOFPart3' center='0 4 0' rotation='0 0 1 -1' scale='0.02 1 1' translation='1.2 3.5 -4.5'> |
32 | <Shape USE='ROOFPart1'/> |
33 | </Transform> |
34 | <Transform DEF='ROOFPart4' center='0 4 0' rotation='0 0 1 1' scale='0.02 1 1' translation='-1.2 3.5 -4.5'> |
35 | <Shape USE='ROOFPart1'/> |
36 | </Transform> |
37 | </Group> |
38 | </Transform> |
39 | <Transform> |
40 | <Group DEF='HUTPillars'> |
41 | <Transform translation='-2 0 0'> |
42 | |
43 | <Box size='0.2 4 0.2'/> |
44 | <Appearance> |
45 | <Material diffuseColor='0.8 0.6 0'/> |
46 | <ImageTexture USE='wood'/> |
47 | </Appearance> |
48 | </Shape> |
49 | </Transform> |
50 | <Transform translation='2 0 0'> |
51 | <Shape USE='PILLAR'/> |
52 | </Transform> |
53 | <Transform translation='-2 0 -4'> |
54 | <Shape USE='PILLAR'/> |
55 | </Transform> |
56 | <Transform translation='2 0 -4'> |
57 | <Shape USE='PILLAR'/> |
58 | </Transform> |
59 | </Group> |
60 | </Transform> |
61 | <Transform> |
62 | |
63 | <Transform translation='-1.5 -0.5 0'> |
64 | |
65 | <Box size='0.8 1 0.1'/> |
66 | |
67 | <ImageTexture USE='wood'/> |
68 | <Material diffuseColor='0.9 0.7 0.3'/> |
69 | </Appearance> |
70 | </Shape> |
71 | </Transform> |
72 | <Transform translation='-0.5 -.5 0'> |
73 | <Shape USE='HUTBar'/> |
74 | </Transform> |
75 | <Transform translation='0.5 -0.5 0'> |
76 | <Shape USE='HUTBar'/> |
77 | </Transform> |
78 | <Transform translation='1.5 -0.5 0'> |
79 | <Shape USE='HUTBar'/> |
80 | </Transform> |
81 | <Transform> |
82 | |
83 | <Appearance USE='WOOD2App'/> |
84 | <Box size='3.8 0.2 0.2'/> |
85 | </Shape> |
86 | </Transform> |
87 | <Transform translation='0 -1.1 0'> |
88 | <Shape USE='HUTBar2'/> |
89 | </Transform> |
90 | <Transform/> |
91 | <Transform/> |
92 | </Group> |
93 | </Transform> |
94 | <Transform rotation='0 1 0 1.575' translation='2 0 -2'> |
95 | <Group USE='HUTPanel'/> |
96 | </Transform> |
97 | <Transform translation='0 0 -4'> |
98 | <Group USE='HUTPanel'/> |
99 | </Transform> |
100 | <Transform> |
101 | <Group DEF='HUTFloor'> |
102 | <Transform translation='0 -1.1 -0.6'> |
103 |
<!-- Shape
HURFloorPanel is a DEF node that has 3 USE nodes: USE_1, USE_2, USE_3 -->
<Shape DEF='HURFloorPanel'> |
104 | <Box size='3.8 0.1 0.9'/> |
105 | <Appearance> |
106 | <Material diffuseColor='0.9 0.9 0.2'/> |
107 | <ImageTexture USE='wood'/> |
108 | </Appearance> |
109 | </Shape> |
110 | </Transform> |
111 | <Transform translation='0 -1.1 -1.55'> |
112 | <Shape USE='HURFloorPanel'/> |
113 | </Transform> |
114 | <Transform translation='0 -1.1 -2.5'> |
115 | <Shape USE='HURFloorPanel'/> |
116 | </Transform> |
117 | <Transform translation='0 -1.1 -3.45'> |
118 | <Shape USE='HURFloorPanel'/> |
119 | </Transform> |
120 | <Transform/> |
121 | <Transform/> |
122 | </Group> |
123 | </Transform> |
124 | <Transform rotation='0 1 0 1.575' translation='-2 -1.1 -2'> |
125 | <Shape USE='HUTBar2'/> |
126 | </Transform> |
127 | <Transform rotation='0 1 0 1.575' scale='0.3 1 1' translation='-2 0 -0.675'> |
128 | <Shape USE='HUTBar2'/> |
129 | </Transform> |
130 | <Transform rotation='0 1 0 1.575' scale='0.33 1 1' translation='-2 0 -3.275'> |
131 | <Shape USE='HUTBar2'/> |
132 | </Transform> |
133 | <Transform rotation='0 0 1 1.575' scale='0.33 1 1' translation='-2.0 -0.525 -2.55'> |
134 | <Shape USE='HUTBar2'/> |
135 | </Transform> |
136 | <Transform rotation='0 0 1 1.575' scale='0.33 1 1' translation='-2.0 -0.525 -1.35'> |
137 | <Shape USE='HUTBar2'/> |
138 | </Transform> |
139 | <Transform/> |
140 | <Transform/> |
141 | <Transform/> |
142 | </Scene> |
143 | </X3D> |
<!--
Color-coding 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.
-->