X3D Model Documentation: StartingAIM120Missile.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='StartingAIM120Missile.x3d'/>
  6            <meta name='descriptioncontent='Started AMRAAM missile, rotating, with flames and steam tail plus starting sound'/>
  7            <meta name='subjectcontent='Hughes / Raytheon AIM-120'/>
  8            <meta name='createdcontent='28 August 2004'/>
  9            <meta name='modifiedcontent='28 November 2019'/>
 10            <meta name='creatorcontent='Major Axel Weber'/>
 11            <meta name='identifiercontent='https://savage.nps.edu/Savage/AircraftFixedWing/EuroFighter/StartingAIM120Missile.x3d'/>
 12            <meta name='generatorcontent='X3D-Edit 3.2, https://savage.nps.edu/X3D-Edit'/>
 13            <meta name='licensecontent='../../license.html'/>
 14       </head>
<!--

<!--
Event Graph ROUTE Table shows event connections.
-->
<!-- to top Index for DEF nodes: BackWings, Blue_Sphere, Body, Clock, Cone, Cone2, Cone3, Cone4, Flame_Red, FLAMES, Flames, FlameYellow, FrontWings, InnerFLAMES, MetalWhite, Missile, Missile_Complete, MissileBody, MissileSound, OuterFlames, OuterSphere, Rocket, RocketBody, RocketGroup, Rotation, Sound, Sphere_1, Sphere_2, Sphere2, SteamCylinder, SteamGray, SteamLine, SteamTail, TailClock, TRANSPARENCY_Path, TransSteam, WingCone, WingCone2, WingCone3, WingCone4, Wings_Back, Wings_Front

