X3D Model Documentation: RapierLauncherSystem.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=' RapierLauncherSystem.x3d '/>
  6            <meta name='creatorcontent='Oliver Tan'/>
  7            <meta name='createdcontent='28 January 2004'/>
  8            <meta name='modifiedcontent='28 November 2019'/>
  9            <meta name='descriptioncontent='Rapier Launcher System.'/>
 10            <meta name='identifiercontent=' https://www.web3d.org/x3d/content/examples/Savage/Weapons/Missiles/RapierLauncherSystem.x3d '/>
 11            <meta name='generatorcontent='X3D-Edit 3.2, https://www.web3d.org/x3d/tools/X3D-Edit'/>
 12            <meta name='referencecontent=' http://www.army-technology.com/projects/jernas/jernas1.html '/>
 13            <meta name='subjectcontent='Rapier, Rapier missile, missile, missile launcher, launcher'/>
 14            <meta name='licensecontent='../../license.html'/>
 15       </head>
<!--

<!--
Event Graph ROUTE Table shows event connections.
-->
<!-- to top DEF nodes index: BigArm, Launcher, LauncherArms, LauncherBody, LauncherCap, LauncherRotation, LauncherSkin, LauncherTexture, LauncherTop, Radar, RadarArm1, RadarDish, RadarRotation, RadarSpoke, RadarSpokePair, SmallArm

Index for Viewpoint node: Viewpoint_1

