X3D Model Documentation: PredatorPrototype.x3d

  1  <?xml version="1.0" encoding="UTF-8"?>
  2  <!DOCTYPE X3D PUBLIC "ISO//Web3D//DTD X3D 3.1//EN" "https://www.web3d.org/specifications/x3d-3.1.dtd">
  3  <X3D profile='Immersive' version='3.1 xmlns:xsd='http://www.w3.org/2001/XMLSchema-instance' xsd:noNamespaceSchemaLocation='https://www.web3d.org/specifications/x3d-3.1.xsd'>
  4       <head>
  5            <meta name='titlecontent=' PredatorPrototype.x3d '/>
  6            <meta name='descriptioncontent='RQ-1A Predator Unmanned Aerial Vehicle armed with 4 AGM-114 Hellfire missiles'/>
  7            <meta name='creatorcontent='Duane Davis'/>
  8            <meta name='createdcontent='27 August 2004'/>
  9            <meta name='modifiedcontent='20 October 2019'/>
 10            <meta name='referencecontent=' https://www.fas.org/irp/program/collect/predator.htm '/>
 11            <meta name='referencecontent='http://www.modelairplanenews.com/click_trips/dec03/uav_1.asp'/>
 12            <meta name='subjectcontent='predator, unmanned aerial vehicle'/>
 13            <meta name='identifiercontent=' https://www.web3d.org/x3d/content/examples/Savage/Robots/UnmannedAirVehicles/PredatorPrototype.x3d '/>
 14            <meta name='generatorcontent='X3D-Edit 3.2, https://www.web3d.org/x3d/tools/X3D-Edit'/>
 15            <meta name='licensecontent='../../license.html'/>
 16       </head>
<!--

<!--
Event Graph ROUTE Table shows event connections.
-->
<!-- to top DEF nodes index: Antenna1, Antenna2, Antenna3, Blue, BombRack, DarkGray, FLIRDOF, FLIRTurret, Fusilage, Hellfire, HellfireFin, HellfireGreen, PortBombRack1, PortBombRack2, PortMissile1DOF, PortMissile2DOF, PortStabDOF, PredatorTransform, PropArcGray, Propeller, RideAlongViewpoints, SlateGray, Stabilator, StarboardBombRack2, StarboardMissile2DOF, StbdBombRack1, StbdMissile1DOF, StbdStabDOF, VertStabDOF, White, Wing

Index for Viewpoint nodes: Viewpoint_1, Viewpoint_2, Viewpoint_3, Viewpoint_4, Viewpoint_5, Viewpoint_6, Viewpoint_7, Viewpoint_8, Viewpoint_9, Viewpoint_10, Viewpoint_11, Viewpoint_12, Viewpoint_13, Viewpoint_14

