X3D Model Documentation: Body.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=' Body.x3d '/>
  6            <meta name='descriptioncontent='AAAV Body'/>
  7            <meta name='creatorcontent='William Geissler'/>
  8            <meta name='createdcontent='9 February 2001'/>
  9            <meta name='modifiedcontent='20 October 2019'/>
 10            <meta name='identifiercontent=' https://www.web3d.org/x3d/content/examples/Savage/AmphibiousVehicles/AAAV/Body.x3d '/>
 11            <meta name='generatorcontent='X3D-Edit 3.2, https://www.web3d.org/x3d/tools/X3D-Edit'/>
 12            <meta name='licensecontent='../../license.html'/>
 13       </head>
<!--

<!--
Event Graph ROUTE Table shows event connections.
-->
<!-- to top DEF nodes index: Antenna, Body, BOWCYLINDERSENSOR, BowPlane, BowTop, BOWTOPCYLINDERSENSOR, cammie2, ChineFlap, CrewHatch, green1, TRANSOMCYLINDERSENSOR, TransomFlap
-->
 14       <Scene>
 15            <WorldInfo info='"AAAV Vehicle Body"title='AAAV Body'/>
 16            <NavigationInfo speed='10'/>
 17            <Background groundColor='0.3 0.6 0.3skyColor='0.3 0.6 0.3'/>
 18            <Transform DEF='Bodyrotation='0 1 0 1.57translation='2.5 1.1 -5.2'>
 19                 <Shape>
 20                      <Appearance>
 21                           <ImageTexture   url=' "cammie1.jpg " "https://www.web3d.org/x3d/content/examples/Savage/AmphibiousVehicles/AAAV/cammie1.jpg " '/>
 22                      </Appearance>
 23                      <IndexedFaceSet convex='falsecreaseAngle='0.05coordIndex='0 1 2 3 4 5 6 7 8 0 -1 9 10 8 7 -1 11 12 10 9 -1 3 14 4 3 -1 3 2 13 14 3 -1 2 1 13 2 -1 15 16 17 18 19 20 21 22 23 15 -1 24 25 17 16 -1 26 27 25 24 -1 21 20 28 21 -1 22 21 28 29 22 -1 23 22 29 23 -1 6 5 19 18 -1 5 4 20 19 -1 4 14 13 1 0 15 23 29 28 20 -1 0 8 10 12 26 24 16 15 0 -1 11 9 7 6 18 17 25 27 11 -1 12 11 27 26 12 -1texCoordIndex='0 1 2 3 4 5 6 7 8 0 -1 9 10 8 7 -1 11 12 10 9 -1 3 14 4 3 -1 3 2 13 14 3 -1 2 1 13 2 -1 15 16 17 18 19 20 21 22 23 15 -1 24 25 17 16 -1 26 27 25 24 -1 21 20 28 21 -1 22 21 28 29 22 -1 23 22 29 23 -1 6 5 19 18 -1 5 4 20 19 -1 4 14 13 1 0 15 23 29 28 20 -1 0 8 10 12 26 24 16 15 0 -1 11 9 7 6 18 17 25 27 11 -1 12 11 27 26 12 -1'>
 24                           <Coordinate point='0.0 0.0 0.0 -2.6 0.0 0.0 -3.4 -0.6 0.0 -6.8 -0.6 0.0 -7.6 0.0 0.0 -9.8 -0.4 0.0 -10.4 -0.8 0.0 -9.4 -1.6 0.0 -0.4 -1.6 0.0 -9.4 -1.6 -0.8 -0.4 -1.6 -0.8 -8.4 -2.7 -0.8 -0.8 -2.7 -0.8 -2.6 0.0 -1.0 -7.6 0.0 -1.0 0.0 0.0 -5.0 -0.4 -1.6 -5.0 -9.4 -1.6 -5.0 -10.4 -0.8 -5.0 -9.8 -0.4 -5.0 -7.6 0.0 -5.0 -6.8 -0.6 -5.0 -3.4 -0.6 -5.0 -2.6 0.0 -5.0 -0.4 -1.6 -4.2 -9.4 -1.6 -4.2 -0.8 -2.7 -4.2 -8.4 -2.7 -4.2 -7.6 0.0 -4.0 -2.6 0.0 -4.0'/>
 25                           <TextureCoordinate point='1.00 0.32 0.76 0.32 0.68 0.24 0.40 0.24 0.32 0.32 0.08 0.28 0.00 0.20 0.12 0.00 0.92 0.00 0.12 0.08 0.92 0.08 0.12 0.16 0.92 0.16 0.68 0.32 0.40 0.32 1.00 0.68 0.92 1.00 0.12 1.00 0.00 0.80 0.08 0.72 0.32 0.68 0.40 0.76 0.68 0.76 0.76 0.68 0.92 0.92 0.12 0.92 0.92 0.84 0.12 0.84 0.40 0.68 0.68 0.68'/>
 26                      </IndexedFaceSet>
 27                 </Shape>
 28 
               <!-- Group ChineFlap is a DEF node that has 1 USE node: USE_1 -->
               <Group DEF='ChineFlap'>
 29                      <Shape>
 30                           <Extrusion ccw='falsecrossSection='4.5 0.5 -4.5 0.5 -3.5 -0.5 4.1 -0.5 4.5 0.5spine='-4.9 -2.0 0.04 -4.9 -2.0 -0.01'/>
 31                           <Appearance>
 32                                <ImageTexture   url=' "cammie1a.jpg " "https://www.web3d.org/x3d/content/examples/Savage/AmphibiousVehicles/AAAV/cammie1a.jpg " '/>
 33                           </Appearance>
 34                      </Shape>
 35                      <Transform translation='-8.0 -1.55 0.035'>
 36                           <Shape>
 37                                <Box size='0.1 0.1 0.1'/>
 38                                <Appearance>
 39                                     <Material diffuseColor='0.2 0.2 0.2'/>
 40                                </Appearance>
 41                           </Shape>
 42                      </Transform>
 43                      <Transform translation='-6.95 -1.55 0.035'>
 44                           <Shape>
 45                                <Box size='0.1 0.1 0.1'/>
 46                                <Appearance>
 47                                     <Material diffuseColor='0.2 0.2 0.2'/>
 48                                </Appearance>
 49                           </Shape>
 50                      </Transform>
 51                      <Transform translation='-5.7 -1.55 0.035'>
 52                           <Shape>
 53                                <Box size='0.1 0.1 0.1'/>
 54                                <Appearance>
 55                                     <Material diffuseColor='0.2 0.2 0.2'/>
 56                                </Appearance>
 57                           </Shape>
 58                      </Transform>
 59                      <Transform translation='-4.5 -1.55 0.035'>
 60                           <Shape>
 61                                <Box size='0.1 0.1 0.1'/>
 62                                <Appearance>
 63                                     <Material diffuseColor='0.2 0.2 0.2'/>
 64                                </Appearance>
 65                           </Shape>
 66                      </Transform>
 67                      <Transform translation='-3.4 -1.55 0.035'>
 68                           <Shape>
 69                                <Box size='0.1 0.1 0.1'/>
 70                                <Appearance>
 71                                     <Material diffuseColor='0.2 0.2 0.2'/>
 72                                </Appearance>
 73                           </Shape>
 74                      </Transform>
 75                      <Transform translation='-2.3 -1.55 0.035'>
 76                           <Shape>
 77                                <Box size='0.1 0.1 0.1'/>
 78                                <Appearance>
 79                                     <Material diffuseColor='0.2 0.2 0.2'/>
 80                                </Appearance>
 81                           </Shape>
 82                      </Transform>
 83                      <Transform translation='-1.3 -1.55 0.035'>
 84                           <Shape>
 85                                <Box size='0.1 0.1 0.1'/>
 86                                <Appearance>
 87                                     <Material diffuseColor='0.2 0.2 0.2'/>
 88                                </Appearance>
 89                           </Shape>
 90                      </Transform>
 91                 </Group>
 92                 <Transform translation='0 0 -5'>
 93                      <Group USE='ChineFlap'/>
 94                 </Transform>
 95                 <Transform translation='-8.2 -0.1 -1.0'>
 96 
                    <!-- Group CrewHatch is a DEF node that has 1 USE node: USE_1 -->
                    <Group DEF='CrewHatch'>
 97                           <Shape>
 98                                <Extrusion ccw='falsecrossSection='0.30 0.35 0.20 0.45 -0.20 0.45 -0.45 0.20 -0.45 -0.20 -0.20 -0.45 0.20 -0.45 0.30 -0.35 0.30 0.35spine='0 -0.2 0 0 0.08 0'/>
 99                                <Appearance>