Index for ExternProtoDeclare definition: RapierMissileSystem
-->
 16       <Scene>
 17            <!-- This NavigationInfo node is added to many scenes, making examination of objects easier. -->
 18            <WorldInfo title='RapierLauncherSystem.x3d'/>
 19            <Viewpoint description='Rapier Launcherorientation='-0.343 0.935 0.095 0.6232position='1.3 0.7 2.7'/>
 20            <Background groundAngle='0.1 1.309 1.570796groundColor='0 0 0 0 0.1 0.3 0 0.2 0.5 0 0.3 0.8skyAngle='0.1 0.15 1.309 1.571skyColor='0.4 0.4 0.1 0.4 0.4 0.1 0 0.1 0.3 0 0.2 0.6 0.8 0.8 0.8'/>
 21            <ExternProtoDeclare name='RapierMissileSystem'   url=' "RapierMissileSystemPrototype.wrl#RapierMissileSystem" "RapierMissileSystemPrototype.x3d#RapierMissileSystem" '>
 22                 <field name='materialtype='SFNodeaccessType='initializeOnly'/>
 23                 <field name='imageTexturetype='SFNodeaccessType='initializeOnly'/>
 24            </ExternProtoDeclare>
 25 
          <!-- ROUTE information for Launcher node:  [from LauncherRotation.rotation_changed to rotation ] -->
          <Transform DEF='Launcher'>
 26                 <!-- This is only a representational model. It is not created to scale. -->
 27                 <Shape DEF='LauncherBody'>
 28                      <Cylinder radius='0.6'/>
 29 
                    <!-- Appearance LauncherSkin is a DEF node that has 19 USE nodes: USE_1, USE_2, USE_3, USE_4, USE_5, USE_6, USE_7, USE_8, USE_9, USE_10, USE_11, USE_12, USE_13, USE_14, USE_15, USE_16, USE_17, USE_18, USE_19 -->
                    <Appearance DEF='LauncherSkin'>
 30                           <Material diffuseColor='.3 .6 .9'/>
 31 
                         <!-- ImageTexture LauncherTexture is a DEF node that has 2 USE nodes: USE_1, USE_2 -->
                         <ImageTexture DEF='LauncherTexture'   url=' "cammie1.jpg " "https://www.web3d.org/x3d/content/examples/Savage/AircraftFixedWing/AV8bHarrierUnitedStates/cammie1.jpg " '/>
 32                      </Appearance>
 33                 </Shape>
 34 
               <!-- ROUTE information for LauncherRotation node:  [from rotation_changed to Launcher.rotation ] -->
               <CylinderSensor DEF='LauncherRotationdescription='Rotates the entire missile launcher system.maxAngle='1.3minAngle='-1.3'/>
 35                 <Transform DEF='LauncherTopscale='1 0.2 1translation='0 1 0'>
 36                      <Shape>
 37                           <Sphere radius='0.6'/>
 38                           <Appearance USE='LauncherSkin'/>
 39                      </Shape>
 40                 </Transform>
 41                 <Transform DEF='LauncherCaptranslation='0 1 0'>
 42                      <Shape>
 43                           <Cylinder height='0.35radius='0.2'/>
 44                           <Appearance USE='LauncherSkin'/>
 45                      </Shape>
 46                 </Transform>
 47                 <Transform DEF='LauncherArmstranslation='0 0.1 0'>
 48                      <Transform translation='0.55 0 0'>
 49 
                         <!-- Transform SmallArm is a DEF node that has 1 USE node: USE_1 -->
                         <Transform DEF='SmallArm'>
 50                                <Shape>
 51                                     <Box size='0.2 0.3 0.9'/>
 52                                     <Appearance USE='LauncherSkin'/>
 53                                </Shape>
 54                                <Transform rotation='1 0 0 1.571translation='0.1 0.1 0'>
 55                                     <Shape>
 56                                          <Cylinder height='1.2radius='0.02'/>
 57                                          <Appearance USE='LauncherSkin'/>
 58                                     </Shape>
 59                                </Transform>
 60                           </Transform>
 61                      </Transform>
 62                      <Transform rotation='0 1 0 3.142translation='-0.55 0 0'>
 63                           <Transform>
 64                                <Transform USE='SmallArm'/>
 65                           </Transform>
 66                      </Transform>
 67                      <Transform translation='0 0.05 0.65'>
 68 
                         <!-- Shape BigArm is a DEF node that has 1 USE node: USE_1 -->
                         <Shape DEF='BigArm'>
 69                                <Box size='1.3 0.4 0.4'/>
 70                                <Appearance USE='LauncherSkin'/>
 71                           </Shape>
 72                           <Transform>
 73                                <Transform rotation='0 0 1 1.571translation='0 0.1 0.4'>
 74                                     <Transform>
 75 
                                        <!-- ROUTE information for RadarRotation node:  [from rotation_changed to Radar.rotation ] -->
                                        <CylinderSensor DEF='RadarRotationdescription='Rotates the radar dish.maxAngle='0.9'/>
 76 
                                        <!-- ROUTE information for Radar node:  [from RadarRotation.rotation_changed to rotation ] -->
                                        <Transform DEF='Radarcenter='0 0 -0.1'>
 77                                               <Transform rotation='1 0 0 1.571scale='0.5 0.5 0.5'>
 78                                                    <Transform translation='0 1 0'>
 79                                                         <Group>
 80                                                              <Shape>
 81                                                                   <Cylinder height='0.15radius='0.2'/>
 82                                                                   <Appearance USE='LauncherSkin'/>
 83                                                              </Shape>
 84                                                              <Transform translation='0 -0.1 0'>
 85                                                                   <Shape>
 86                                                                        <Cylinder height='0.2radius='0.1'/>
 87                                                                        <Appearance USE='LauncherSkin'/>
 88                                                                   </Shape>
 89                                                              </Transform>
 90                                                         </Group>
 91 
                                                       <!-- Transform RadarSpokePair is a DEF node that has 1 USE node: USE_1 -->
                                                       <Transform DEF='RadarSpokePair'>
 92                                                              <Transform center='0 0.707 0rotation='1 0 0 -0.7translation='0 -0.6 0.1'>
 93 
                                                                 <!-- Shape RadarSpoke is a DEF node that has 1 USE node: USE_1 -->
                                                                 <Shape DEF='RadarSpoke'>
 94                                                                        <Cylinder height='1.25radius='0.05'/>
 95                                                                        <Appearance USE='LauncherSkin'/>
 96                                                                   </Shape>
 97                                                              </Transform>
 98                                                              <Transform center='0 0.707 0rotation='1 0 0 0.7translation='0 -0.6 -0.1'>
 99                                                                   <Shape USE='RadarSpoke'/>