Index for ProtoDeclare definition: Predator
-->
 17       <Scene>
 18            <WorldInfo title='PredatorPrototype.x3d'/>
 19            <ProtoDeclare name='Predatorappinfo='Predator unmanned air vehicle (UAV)'>
 20                 <ProtoInterface>
 21                      <field name='translationtype='SFVec3fvalue='0 0 0accessType='inputOutput'
                     appinfo='default value 0 0 0'/>
 22                      <field name='rotationtype='SFRotationvalue='0 0 1 0accessType='inputOutput'
                     appinfo='default value 0 0 1 0'/>
 23                 </ProtoInterface>
 24                 <ProtoBody>
 25                      <Transform DEF='PredatorTransform'>
 26                           <IS>
 27                                <connect nodeField='translationprotoField='translation'/>
 28                                <connect nodeField='rotationprotoField='rotation'/>
 29                           </IS>
 30                           <Transform rotation='1 0 0 1.571'>
 31                                <Group>
 32                                     <Transform rotation='1 0 0 -1.571'>
 33                                          <Shape DEF='Fusilage'>
 34 
                                             <!-- Appearance SlateGray is a DEF node that has 5 USE nodes: USE_1, USE_2, USE_3, USE_4, USE_5 -->
                                             <Appearance DEF='SlateGray'>
 35                                                    <Material diffuseColor='0.7 0.7 0.7shininess='0specularColor='0.1 0.1 0.1'/>
 36                                               </Appearance>
 37                                               <Extrusion creaseAngle='1.57crossSection='-0.25 0 -0.2 0.25 -0.17 0.3 -0.1 0.4 0 0.5 0.1 0.4 0.3 0.3 0.4 0.2 0.48 0.1 0.5 0 0.48 -0.1 0.4 -0.2 0.3 -0.3 0.1 -0.4 0 -0.5 -0.1 -0.4 -0.17 -0.3 -0.2 -0.25 -0.25 0scale='0.001 0.001 0.5 0.5 0.85 0.85 1.1 1.05 1.25 1.125 1.35 1.175 1.425 1.225 1.5 1.25 1.5 1.25 1.5 1.25 1.5 1.25 1.5 1.25 1.45 1.225 1.4 1.2 1.35 1.175 1.3 1.15 1.25 1.125 1.2 1.1 1.15 1.075 1.1 1.05 1.05 1.025 1 1 1 1 0.3 0.2spine='4.1 0 0 3.95 0 0 3.8 0 0 3.65 0 0 3.5 0 0 3.35 0 0 3.2 0 0 3.05 0 0 2.9 0 0 2.75 0 0 2.6 0 0 2.45 0 0 2.3 0 0 2.15 0 0 2.0 0 0 1.85 0 0 1.7 0 0 1.55 0 0 1.4 0 0 1.25 0 0 1.1 0 0 1.0 0 0 -3.0 0 0 -4.1 0 0'/>
 38                                          </Shape>
 39                                          <Transform translation='1.5 -0.15 0'>
 40                                               <Shape DEF='Wing'>
 41                                                    <Appearance USE='SlateGray'/>
 42                                                    <Extrusion creaseAngle='3.14crossSection='0.25 0 0.2 -0.05 0.15 -0.075 0.05 -0.093 0 -0.1 -0.25 -0.08 -0.75 0.05 0 0.05 0.15 0.05 0.2 0.03 0.25 0scale='0.5 0.5 1.25 1.25 0.5 0.5spine='0 0 -7.39 0 0 0 0 0 7.39'/>
 43                                               </Shape>
 44                                               <Transform DEF='StbdBombRack1rotation='0 1 0 3.1415927translation='-0.25 0 1.25'>
 45 
                                                  <!-- Shape BombRack is a DEF node that has 3 USE nodes: USE_1, USE_2, USE_3 -->
                                                  <Shape DEF='BombRack'>
 46                                                         <Appearance USE='SlateGray'/>
 47                                                         <Extrusion crossSection='0.25 0 0.225 -0.01 0.2 -0.0175 0.175 -0.0225 0.125 -0.025 0 -0.025 -0.25 0 0 0.025 0.125 0.025 0.175 0.0225 0.2 0.0175 0.225 0.01 0.25 0spine='0 0 0 0 -0.15 0'/>
 48                                                    </Shape>
 49                                                    <Transform DEF='StbdMissile1DOFrotation='0 0 1 1.571translation='0 -0.194275 0'>
 50 
                                                       <!-- Group Hellfire is a DEF node that has 3 USE nodes: USE_1, USE_2, USE_3 -->
                                                       <Group DEF='Hellfire'>
 51                                                              <Shape>
 52 
                                                                 <!-- Appearance HellfireGreen is a DEF node that has 1 USE node: USE_1 -->
                                                                 <Appearance DEF='HellfireGreen'>
 53                                                                        <Material diffuseColor='0.1 0.3 0.1'/>
 54                                                                   </Appearance>
 55                                                                   <Cylinder height='1.6192radius='0.08855'/>
 56                                                              </Shape>
 57                                                              <Transform translation='0 0.7 0'>
 58                                                                   <Shape>
 59                                                                        <Appearance>
 60                                                                             <Material diffuseColor='0.65 0.65 0'/>
 61                                                                        </Appearance>
 62                                                                        <Cylinder height='0.025radius='0.08856'/>
 63                                                                   </Shape>
 64                                                              </Transform>
 65                                                              <Transform translation='0 0.8096 0'>
 66                                                                   <Shape>
 67                                                                        <Appearance USE='HellfireGreen'/>
 68                                                                        <Sphere radius='0.08855'/>
 69                                                                   </Shape>
 70                                                              </Transform>
 71                                                              <Transform rotation='0 1 0 0.7854translation='0 -0.8096 0'>
 72 
                                                                 <!-- Shape HellfireFin is a DEF node that has 3 USE nodes: USE_1, USE_2, USE_3 -->
                                                                 <Shape DEF='HellfireFin'>
 73                                                                        <Appearance>
 74                                                                             <Material diffuseColor='0.1 0.2 0.1'/>
 75                                                                        </Appearance>
 76                                                                        <IndexedFaceSet solid='falsecoordIndex='0 1 2 3 -1 4 5 6 7 -1'>
 77                                                                             <Coordinate point='0 0 0 0 0.4 0 0 0.325 0.175 0 0 0.175 0 1.15 0 0 1.3 0 0 1.2 0.125 0 1.15 0.125'/>
 78                                                                        </IndexedFaceSet>
 79                                                                   </Shape>
 80                                                              </Transform>
 81                                                              <Transform rotation='0 1 0 -0.7854translation='0 -0.8096 0'>
 82                                                                   <Shape USE='HellfireFin'/>
 83                                                              </Transform>
 84                                                              <Transform rotation='0 1 0 2.3562translation='0 -0.8096 0'>
 85                                                                   <Shape USE='HellfireFin'/>
 86                                                              </Transform>
 87                                                              <Transform rotation='0 1 0 -2.3562translation='0 -0.8096 0'>
 88                                                                   <Shape USE='HellfireFin'/>
 89                                                              </Transform>
 90                                                         </Group>
 91                                                    </Transform>
 92                                               </Transform>
 93                                               <Transform DEF='StarboardBombRack2rotation='0 1 0 3.1415927translation='-0.25 0 1.75'>
 94                                                    <Shape USE='BombRack'/>
 95                                                    <Transform DEF='StarboardMissile2DOFrotation='0 0 1 1.571translation='0 -0.194725 0'>
 96                                                         <Group USE='Hellfire'/>
 97                                                    </Transform>
 98                                               </Transform>
 99                                               <Transform DEF='PortBombRack1rotation='0 1 0 3.1415927translation='-0.25 0 -1.25'>