Index for Viewpoint nodes: Viewpoint_1, Viewpoint_2
-->
 15       <Scene>
 16            <!-- Starting missile -->
 17            <WorldInfo title='StartingAIM120Missile.x3d'/>
 18            <Transform DEF='Missile_Completerotation='0 0 1 1.571'>
 19 
               <!-- ROUTE information for MissileBody node:  [from Rotation.value_changed to set_rotation ] -->
               <Transform DEF='MissileBody'>
 20                      <Group DEF='Missile'>
 21                           <Transform DEF='Rocket'>
 22                                <Group DEF='RocketGroup'>
 23                                     <Transform DEF='RocketBodyscale='1 10 1'>
 24                                          <Shape DEF='Body'>
 25                                               <Appearance>
 26 
                                                  <!-- Material MetalWhite is a DEF node that has 4 USE nodes: USE_1, USE_2, USE_3, USE_4 -->
                                                  <Material DEF='MetalWhiteshininess='0.3specularColor='1 1 1'/>
 27                                               </Appearance>
 28                                               <Extrusion creaseAngle='0.524crossSection='0 -2 .5 -2 .8 -2 1 -2 1 -1 1 0 .99101 .40312 .97422 .98262 .89863 1.25136 .80625 1.41933 .58918 1.6149 .32165 1.7338 .00954 1.77839orientation='-1 0 0 1.571 -.973 -.162 -.162 1.598 -.9 -.309 -.309 1.676 -.794 -.43 -.43 1.799 -.672 -.523 -.523 1.958 -.546 -.593 -.593 2.143 -.419 -.642 -.642 2.347 -.296 -.675 -.675 2.566 -.176 -.696 -.696 2.793 -.058 -.706 -.706 3.025 -.058 .706 .706 3.025 -.176 .696 .696 2.793 -.296 .675 .675 2.566 -.419 .642 .642 2.347 -.546 .593 .593 2.143 -.672 .523 .523 1.958 -.794 .43 .43 1.799 -.9 .309 .309 1.676 -.973 .162 .162 1.598 -1 0 0 1.571solid='falsespine='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0'/>
 29                                          </Shape>
 30                                     </Transform>
 31                                </Group>
 32                                <Group DEF='SteamTail'>
 33                                     <Transform DEF='TransSteamtranslation='0 -550 0'>
 34                                          <Shape DEF='SteamLine'>
 35                                               <Appearance>
 36 
                                                  <!-- ROUTE information for SteamGray node:  [from TRANSPARENCY_Path.value_changed to set_transparency ] -->
                                                  <Material DEF='SteamGraydiffuseColor='0.2 0.2 0.2emissiveColor='.5 .5 .5shininess='0.5specularColor='.5 .5 .5transparency='0.4'/>
 37                                                    <ImageTexture   url=' "Textures/steam.jpg " "../../AircraftFixedWing/EuroFighter/Textures/steam.jpg " "https://savage.nps.edu/Savage/AircraftFixedWing/EuroFighter/Textures/steam.jpg " '/>
 38                                                    <TextureTransform scale='0.002 2.5translation='50 0'/>
 39                                               </Appearance>
 40                                               <Cylinder DEF='SteamCylinderheight='1000radius='2top='false'/>
 41                                          </Shape>
 42                                     </Transform>
 43 
                                   <!-- ROUTE information for TailClock node:  [from fraction_changed to TRANSPARENCY_Path.set_fraction ] -->
                                   <TimeSensor DEF='TailClockcycleInterval='0.2loop='true'/>
 44 
                                   <!-- ROUTE information for TRANSPARENCY_Path node:  [from TailClock.fraction_changed to set_fraction ] [from value_changed to SteamGray.set_transparency ] -->
                                   <ScalarInterpolator DEF='TRANSPARENCY_Pathkey='0 0.3 0.4 0.6 0.8 1.0keyValue='0 0.2 0.8 0.4 0.8 0.2'/>
 45                                </Group>
 46                           </Transform>
 47                           <Transform DEF='BackWingstranslation='0 -17 0'>
 48                                <Group DEF='Wings_Back'>
 49                                     <Transform DEF='WingConescale='2 3 .2'>
 50                                          <Shape DEF='Cone'>
 51                                               <Appearance>
 52                                                    <Material USE='MetalWhite'/>
 53                                               </Appearance>
 54                                               <Cone bottomRadius='2.5height='2.'/>
 55                                          </Shape>
 56                                     </Transform>
 57                                     <Transform DEF='WingCone2rotation='0 1 0 1.571scale='2 3 .2'>
 58                                          <Shape DEF='Cone2'>
 59                                               <Appearance>
 60                                                    <Material USE='MetalWhite'/>
 61                                               </Appearance>
 62                                               <Cone bottomRadius='2.5height='2.'/>
 63                                          </Shape>
 64                                     </Transform>
 65                                </Group>
 66                           </Transform>
 67                           <Transform DEF='FrontWingsrotation='0 1 0 1.571translation='0 -5 0'>
 68                                <Group DEF='Wings_Front'>
 69                                     <Transform DEF='WingCone3scale='2 3 .2'>
 70                                          <Shape DEF='Cone3'>
 71                                               <Appearance>
 72                                                    <Material USE='MetalWhite'/>
 73                                               </Appearance>
 74                                               <Cone bottomRadius='2.5height='2.'/>
 75                                          </Shape>
 76                                     </Transform>
 77                                     <Transform DEF='WingCone4rotation='0 1 0 1.571scale='2 3 .2'>
 78                                          <Shape DEF='Cone4'>
 79                                               <Appearance>
 80                                                    <Material USE='MetalWhite'/>
 81                                               </Appearance>
 82                                               <Cone bottomRadius='2.5height='2.'/>
 83                                          </Shape>
 84                                     </Transform>
 85                                </Group>
 86                           </Transform>
 87 
                         <!-- ROUTE information for Clock node:  [from fraction_changed to Rotation.set_fraction ] -->
                         <TimeSensor DEF='ClockcycleInterval='4loop='true'/>
 88 
                         <!-- ROUTE information for Rotation node:  [from Clock.fraction_changed to set_fraction ] [from value_changed to MissileBody.set_rotation ] -->
                         <OrientationInterpolator DEF='Rotationkey='0 .5 1keyValue='0 1 0 0 0 1 0 3.14 0 1 0 6.28'/>
 89                      </Group>
 90                      < ROUTE  fromNode='Clock' fromField='fraction_changed' toNode='Rotation' toField='set_fraction'/>
 91                      < ROUTE  fromNode='Rotation' fromField='value_changed' toNode='MissileBody' toField='set_rotation'/>
 92                      < ROUTE  fromNode='TailClock' fromField='fraction_changed' toNode='TRANSPARENCY_Path' toField='set_fraction'/>
 93                      < ROUTE  fromNode='TRANSPARENCY_Path' fromField='value_changed' toNode='SteamGray' toField='set_transparency'/>
 94                 </Transform>
 95                 <Transform DEF='Flames'>
 96                      <Group DEF='FLAMES'>
 97                           <Transform DEF='InnerFLAMEStranslation='0 -26 0'>
 98                                <Transform scale='1 7 1translation='0 -1 0'>
 99                                     <Shape DEF='Sphere_1'>