100                                                              </Transform>
101                                                         </Transform>
102                                                         <Transform rotation='0 1 0 1.571'>
103                                                              <Transform USE='RadarSpokePair'/>
104                                                         </Transform>
105                                                    </Transform>
106                                                    <Transform>
107                                                         <Shape DEF='RadarDish'>
108                                                              <Appearance USE='LauncherSkin'/>
109                                                              <Extrusion creaseAngle='0.785crossSection='1.00 0.00 0.92 -0.38 0.71 -0.71 0.38 -0.92 0.00 -1.00 -0.38 -0.92 -0.71 -0.71 -0.92 -0.38 -1.00 -0.00 -0.92 0.38 -0.71 0.71 -0.38 0.92 0.00 1.00 0.38 0.92 0.71 0.71 0.92 0.38 1.00 0.00scale='1.0 1.0 0.001 0.001spine='0 0.1 0 0 0 0'/>
110                                                         </Shape>
111                                                    </Transform>
112                                               </Transform>
113                                               <Transform translation='0 0.2 -0.1'>
114                                                    <Transform rotation='1 0 0 1.571translation='0 0 0.05'>
115                                                         <Shape>
116                                                              <Cylinder height='0.125radius='0.025'/>
117                                                              <Appearance USE='LauncherSkin'/>
118                                                         </Shape>
119                                                    </Transform>
120                                               </Transform>
121                                               <Transform translation='0 -0.2 -0.1'>
122                                                    <Transform rotation='1 0 0 1.571translation='0 0 0.05'>
123                                                         <Shape>
124                                                              <Cylinder height='0.125radius='0.025'/>
125                                                              <Appearance USE='LauncherSkin'/>
126                                                         </Shape>
127                                                    </Transform>
128                                               </Transform>
129                                          </Transform>
130                                     </Transform>
131                                </Transform>
132                           </Transform>
133                           <Transform translation='0 0.1 0'>
134                                <Transform translation='-0.35 0 0.15'>
135 
                                   <!-- Transform RadarArm1 is a DEF node that has 1 USE node: USE_1 -->
                                   <Transform DEF='RadarArm1center='0 -0.15 0rotation='1 0 0 0.785'>