100                                                    <Shape USE='BombRack'/>
101                                                    <Transform DEF='PortMissile1DOFrotation='0 0 1 1.571translation='0 -0.194725 0'>
102                                                         <Group USE='Hellfire'/>
103                                                    </Transform>
104                                               </Transform>
105                                               <Transform DEF='PortBombRack2rotation='0 1 0 3.1415927translation='-0.25 0 -1.75'>
106                                                    <Shape USE='BombRack'/>
107                                                    <Transform DEF='PortMissile2DOFrotation='0 0 1 1.571translation='0 -0.194725 0'>
108                                                         <Group USE='Hellfire'/>
109                                                    </Transform>
110                                               </Transform>
111                                          </Transform>
112                                          <Transform rotation='0 0 1 1.571translation='-4.1 0.035 0'>
113                                               <Shape DEF='Propeller'>
114                                                    <Appearance DEF='PropArcGray'>
115                                                         <Material diffuseColor='0.4 0.4 0.4specularColor='0.3 0.3 0.3transparency='0.75'/>
116                                                    </Appearance>
117                                                    <Cylinder height='0.025radius='0.75'/>
118                                               </Shape>
119                                               <Transform translation='0 0.1 0'>
120                                                    <Shape>
121                                                         <Appearance USE='SlateGray'/>
122                                                         <Cone bottomRadius='0.095height='0.2'/>
123                                                    </Shape>
124                                               </Transform>
125                                          </Transform>
126                                          <Transform rotation='1 0 0 2.095translation='-3.5 0 0'>
127                                               <Transform DEF='StbdStabDOF'>
128 
                                                  <!-- Shape Stabilator is a DEF node that has 2 USE nodes: USE_1, USE_2 -->
                                                  <Shape DEF='Stabilator'>
129                                                         <Appearance USE='SlateGray'/>
130                                                         <Extrusion creaseAngle='1.5crossSection='0.25 0 0.225 -0.01 0.2 -0.0175 0.175 -0.0225 0.125 -0.025 0 -0.025 -0.25 0 0 0.025 0.125 0.025 0.175 0.0225 0.2 0.0175 0.225 0.01 0.25 0spine='0 0 0 0 2.25 0'/>
131                                                    </Shape>
132                                               </Transform>
133                                          </Transform>
134                                          <Transform rotation='1 0 0 -2.095translation='-3.5 0 0'>
135                                               <Transform DEF='PortStabDOF'>
136                                                    <Shape USE='Stabilator'/>
137                                               </Transform>
138                                          </Transform>
139                                          <Transform rotation='1 0 0 3.1415927scale='1 0.375 1translation='-3.5 0 0'>
140                                               <Transform DEF='VertStabDOF'>
141                                                    <Shape USE='Stabilator'/>
142                                               </Transform>
143                                          </Transform>
144                                          <Transform DEF='FLIRTurrettranslation='3.0 -0.25 0'>
145                                               <Shape>
146 
                                                  <!-- Appearance DarkGray is a DEF node that has 1 USE node: USE_1 -->
                                                  <Appearance DEF='DarkGray'>