100                                          <Appearance>
101                                               <Material DEF='FlameYellowdiffuseColor='1 1 0emissiveColor='1 1 0shininess='0.7specularColor='1 1 0transparency='0.3'/>
102                                          </Appearance>
103                                          <Sphere radius='1.'/>
104                                     </Shape>
105                                </Transform>
106                           </Transform>
107                           <Transform DEF='OuterFlamesscale='1.5 8 1.5translation='0 -29 0'>
108                                <Shape DEF='Sphere_2'>
109                                     <Appearance>
110                                          <Material DEF='Flame_ReddiffuseColor='1 0 0emissiveColor='0.9 0.15 0shininess='0.5specularColor='1 1 0transparency='0.4'/>
111                                     </Appearance>
112                                     <Sphere radius='1.3'/>
113                                </Shape>
114                           </Transform>
115                           <Transform DEF='OuterSpherescale='1 1.5 1translation='0 -35 0'>
116                                <Shape DEF='Sphere2'>
117                                     <Appearance>
118                                          <Material DEF='Blue_SpherediffuseColor='.45 .60 .8emissiveColor='.45 .60 .8shininess='0.transparency='0.7'/>
119                                     </Appearance>
120                                     <Sphere radius='10.'/>
121                                </Shape>
122                           </Transform>
123                      </Group>
124                 </Transform>
125                 <Sound DEF='MissileSoundmaxBack='250maxFront='250minBack='20minFront='20'>
126                      <AudioClip DEF='Sounddescription='FlightSoundloop='true'   url=' "Sounds/MissileStart.wav" "../../AircraftFixedWing/EuroFighter/Sounds/MissileStart.wav" "https://savage.nps.edu/Savage/AircraftFixedWing/EuroFighter/Sounds/MissileStart.wav" '/>
127                 </Sound>
128            </Transform>
129            <Viewpoint description='Default Viewpoint, Started Missileposition='20 0 60'/>
130            <Viewpoint description='Down-Front View, Started Missileorientation='0 -1 0 1.2position='-45 -8 10'/>
131       </Scene>
132  </X3D>
<!--

<!--
Event Graph ROUTE Table shows event connections.
-->
<!-- to top Index for DEF nodes: BackWings, Blue_Sphere, Body, Clock, Cone, Cone2, Cone3, Cone4, Flame_Red, FLAMES, Flames, FlameYellow, FrontWings, InnerFLAMES, MetalWhite, Missile, Missile_Complete, MissileBody, MissileSound, OuterFlames, OuterSphere, Rocket, RocketBody, RocketGroup, Rotation, Sound, Sphere_1, Sphere_2, Sphere2, SteamCylinder, SteamGray, SteamLine, SteamTail, TailClock, TRANSPARENCY_Path, TransSteam, WingCone, WingCone2, WingCone3, WingCone4, Wings_Back, Wings_Front

Index for Viewpoint nodes: Viewpoint_1, Viewpoint_2
-->
X3D Tooltips element index: Appearance, AudioClip, Cone, Cylinder, Extrusion, Group, head, ImageTexture, Material, meta, OrientationInterpolator, ROUTE, ScalarInterpolator, Scene, Shape, Sound, Sphere, TextureTransform, TimeSensor, Transform, Viewpoint, WorldInfo, X3D, plus documentation for accessType definitions, type definitions, XML data types, and field types

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

Clock
TimeSensor
fraction_changed
SFFloat

ROUTE
event to
(1)
Rotation
OrientationInterpolator
set_fraction
SFFloat
then
 
 
 
Rotation
OrientationInterpolator
value_changed
SFRotation

ROUTE
event to
(2)
MissileBody
Transform
set_rotation
SFRotation

TailClock
TimeSensor
fraction_changed
SFFloat

ROUTE
event to
(1)
TRANSPARENCY_Path
ScalarInterpolator
set_fraction
SFFloat
then
 
 
 
TRANSPARENCY_Path
ScalarInterpolator
value_changed
SFFloat

ROUTE
event to
(2)
SteamGray
Material
set_transparency
SFFloat


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://savage.nps.edu/Savage/AircraftFixedWing/EuroFighter/StartingAIM120MissileIndex.html -->
<!-- Version control at
https://gitlab.nps.edu/Savage/Savage/AircraftFixedWing/EuroFighter/StartingAIM120Missile.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. -->