100 
                                   <!-- ImageTexture cammie2 is a DEF node that has 4 USE nodes: USE_1, USE_2, USE_3, USE_4 -->
                                   <ImageTexture DEF='cammie2'   url=' "cammie2.jpg " "https://www.web3d.org/x3d/content/examples/Savage/AmphibiousVehicles/AAAV/cammie2.jpg " '/>
101                                </Appearance>
102                           </Shape>
103                           <Transform translation='0.40 0.05 0.00'>
104                                <Shape>
105                                     <Box size='0.2 0.1 0.7'/>
106                                     <Appearance>
107                                          <ImageTexture USE='cammie2'/>
108                                     </Appearance>
109                                </Shape>
110                           </Transform>
111                           <Transform rotation='0 1 0 0.785translation='-0.325 0 -0.325'>
112                                <Shape>
113                                     <Box size='0.3 0.06 0.05'/>
114                                     <Appearance>
115                                          <Material ambientIntensity='0.26diffuseColor='0.20 0.08 0.00shininess='0.08specularColor='0.75 0.33 0.00'/>
116                                     </Appearance>
117                                </Shape>
118                           </Transform>
119                           <Transform rotation='0 1 0 -0.785translation='-0.325 0 0.325'>
120                                <Shape>
121                                     <Box size='0.3 0.06 0.05'/>
122                                     <Appearance>
123                                          <Material ambientIntensity='0.26diffuseColor='0.20 0.08 0.00shininess='0.08specularColor='0.75 0.33 0.00'/>
124                                     </Appearance>
125                                </Shape>
126                           </Transform>
127                           <Transform rotation='0 1 0 1.57translation='-0.45 0 0'>
128                                <Shape>
129                                     <Box size='0.3 0.06 0.05'/>
130                                     <Appearance>
131                                          <Material ambientIntensity='0.26diffuseColor='0.20 0.08 0.00shininess='0.08specularColor='0.75 0.33 0.00'/>
132                                     </Appearance>
133                                </Shape>
134                           </Transform>
135                      </Group>
136                 </Transform>
137                 <Transform translation='-8.2 -0.1 -4.0'>
138                      <Group USE='CrewHatch'/>
139                 </Transform>
140                 <Transform translation='-2.4 0 -0.5'>
141 
                    <!-- Group Antenna is a DEF node that has 1 USE node: USE_1 -->
                    <Group DEF='Antenna'>