147                                                         <Material diffuseColor='0.3 0.3 0.3'/>
148                                                    </Appearance>
149                                                    <Cylinder height='0.35radius='0.2'/>
150                                               </Shape>
151                                               <Transform translation='0 -0.175 0'>
152                                                    <Transform DEF='FLIRDOFrotation='0 0 1 -0.5'>
153                                                         <Shape>
154                                                              <Appearance USE='DarkGray'/>
155                                                              <Sphere radius='0.2'/>
156                                                         </Shape>
157                                                         <Transform rotation='0 0 1 1.571translation='0.1 0 0'>
158                                                              <Shape>
159                                                                   <Appearance USE='SlateGray'/>
160                                                                   <Cylinder height='0.2radius='0.05'/>
161                                                              </Shape>
162                                                         </Transform>
163                                                    </Transform>
164                                               </Transform>
165                                          </Transform>
166                                          <Transform DEF='Antenna1rotation='1 0 0 3.1415927scale='4 1 1translation='1.5 -0.25 0'>
167                                               <Shape>
168 
                                                  <!-- Appearance White is a DEF node that has 2 USE nodes: USE_1, USE_2 -->
                                                  <Appearance DEF='White'>
169                                                         <Material diffuseColor='0.9 0.9 0.9'/>
170                                                    </Appearance>
171                                                    <Cylinder height='0.4radius='0.025'/>
172                                               </Shape>
173                                               <Transform translation='0 0.225 0'>
174                                                    <Shape>
175                                                         <Appearance USE='White'/>
176                                                         <Sphere radius='0.05'/>
177                                                    </Shape>
178                                               </Transform>
179                                          </Transform>
180                                          <Transform DEF='Antenna2translation='0.9 0.5 0'>
181                                               <Shape>
182                                                    <Appearance DEF='Blue'>
183                                                         <Material diffuseColor='0 0 0.6'/>
184                                                    </Appearance>
185                                                    <Extrusion crossSection='0.05 0 0.045 -0.002 0.04 -0.0035 0.035 -0.0045 0.025 -0.005 0 -0.005 -0.05 0 0 0.005 0.025 0.005 0.035 0.0045 0.04 0.0035 0.045 0.002 0.05 0scale='1.5 1.5 1 1spine='0 0 0 0 0.2 0'/>
186                                               </Shape>
187                                          </Transform>
188                                          <Transform DEF='Antenna3rotation='0 0 1 1.571translation='4.1 0.1 0'>
189                                               <Shape>
190                                                    <Appearance USE='White'/>
191                                                    <Cylinder height='0.75radius='0.01'/>
192                                               </Shape>
193                                          </Transform>
194                                          <Group DEF='RideAlongViewpoints'>
195                                               <Transform rotation='0 1 0 -1.571translation='-10 6 0'>
196                                                    <Viewpoint description='Predator Over the Shoulderorientation='1 0 0 -0.15'/>
197                                               </Transform>
198                                               <Transform rotation='0 1 0 -1.571translation='-10 -6 0'>
199                                                    <Viewpoint description='Predator Forward View from Beloworientation='1 0 0 0.15'/>
200                                               </Transform>
201                                               <Transform rotation='1 0 0 -1.571translation='0 15 0'>
202                                                    <Viewpoint description='Predator Top Vieworientation='0 0 1 -1.571'/>
203                                               </Transform>
204                                               <Transform rotation='1 0 0 1.571translation='0 -15 0'>
205                                                    <Viewpoint description='Predator Bottom Vieworientation='0 0 1 -1.571'/>
206                                               </Transform>
207                                               <Transform translation='0 1 3'>
208                                                    <Viewpoint description='Predator Starboard Side, 3m'/>
209                                               </Transform>
210                                               <Transform translation='0 0 15'>
211                                                    <Viewpoint description='Predator Starboard Side, 15m'/>
212                                               </Transform>
213                                               <Transform rotation='0 1 0 0.7854translation='5 0 5'>
214                                                    <Viewpoint description='Predator Starboard Bow, 7m'/>
215                                               </Transform>
216                                               <Transform rotation='0 1 0 -0.7854translation='-5 1 5'>
217                                                    <Viewpoint description='Predator Starboard Stern, 7m'/>
218                                               </Transform>
219                                               <Transform rotation='0 1 0 3.1415927translation='0 1 -3'>
220                                                    <Viewpoint description='Predator Port Side, 3m'/>
221                                               </Transform>
222                                               <Transform rotation='0 1 0 3.1415927translation='0 1 -15'>
223                                                    <Viewpoint description='Predator Port Side, 15m'/>
224                                               </Transform>
225                                               <Transform rotation='0 1 0 2.3562translation='5 0 -5'>
226                                                    <Viewpoint description='Predator Port Bow, 7m'/>
227                                               </Transform>
228                                               <Transform rotation='0 1 0 -2.3562translation='-5 1 -5'>
229                                                    <Viewpoint description='Predator Starboard Stern, 7m'/>
230                                               </Transform>
231                                               <Transform rotation='0 1 0 1.571translation='10 0 0'>
232                                                    <Viewpoint description='Predator Bow On'/>
233                                               </Transform>
234                                          </Group>
235                                     </Transform>
236                                </Group>
237                           </Transform>
238                      </Transform>
239                 </ProtoBody>
240            </ProtoDeclare>
241            <!-- ========== -->
242            <Viewpoint description='Predator Prototype'/>
243            <Group>
244                 <ProtoInstance name='Predator'>
245                      <fieldValue name='translationvalue='0 0.4 0'/>
246                 </ProtoInstance>
247            </Group>
248            <!-- Viewable geometry is anchored text that links to an example that showing the usage of AriesPrototype -->
249            <Anchor description='Predator example: AriesOffPanamaCity.x3d'   url=' "../../AuvWorkbench/OperatingAreas/AriesOffPanamaCity.x3d" "https://www.web3d.org/x3d/content/examples/Savage/AuvWorkbench/OperatingAreas/AriesOffPanamaCity.x3d" "../../AuvWorkbench/OperatingAreas/AriesOffPanamaCity.wrl" "https://www.web3d.org/x3d/content/examples/Savage/AuvWorkbench/OperatingAreas/AriesOffPanamaCity.wrl" '>
250                 <Shape>
251                      <Appearance>
252                           <Material diffuseColor='0 1 1emissiveColor='0 1 1'/>
253                      </Appearance>
254                      <Text string='"PredatorPrototype" "is a prototype definition file" "" "click on text to view" "Predator example"'>
255                           <FontStyle justify='"MIDDLE" "MIDDLE"'/>
256                      </Text>
257                 </Shape>
258            </Anchor>
259       </Scene>
260  </X3D>
<!--