136                                          <Shape>
137                                               <Box size='0.1 0.3 0.1'/>
138                                               <Appearance USE='LauncherSkin'/>
139                                          </Shape>
140                                     </Transform>
141                                </Transform>
142                                <Transform translation='0.35 0 0.15'>
143                                     <Transform USE='RadarArm1'/>
144                                </Transform>
145                                <Transform rotation='0 0 1 1.571translation='0 0 0.3'>
146                                     <Shape>
147                                          <Cylinder height='0.8radius='0.03'/>
148                                          <Appearance USE='LauncherSkin'/>
149                                     </Shape>
150                                </Transform>
151                           </Transform>
152                           < ROUTE  fromNode='RadarRotation' fromField='rotation_changed' toNode='Radar' toField='rotation'/>
153                      </Transform>
154                      <Transform translation='0 0.05 -0.65'>
155                           <Shape USE='BigArm'/>
156                           <Transform translation='0.45 0.2 0'>
157                                <Shape>
158                                     <Cylinder height='0.1radius='0.15'/>
159                                     <Appearance USE='LauncherSkin'/>
160                                </Shape>
161                           </Transform>
162                      </Transform>
163                 </Transform>
164                 <Transform translation='0 0.6 0'>
165                      <Shape>
166                           <Cylinder height='0.04radius='0.64'/>
167                           <Appearance USE='LauncherSkin'/>
168                      </Shape>
169                      <Transform scale='0.2 1 1'>
170                           <Shape>
171                                <Appearance USE='LauncherSkin'/>
172                                <Cylinder height='0.039radius='0.66'/>
173                           </Shape>
174                      </Transform>
175                      <Transform rotation='0 1 0 0.7855scale='0.2 1 1'>
176                           <Shape>
177                                <Appearance USE='LauncherSkin'/>
178                                <Cylinder height='0.039radius='0.66'/>
179                           </Shape>
180                      </Transform>
181                      <Transform rotation='0 1 0 1.571scale='0.2 1 1'>
182                           <Shape>
183                                <Appearance USE='LauncherSkin'/>
184                                <Cylinder height='0.039radius='0.66'/>
185                           </Shape>
186                      </Transform>
187                 </Transform>
188                 < ROUTE  fromNode='LauncherRotation' fromField='rotation_changed' toNode='Launcher' toField='rotation'/>
189                 <Transform>
190                      <Transform translation='0.8 0.1 0'>
191                           <Transform scale='1.3 1.3 1.8'>
192                                <ProtoInstance name='RapierMissileSystem'>
193                                     <fieldValue name='material'>
194                                          <Material diffuseColor='.3 .6 .9'/>
195                                     </fieldValue>
196                                     <fieldValue name='imageTexture'>
197                                          <ImageTexture USE='LauncherTexture'/>
198                                     </fieldValue>
199                                </ProtoInstance>
200                           </Transform>
201                      </Transform>
202                 </Transform>
203                 <Transform>
204                      <Transform translation='-0.8 0.1 0'>
205                           <Transform scale='1.3 1.3 1.8'>
206                                <ProtoInstance name='RapierMissileSystem'>
207                                     <fieldValue name='material'>
208                                          <Material diffuseColor='.3 .6 .9'/>
209                                     </fieldValue>
210                                     <fieldValue name='imageTexture'>
211                                          <ImageTexture USE='LauncherTexture'/>
212                                     </fieldValue>
213                                </ProtoInstance>
214                           </Transform>
215                      </Transform>
216                 </Transform>
217                 <Transform translation='0 0.1 0'>
218                      <Transform rotation='0 0 1 1.571'>
219                           <Shape>
220                                <Appearance USE='LauncherSkin'/>
221                                <Cylinder height='1.7radius='0.05'/>
222                           </Shape>
223                      </Transform>
224                 </Transform>
225            </Transform>
226       </Scene>
227  </X3D>
<!--

<!--
Event Graph ROUTE Table shows event connections.
-->
<!-- to top DEF nodes index: BigArm, Launcher, LauncherArms, LauncherBody, LauncherCap, LauncherRotation, LauncherSkin, LauncherTexture, LauncherTop, Radar, RadarArm1, RadarDish, RadarRotation, RadarSpoke, RadarSpokePair, SmallArm

Index for Viewpoint node: Viewpoint_1

Index for ExternProtoDeclare definition: RapierMissileSystem
-->
X3D Tooltips element index: Appearance, Background, Box, Cylinder, CylinderSensor, ExternProtoDeclare, Extrusion, field, fieldValue, Group, head, ImageTexture, Material, meta, ProtoInstance, ROUTE, Scene, Shape, Sphere, Transform, Viewpoint, WorldInfo, X3D, plus documentation for accessType definitions, type definitions, XML data types, and field types

Event Graph ROUTE Table entries with 2 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 192
ProtoInstance
RapierMissileSystem
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 206
ProtoInstance
RapierMissileSystem
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. 

LauncherRotation
CylinderSensor
rotation_changed
SFRotation

ROUTE
event to
(1)
Launcher
Transform
rotation
SFRotation

RadarRotation
CylinderSensor
rotation_changed
SFRotation

ROUTE
event to
(1)
Radar
Transform
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/Weapons/Missiles/RapierLauncherSystemIndex.html -->
<!-- Version control at
https://sourceforge.net/p/x3d/code/HEAD/tree/www.web3d.org/x3d/content/examples/Savage/Weapons/Missiles/RapierLauncherSystem.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. -->