142                           <Shape>
143                                <Cone bottom='falsebottomRadius='0.2height='0.5'/>
144                                <Appearance>
145                                     <Material diffuseColor='0.1 0.1 0.1'/>
146                                </Appearance>
147                           </Shape>
148                           <Transform translation='0 1.4 0'>
149                                <Shape>
150                                     <Cylinder bottom='falseheight='3radius='0.01'/>
151                                     <Appearance>
152                                          <Material diffuseColor='0.1 0.1 0.1'/>
153                                     </Appearance>
154                                </Shape>
155                           </Transform>
156                      </Group>
157                 </Transform>
158                 <Transform translation='-2.4 0 -4.5'>
159                      <Group USE='Antenna'/>
160                 </Transform>
161                 <Transform translation='-4.0 0.0 -2.5'>
162                      <Shape>
163                           <Box size='3 0.1 1.5'/>
164                           <Appearance>
165                                <ImageTexture   url=' "engine.jpg " "https://www.web3d.org/x3d/content/examples/Savage/AmphibiousVehicles/AAAV/engine.jpg " '/>
166                           </Appearance>
167                      </Shape>
168                 </Transform>
169                 <Transform rotation='1 0 0 -1.57'>
170 
                    <!-- ROUTE information for BowPlane node:  [from BOWCYLINDERSENSOR.rotation_changed to set_rotation ] -->
                    <Transform DEF='BowPlanerotation='0 1 0 -0.805translation='-8.6 2.5 -2.6'>
