X3D Model Documentation: Cabin.x3d

  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='titlecontent='Cabin.x3d'/>
  6            <meta name='creatorcontent='Selcuk OZTURK'/>
  7            <meta name='descriptioncontent='The pilot cabin of the Zeppelin.'/>
  8            <meta name='createdcontent='8 August 2002'/>
  9            <meta name='modifiedcontent='20 October 2019'/>
 10            <meta name='identifiercontent='https://savage.nps.edu/Savage/AircraftMiscellaneous/Zeppelin/Cabin.x3d'/>
 11            <meta name='generatorcontent='X3D-Edit 3.2, https://savage.nps.edu/X3D-Edit'/>
 12            <meta name='generatorcontent='X3D-Edit 3.3, https://savage.nps.edu/X3D-Edit'/>
 13            <meta name='licensecontent='../../license.html'/>
 14       </head>
<!--

<!-- -->

<!-- to top Index for DEF nodes: BAD, CHAIR, FIRST, FRONT_PATCH, Pal, PATCH, RIGHT_SIDE, SIDE, WOOD

Index for Viewpoint nodes: Viewpoint_1, Viewpoint_2, Viewpoint_3, Viewpoint_4
-->
 15       <Scene>
 16            <WorldInfo title='Cabin.x3d'/>
 17            <Viewpoint description='Cabin Leftposition='4 0 15'/>
 18            <Viewpoint description='Cabin Rightorientation='0 1 0 3.14position='4 0 -15'/>
 19            <Viewpoint description='Cabin Insideorientation='0 1 0 1.57position='1 -0.7 -1.5'/>
 20            <Viewpoint description='Cabin Inside Backorientation='0 1 0 1.57position='8.3 0.1 -1.5'/>
 21            <Transform>
 22                 <!-- Left Side of the Cabin -->
 23 
               <!-- Group SIDE is a DEF node that has 1 USE node: USE_1 -->
               <Group DEF='SIDE'>
 24                      <Shape DEF='FIRST'>
 25                           <Appearance>
 26 
                              <!-- ImageTexture WOOD is a DEF node that has 9 USE nodes: USE_1, USE_2, USE_3, USE_4, USE_5, USE_6, USE_7, USE_8, USE_9 -->
                              <ImageTexture DEF='WOOD'   url=' "wood60.jpg " "https://savage.nps.edu/Savage/AircraftMiscellaneous/Zeppelin/wood60.jpg " '/>
 27                           </Appearance>
 28                           <Box size='2 3 0.1'/>
 29                      </Shape>
 30 
                    <!-- Group PATCH is a DEF node that has 2 USE nodes: USE_1, USE_2 -->
                    <Group DEF='PATCH'>
 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.99shininess='0.5transparency='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_SIDEtranslation='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.57translation='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.57translation='0.75 0 0.75'>
113 
                         <!-- Shape BAD is a DEF node that has 1 USE node: USE_1 -->
                         <Shape DEF='BAD'>
114                                <Appearance>
115                                     <Material diffuseColor='1 0 0'/>
116                                </Appearance>
117                                <Cylinder height='1.5radius='0.1'/>
118                           </Shape>
119                      </Transform>
120                      <Transform rotation='1 0 0 1.57translation='-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.1translation='-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.1translation='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.57translation='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.57translation='4 -1.44 -1.5'>
142                           <Shape>
143                                <Appearance>
144                                     <ImageTexture   url=' "floor09.jpg " "https://savage.nps.edu/Savage/AircraftMiscellaneous/Zeppelin/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.57translation='-0.95 0 -1.5'>
153                      <Group>
154                           <Transform>
155                                <Shape>
156                                     <Appearance>
157                                          <Material diffuseColor='0.8 0.99 0.99shininess='0.5transparency='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.57translation='0 1.125 0'>
174                                <Shape USE='FRONT_PATCH'/>
175                           </Transform>
176                           <Transform rotation='0 0 1 -1.57translation='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.3translation='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.3translation='2 -1.4 -1.7'>
186                      <Inline USE='CHAIR'/>
187                 </Transform>
188                 <Transform scale='0.3 0.3 0.3translation='4 -1.4 0'>
189                      <Inline USE='CHAIR'/>
190                 </Transform>
191                 <Transform scale='0.3 0.3 0.3translation='4 -1.4 -1.7'>
192                      <Inline USE='CHAIR'/>
193                 </Transform>
194                 <Transform scale='0.3 0.3 0.3translation='6 -1.4 -1.7'>
195                      <Inline USE='CHAIR'/>
196                 </Transform>
197                 <Transform scale='0.3 0.3 0.3translation='8 -1.4 -1.7'>
198                      <Inline USE='CHAIR'/>
199                 </Transform>
200                 <Transform scale='0.4 0.4 0.6translation='-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>
<!--

<!-- -->

<!-- to top Index for DEF nodes: BAD, CHAIR, FIRST, FRONT_PATCH, Pal, PATCH, RIGHT_SIDE, SIDE, WOOD

Index for Viewpoint nodes: Viewpoint_1, Viewpoint_2, Viewpoint_3, Viewpoint_4
-->
X3D Tooltips element index: Appearance, Box, Cylinder, Group, head, ImageTexture, Inline, Material, meta, Scene, Shape, Transform, Viewpoint, WorldInfo, X3D, accessType and type, XML data types, field types

-->
<!-- Online at
https://savage.nps.edu/Savage/AircraftMiscellaneous/Zeppelin/CabinIndex.html -->
<!-- Version control at
https://gitlab.nps.edu/Savage/Savage/AircraftMiscellaneous/Zeppelin/Cabin.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)
-->

to top <!-- For additional help information about X3D scenes, please see X3D Tooltips, X3D Resources, and X3D Scene Authoring Hints. -->