<!--
Event Graph ROUTE Table shows event connections.
-->
<!-- to top DEF nodes index: Antenna1, Antenna2, Antenna3, Blue, BombRack, DarkGray, FLIRDOF, FLIRTurret, Fusilage, Hellfire, HellfireFin, HellfireGreen, PortBombRack1, PortBombRack2, PortMissile1DOF, PortMissile2DOF, PortStabDOF, PredatorTransform, PropArcGray, Propeller, RideAlongViewpoints, SlateGray, Stabilator, StarboardBombRack2, StarboardMissile2DOF, StbdBombRack1, StbdMissile1DOF, StbdStabDOF, VertStabDOF, White, Wing

Index for Viewpoint nodes: Viewpoint_1, Viewpoint_2, Viewpoint_3, Viewpoint_4, Viewpoint_5, Viewpoint_6, Viewpoint_7, Viewpoint_8, Viewpoint_9, Viewpoint_10, Viewpoint_11, Viewpoint_12, Viewpoint_13, Viewpoint_14

Index for ProtoDeclare definition: Predator
-->
X3D Tooltips element index: Anchor, Appearance, Cone, connect, Coordinate, Cylinder, Extrusion, field, fieldValue, FontStyle, Group, head, IndexedFaceSet, IS, Material, meta, ProtoBody, ProtoDeclare, ProtoInstance, ProtoInterface, Scene, Shape, Sphere, Text, Transform, Viewpoint, WorldInfo, X3D, plus documentation for accessType definitions, type definitions, XML data types, and field types

Event Graph ROUTE Table with 0 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.

line 244
ProtoInstance
Predator
No direct ROUTE connection found for events to/from this node.
This ProtoInstance contains SFNode/MFNode fieldValue declarations with
direct access to other nodes, and thus has potential to produce run-time animation. 

line 249
Anchor
description='Predator example: AriesOffPanamaCity.x3d' 
User-interaction hint for this node. 

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/Robots/UnmannedAirVehicles/PredatorPrototypeIndex.html -->
<!-- Version control at
https://sourceforge.net/p/x3d/code/HEAD/tree/www.web3d.org/x3d/content/examples/Savage/Robots/UnmannedAirVehicles/PredatorPrototype.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)
    <ProtoInstance name='ProtoName'> <field name='fieldName'/> </ProtoInstance> -->

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