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='title' content='StartingAIM120Missile.x3d'/> |
6 | <meta name='description' content='Started AMRAAM missile, rotating, with flames and steam tail plus starting sound'/> |
7 | <meta name='subject' content='Hughes / Raytheon AIM-120'/> |
8 | <meta name='created' content='28 August 2004'/> |
9 | <meta name='modified' content='28 November 2019'/> |
10 | <meta name='creator' content='Major Axel Weber'/> |
11 | <meta name='identifier' content='https://savage.nps.edu/Savage/AircraftFixedWing/EuroFighter/StartingAIM120Missile.x3d'/> |
12 | <meta name='generator' content='X3D-Edit 3.2, https://savage.nps.edu/X3D-Edit'/> |
13 | <meta name='license' content='../../license.html'/> |
14 | </head> |
15 | <Scene> |
16 | <!-- Starting missile --> |
17 | <WorldInfo title='StartingAIM120Missile.x3d'/> |
18 | <Transform DEF='Missile_Complete' rotation='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='RocketBody' scale='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='MetalWhite' shininess='0.3' specularColor='1 1 1'/> |
27 | </Appearance> |
28 | <Extrusion creaseAngle='0.524' crossSection='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.77839' orientation='-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.571' solid='false' spine='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='TransSteam' translation='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='SteamGray' diffuseColor='0.2 0.2 0.2' emissiveColor='.5 .5 .5' shininess='0.5' specularColor='.5 .5 .5' transparency='0.4'/> |
37 |
<ImageTexture
url=' "Textures/steam.jpg![]() ![]() ![]() |
38 | <TextureTransform scale='0.002 2.5' translation='50 0'/> |
39 | </Appearance> |
40 | <Cylinder DEF='SteamCylinder' height='1000' radius='2' top='false'/> |
41 | </Shape> |
42 | </Transform> |
43 |
<!-- ROUTE information for TailClock node:
[from fraction_changed to TRANSPARENCY_Path.set_fraction
]
-->
<TimeSensor DEF='TailClock' cycleInterval='0.2' loop='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_Path' key='0 0.3 0.4 0.6 0.8 1.0' keyValue='0 0.2 0.8 0.4 0.8 0.2'/> |
45 | </Group> |
46 | </Transform> |
47 | <Transform DEF='BackWings' translation='0 -17 0'> |
48 | <Group DEF='Wings_Back'> |
49 | <Transform DEF='WingCone' scale='2 3 .2'> |
50 | <Shape DEF='Cone'> |
51 | <Appearance> |
52 | <Material USE='MetalWhite'/> |
53 | </Appearance> |
54 | <Cone bottomRadius='2.5' height='2.'/> |
55 | </Shape> |
56 | </Transform> |
57 | <Transform DEF='WingCone2' rotation='0 1 0 1.571' scale='2 3 .2'> |
58 | <Shape DEF='Cone2'> |
59 | <Appearance> |
60 | <Material USE='MetalWhite'/> |
61 | </Appearance> |
62 | <Cone bottomRadius='2.5' height='2.'/> |
63 | </Shape> |
64 | </Transform> |
65 | </Group> |
66 | </Transform> |
67 | <Transform DEF='FrontWings' rotation='0 1 0 1.571' translation='0 -5 0'> |
68 | <Group DEF='Wings_Front'> |
69 | <Transform DEF='WingCone3' scale='2 3 .2'> |
70 | <Shape DEF='Cone3'> |
71 | <Appearance> |
72 | <Material USE='MetalWhite'/> |
73 | </Appearance> |
74 | <Cone bottomRadius='2.5' height='2.'/> |
75 | </Shape> |
76 | </Transform> |
77 | <Transform DEF='WingCone4' rotation='0 1 0 1.571' scale='2 3 .2'> |
78 | <Shape DEF='Cone4'> |
79 | <Appearance> |
80 | <Material USE='MetalWhite'/> |
81 | </Appearance> |
82 | <Cone bottomRadius='2.5' height='2.'/> |
83 | </Shape> |
84 | </Transform> |
85 | </Group> |
86 | </Transform> |
87 |
<!-- ROUTE information for Clock node:
[from fraction_changed to Rotation.set_fraction
]
-->
<TimeSensor DEF='Clock' cycleInterval='4' loop='true'/> |
88 |
<!-- ROUTE information for Rotation node:
[from Clock.fraction_changed to set_fraction
]
[from value_changed to MissileBody.set_rotation
]
-->
<OrientationInterpolator DEF='Rotation' key='0 .5 1' keyValue='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='InnerFLAMES' translation='0 -26 0'> |
98 | <Transform scale='1 7 1' translation='0 -1 0'> |
99 | <Shape DEF='Sphere_1'> |
100 | <Appearance> |
101 | <Material DEF='FlameYellow' diffuseColor='1 1 0' emissiveColor='1 1 0' shininess='0.7' specularColor='1 1 0' transparency='0.3'/> |
102 | </Appearance> |
103 | <Sphere radius='1.'/> |
104 | </Shape> |
105 | </Transform> |
106 | </Transform> |
107 | <Transform DEF='OuterFlames' scale='1.5 8 1.5' translation='0 -29 0'> |
108 | <Shape DEF='Sphere_2'> |
109 | <Appearance> |
110 | <Material DEF='Flame_Red' diffuseColor='1 0 0' emissiveColor='0.9 0.15 0' shininess='0.5' specularColor='1 1 0' transparency='0.4'/> |
111 | </Appearance> |
112 | <Sphere radius='1.3'/> |
113 | </Shape> |
114 | </Transform> |
115 | <Transform DEF='OuterSphere' scale='1 1.5 1' translation='0 -35 0'> |
116 | <Shape DEF='Sphere2'> |
117 | <Appearance> |
118 | <Material DEF='Blue_Sphere' diffuseColor='.45 .60 .8' emissiveColor='.45 .60 .8' shininess='0.' transparency='0.7'/> |
119 | </Appearance> |
120 | <Sphere radius='10.'/> |
121 | </Shape> |
122 | </Transform> |
123 | </Group> |
124 | </Transform> |
125 | <Sound DEF='MissileSound' maxBack='250' maxFront='250' minBack='20' minFront='20'> |
126 | <AudioClip DEF='Sound' description='FlightSound' loop='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 Missile' position='20 0 60'/> |
130 | <Viewpoint description='Down-Front View, Started Missile' orientation='0 -1 0 1.2' position='-45 -8 10'/> |
131 | </Scene> |
132 | </X3D> |
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 |
Rotation
OrientationInterpolator set_fraction SFFloat |
then
|
Rotation
OrientationInterpolator value_changed SFRotation |
MissileBody
Transform set_rotation SFRotation |
TailClock
TimeSensor fraction_changed SFFloat |
TRANSPARENCY_Path
ScalarInterpolator set_fraction SFFloat |
then
|
TRANSPARENCY_Path
ScalarInterpolator value_changed SFFloat |
SteamGray
Material set_transparency SFFloat |
<!--
Color-coding 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)
-->
<!--
For additional help information about X3D scenes, please see X3D Tooltips, X3D Resources, and X3D Scene Authoring Hints.
-->