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='Cabin.x3d'/> |
6 | <meta name='creator' content='Selcuk OZTURK'/> |
7 | <meta name='description' content='The pilot cabin of the Zeppelin.'/> |
8 | <meta name='created' content='8 August 2002'/> |
9 | <meta name='modified' content='20 October 2019'/> |
10 | <meta name='identifier' content='https://savage.nps.edu/Savage/AircraftMiscellaneous/Zeppelin/Cabin.x3d'/> |
11 | <meta name='generator' content='X3D-Edit 3.2, https://savage.nps.edu/X3D-Edit'/> |
12 | <meta name='generator' content='X3D-Edit 3.3, https://savage.nps.edu/X3D-Edit'/> |
13 | <meta name='license' content='../../license.html'/> |
14 | </head> |
15 | <Scene> |
16 | <WorldInfo title='Cabin.x3d'/> |
17 | <Viewpoint description='Cabin Left' position='4 0 15'/> |
18 | <Viewpoint description='Cabin Right' orientation='0 1 0 3.14' position='4 0 -15'/> |
19 | <Viewpoint description='Cabin Inside' orientation='0 1 0 1.57' position='1 -0.7 -1.5'/> |
20 | <Viewpoint description='Cabin Inside Back' orientation='0 1 0 1.57' position='8.3 0.1 -1.5'/> |
21 | <Transform> |
22 | <!-- Left Side of the Cabin --> |
23 | |
24 | <Shape DEF='FIRST'> |
25 | <Appearance> |
26 | |
27 | </Appearance> |
28 | <Box size='2 3 0.1'/> |
29 | </Shape> |
30 | |
31 | <Transform translation='1.5 1 0'> |
32 | <Shape> |
33 | <Appearance> |
34 | <ImageTexture USE='WOOD'/> |
35 | </Appearance> |
36 | <Box size='1 1 0.1'/> |
37 | </Shape> |
38 | </Transform> |
39 | <Transform translation='1.5 -1 0'> |
40 | <Shape> |
41 | <Appearance> |
42 | <ImageTexture USE='WOOD'/> |
43 | </Appearance> |
44 | <Box size='1 1 0.1'/> |
45 | </Shape> |
46 | </Transform> |
47 | <Transform translation='2.5 0 0'> |
48 | <Shape> |
49 | <Appearance> |
50 | <ImageTexture USE='WOOD'/> |
51 | </Appearance> |
52 | <Box size='1 3 0.1'/> |
53 | </Shape> |
54 | </Transform> |
55 | <Transform translation='1.5 0 0'> |
56 | <Shape> |
57 | <Appearance> |
58 | <Material diffuseColor='0.8 0.99 0.99' shininess='0.5' transparency='0.5'/> |
59 | </Appearance> |
60 | <Box size='1 1 0.1'/> |
61 | </Shape> |
62 | </Transform> |
63 | </Group> |
64 | <Transform translation='2 0 0'> |
65 | <Group USE='PATCH'/> |
66 | </Transform> |
67 | <Transform translation='4 0 0'> |
68 | <Group USE='PATCH'/> |
69 | </Transform> |
70 | </Group> |
71 | <!-- The Right Side Of The Cabin --> |
72 | <Transform DEF='RIGHT_SIDE' translation='0 0 -3'> |
73 | <Group USE='SIDE'/> |
74 | </Transform> |
75 | <!-- Put a door on the left side.. --> |
76 | <Transform translation='7.5 1.25 0'> |
77 | <Shape> |
78 | <Appearance> |
79 | <ImageTexture USE='WOOD'/> |
80 | </Appearance> |
81 | <Box size='1 0.5 0.1'/> |
82 | </Shape> |
83 | </Transform> |
84 | <Transform translation='7.5 -0.25 0'> |
85 | <Inline url=' "Door.x3d" "https://savage.nps.edu/Savage/AircraftMiscellaneous/Zeppelin/Door.x3d" "Door.wrl" "https://savage.nps.edu/Savage/AircraftMiscellaneous/Zeppelin/Door.wrl" '/> |
86 | </Transform> |
87 | <Transform translation='8.5 0 0'> |
88 | <Shape> |
89 | <Appearance> |
90 | <ImageTexture USE='WOOD'/> |
91 | </Appearance> |
92 | <Box size='1 3 0.1'/> |
93 | </Shape> |
94 | </Transform> |
95 | <!-- Fill the gap with an box because there is no door on right the side of the cabin --> |
96 | <Transform translation='8 0 -3'> |
97 | <Shape> |
98 | <Appearance> |
99 | <ImageTexture USE='WOOD'/> |
100 | </Appearance> |
101 | <Box size='2 3 0.1'/> |
102 | </Shape> |
103 | </Transform> |
104 | <!-- Back side of the cabin --> |
105 | <Transform rotation='0 1 0 1.57' translation='8.95 0 -1.5'> |
106 | <Shape> |
107 | <Appearance> |
108 | <ImageTexture USE='WOOD'/> |
109 | </Appearance> |
110 | <Box size='3 3 0.1'/> |
111 | </Shape> |
112 | <Transform rotation='1 0 0 1.57' translation='0.75 0 0.75'> |
113 | |
114 | <Appearance> |
115 | <Material diffuseColor='1 0 0'/> |
116 | </Appearance> |
117 | <Cylinder height='1.5' radius='0.1'/> |
118 | </Shape> |
119 | </Transform> |
120 | <Transform rotation='1 0 0 1.57' translation='-0.75 0 0.75'> |
121 | <Shape USE='BAD'/> |
122 | </Transform> |
123 | <!-- Pal.wrl should be at the same directory --> |
124 | <Transform scale='0.1 0.1 0.1' translation='-0.75 0 1.85'> |
125 |
<!-- Inline
Pal is a DEF node that has 1 USE node: USE_1 --> <Inline DEF='Pal' url=' "Pal.x3d" "https://savage.nps.edu/Savage/AircraftMiscellaneous/Zeppelin/Pal.x3d" "Pal.wrl" "https://savage.nps.edu/Savage/AircraftMiscellaneous/Zeppelin/Pal.wrl" '/> |
126 | </Transform> |
127 | <Transform scale='0.1 0.1 0.1' translation='0.75 0 1.85'> |
128 | <Inline USE='Pal'/> |
129 | </Transform> |
130 | </Transform> |
131 | <!-- Floor of the cabin --> |
132 | <Transform rotation='1 0 0 1.57' translation='4 -1.45 -1.5'> |
133 | <Shape> |
134 | <Appearance> |
135 | <ImageTexture USE='WOOD'/> |
136 | </Appearance> |
137 | <Box size='10 3 0.1'/> |
138 | </Shape> |
139 | </Transform> |
140 | <Transform> |
141 | <Transform rotation='1 0 0 1.57' translation='4 -1.44 -1.5'> |
142 | <Shape> |
143 | <Appearance> |
144 |
<ImageTexture
url=' "floor09.jpg![]() ![]() |
145 | <!-- Floor09.jpg should be at the same directory . It's downloaded from 3dCafe.com. --> |
146 | </Appearance> |
147 | <Box size='9.95 2.95 0.1'/> |
148 | </Shape> |
149 | </Transform> |
150 | </Transform> |
151 | <!-- The fore of the cabin --> |
152 | <Transform rotation='0 1 0 1.57' translation='-0.95 0 -1.5'> |
153 | <Group> |
154 | <Transform> |
155 | <Shape> |
156 | <Appearance> |
157 | <Material diffuseColor='0.8 0.99 0.99' shininess='0.5' transparency='0.5'/> |
158 | </Appearance> |
159 | <Box size='1.5 1.5 0.1'/> |
160 | </Shape> |
161 | </Transform> |
162 | <Transform translation='-1.125 0 0'> |
163 |
<!-- Shape
FRONT_PATCH is a DEF node that has 3 USE nodes: USE_1, USE_2, USE_3 -->
<Shape DEF='FRONT_PATCH'> |
164 | <Appearance> |
165 | <ImageTexture USE='WOOD'/> |
166 | </Appearance> |
167 | <Box size='0.75 3 0.1'/> |
168 | </Shape> |
169 | </Transform> |
170 | <Transform translation='1.125 0 0'> |
171 | <Shape USE='FRONT_PATCH'/> |
172 | </Transform> |
173 | <Transform rotation='0 0 1 -1.57' translation='0 1.125 0'> |
174 | <Shape USE='FRONT_PATCH'/> |
175 | </Transform> |
176 | <Transform rotation='0 0 1 -1.57' translation='0 -1.125 0'> |
177 | <Shape USE='FRONT_PATCH'/> |
178 | </Transform> |
179 | </Group> |
180 | </Transform> |
181 | <!-- Chair.wrl should be at the same directory. --> |
182 | <Transform scale='0.3 0.3 0.3' translation='2 -1.4 0'> |
183 |
<!-- Inline
CHAIR is a DEF node that has 5 USE nodes: USE_1, USE_2, USE_3, USE_4, USE_5 --> <Inline DEF='CHAIR' url=' "Chair.x3d" "https://savage.nps.edu/Savage/AircraftMiscellaneous/Zeppelin/Chair.x3d" "Chair.wrl" "https://savage.nps.edu/Savage/AircraftMiscellaneous/Zeppelin/Chair.wrl" '/> |
184 | </Transform> |
185 | <Transform scale='0.3 0.3 0.3' translation='2 -1.4 -1.7'> |
186 | <Inline USE='CHAIR'/> |
187 | </Transform> |
188 | <Transform scale='0.3 0.3 0.3' translation='4 -1.4 0'> |
189 | <Inline USE='CHAIR'/> |
190 | </Transform> |
191 | <Transform scale='0.3 0.3 0.3' translation='4 -1.4 -1.7'> |
192 | <Inline USE='CHAIR'/> |
193 | </Transform> |
194 | <Transform scale='0.3 0.3 0.3' translation='6 -1.4 -1.7'> |
195 | <Inline USE='CHAIR'/> |
196 | </Transform> |
197 | <Transform scale='0.3 0.3 0.3' translation='8 -1.4 -1.7'> |
198 | <Inline USE='CHAIR'/> |
199 | </Transform> |
200 | <Transform scale='0.4 0.4 0.6' translation='-0.95 -1.4 -1.5'> |
201 | <!-- ControlPanel.wrl should be at the same directory. --> |
202 | <Inline url=' "ControlPanel.x3d" "https://savage.nps.edu/Savage/AircraftMiscellaneous/Zeppelin/ControlPanel.x3d" "ControlPanel.wrl" "https://savage.nps.edu/Savage/AircraftMiscellaneous/Zeppelin/ControlPanel.wrl" '/> |
203 | </Transform> |
204 | </Transform> |
205 | </Scene> |
206 | </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.
-->