171                           <Group>
172                                <Shape>
173                                     <Extrusion convex='falsecrossSection='2.4 3.0 -2.4 3.0 -2.4 1.5 -1.4 1.5 -1.4 0.0 1.4 0.0 1.4 1.4 2.4 1.4 2.4 3.0solid='falsespine='0 0 0 0.05 0 0'/>
174                                     <Appearance>
175                                          <ImageTexture USE='cammie2'/>
176                                     </Appearance>
177                                </Shape>
178                                <Transform translation='0 0 3.0'>
179                                     <Shape>
180                                          <Cylinder height='4.8radius='0.05'/>
181                                          <Appearance>
182 
                                             <!-- ImageTexture green1 is a DEF node that has 2 USE nodes: USE_1, USE_2 -->
                                             <ImageTexture DEF='green1'   url=' "green1.jpg " "https://www.web3d.org/x3d/content/examples/Savage/AmphibiousVehicles/AAAV/green1.jpg " '/>
183                                          </Appearance>
184                                     </Shape>
185                                </Transform>
186 
                              <!-- ROUTE information for BowTop node:  [from BOWTOPCYLINDERSENSOR.rotation_changed to set_rotation ] -->
                              <Transform DEF='BowToptranslation='0 0 3.0'>
187                                     <Transform center='-0.75 0 0rotation='0 1 0 0.64translation='0.75 0 0'>
188                                          <Shape>
189                                               <Box size='1.5 4.8 0.05'/>
190                                               <Appearance>
191                                                    <ImageTexture USE='cammie2'/>
192                                               </Appearance>
193                                          </Shape>
194                                     </Transform>
195 
                                   <!-- ROUTE information for BOWTOPCYLINDERSENSOR node:  [from rotation_changed to BowTop.set_rotation ] -->
                                   <CylinderSensor DEF='BOWTOPCYLINDERSENSORdescription='select to rotatemaxAngle='0minAngle='-1.57'/>
196                                </Transform>
197                           </Group>
198 
                         <!-- ROUTE information for BOWCYLINDERSENSOR node:  [from rotation_changed to BowPlane.set_rotation ] -->
                         <CylinderSensor DEF='BOWCYLINDERSENSORdescription='select to rotatemaxAngle='-0.805minAngle='-1.2'/>
199                      </Transform>
200                      <Transform translation='-8.6 2.5 -2.6'>
201                           <Shape>
202                                <Cylinder height='2.8radius='0.1'/>
203                                <Appearance>
204                                     <ImageTexture USE='green1'/>
205                                </Appearance>
206                           </Shape>
207                      </Transform>
208                 </Transform>
209                 <Transform rotation='1 0 0 -1.57'>
210 
                    <!-- ROUTE information for TransomFlap node:  [from TRANSOMCYLINDERSENSOR.rotation_changed to set_rotation ] -->
                    <Transform DEF='TransomFlaprotation='0 1 0 0.3translation='-0.7 2.5 -2.6'>
211                           <Group>
212                                <Shape>
213                                     <Extrusion convex='falsecrossSection='1.5 2.5 -1.5 2.5 -1.5 0.0 1.5 0.0 1.5 2.5solid='falsespine='0 0 0 0.05 0 0'/>
214                                     <Appearance>
215                                          <ImageTexture USE='cammie2'/>
216                                     </Appearance>
217                                </Shape>
218                           </Group>
219 
                         <!-- ROUTE information for TRANSOMCYLINDERSENSOR node:  [from rotation_changed to TransomFlap.set_rotation ] -->
                         <CylinderSensor DEF='TRANSOMCYLINDERSENSORdescription='select to rotatemaxAngle='1.7minAngle='0.3'/>
220                      </Transform>
221                      <Transform translation='-0.7 2.5 -2.6'>
222                           <Shape>
223                                <Cylinder height='2.8radius='0.1'/>
224                                <Appearance>
225                                     <ImageTexture USE='green1'/>
226                                </Appearance>
227                           </Shape>
228                      </Transform>
229                 </Transform>
230            </Transform>
231            < ROUTE  fromNode='BOWCYLINDERSENSOR' fromField='rotation_changed' toNode='BowPlane' toField='set_rotation'/>
232            < ROUTE  fromNode='BOWTOPCYLINDERSENSOR' fromField='rotation_changed' toNode='BowTop' toField='set_rotation'/>
233            < ROUTE  fromNode='TRANSOMCYLINDERSENSOR' fromField='rotation_changed' toNode='TransomFlap' toField='set_rotation'/>
234       </Scene>
235  </X3D>
<!--

<!--
Event Graph ROUTE Table shows event connections.
-->
<!-- to top DEF nodes index: Antenna, Body, BOWCYLINDERSENSOR, BowPlane, BowTop, BOWTOPCYLINDERSENSOR, cammie2, ChineFlap, CrewHatch, green1, TRANSOMCYLINDERSENSOR, TransomFlap
-->
X3D Tooltips element index: Appearance, Background, Box, Cone, Coordinate, Cylinder, CylinderSensor, Extrusion, Group, head, ImageTexture, IndexedFaceSet, Material, meta, NavigationInfo, ROUTE, Scene, Shape, TextureCoordinate, Transform, WorldInfo, X3D, plus documentation for accessType definitions, type definitions, XML data types, and field types

Event Graph ROUTE Table entries with 3 ROUTE connections total, showing X3D event-model relationships for this scene.

Each row shows an event cascade that may occur during a single timestamp interval between frame renderings, as part of the X3D execution model.

BOWCYLINDERSENSOR
CylinderSensor
rotation_changed
SFRotation

ROUTE
event to
(1)
BowPlane
Transform
set_rotation
SFRotation

BOWTOPCYLINDERSENSOR
CylinderSensor
rotation_changed
SFRotation

ROUTE
event to
(1)
BowTop
Transform
set_rotation
SFRotation

TRANSOMCYLINDERSENSOR
CylinderSensor
rotation_changed
SFRotation

ROUTE
event to
(1)
TransomFlap
Transform
set_rotation
SFRotation

Additional guidance on X3D animation can be found in the 10-Step Animation Design Process and Event Tracing hint sheets. Have fun with X3D! 😀

-->
<!-- Online at
https://www.web3d.org/x3d/content/examples/Savage/AmphibiousVehicles/AAAV/BodyIndex.html -->
<!-- Version control at
https://sourceforge.net/p/x3d/code/HEAD/tree/www.web3d.org/x3d/content/examples/Savage/AmphibiousVehicles/AAAV/Body.x3d -->

<!-- Color-coding legend: X3D terminology <X3dNode  DEF='idNamefield='value'/> matches XML terminology <XmlElement  DEF='idNameattribute='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. -->