| 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=' C130Hercules.x3d '/> |
| 6 | <meta name='description' content='Model of the Hercule C130 aircraft.'/> |
| 7 | <meta name='creator' content='Maj. Mounir Sidhom, Tunisian Air Force'/> |
| 8 | <meta name='translator' content=' Xeena VRML importer, X3D-Edit 3.1, https://www.web3d.org/x3d/content/README.X3D-Edit.html '/> |
| 9 | <meta name='created' content='3 September 2004'/> |
| 10 | <meta name='modified' content='3 July 2022'/> |
| 11 | <meta name=' warning ' content=' not verified to scale '/> |
| 12 | <meta name=' warning ' content=' Extrusion texture transform incorrect for cabine.png '/> |
| 13 | <meta name='reference' content=' https://www.fas.org/man/dod-101/sys/ac/c-130.htm '/> |
| 14 | <meta name='reference' content='http://fr.wikipedia.org/wiki/Lockheed_C-130_Hercules'/> |
| 15 | <meta name='reference' content='http://en.wikipedia.org/wiki/Lockheed_C-130_Hercules'/> |
| 16 | <meta name='reference' content=' https://www.lockheedmartin.com/en-us/products/c130.html '/> |
| 17 | <meta name='subject' content='C130 Hercules aircraft'/> |
| 18 | <meta name='identifier' content=' https://www.web3d.org/x3d/content/examples/Savage/AircraftFixedWing/C130HerculesTunisia/C130Hercules.x3d '/> |
| 19 | <meta name='generator' content='X3D-Edit 3.2, https://www.web3d.org/x3d/tools/X3D-Edit'/> |
| 20 | <meta name='generator' content=' Vrml97ToX3dNist, http://ovrt.nist.gov/v2_x3d.html '/> |
| 21 | <meta name='license' content='../../license.html'/> |
| 22 | </head> |
| 23 | <Scene> |
| 24 | <WorldInfo title='C130Hercules.x3d'/> |
| 25 | <Background skyColor='0.6588 0.7843 1'/> |
| 26 | <Viewpoint DEF='MainViewPoint' centerOfRotation='7.5 0 0' description='C130 Hercules' position='7.5 0 20'/> |
| 27 | <Viewpoint DEF='frontViewPoint' centerOfRotation='7.5 0 0' description='C130 front' orientation='0.0 1.0 0.0 1.57' position='25 -0.5 0.0'/> |
| 28 | <Viewpoint DEF='leftSide' centerOfRotation='7.5 0 0' description='C130 left side' orientation='0.0 1.0 0.0 3.14' position='7.5 0.0 -20.0'/> |
| 29 | <Viewpoint DEF='rearViewPoint' centerOfRotation='7.5 0 0' description='C130 rear' orientation='0.0 1.0 0.0 -1.57' position='-15 0.0 0.0'/> |
| 30 | <Viewpoint DEF='upViewPoint' centerOfRotation='7.5 0 0' description='looking to the aircraft from down to up' orientation='1.0 0.0 0.0 1.57' position='7.5 -20.0 0.0'/> |
| 31 | <Viewpoint DEF='downViewPoint' centerOfRotation='7.5 0 0' description='looking to the aircraft from up to down' orientation='1.0 0.0 0.0 -1.57' position='7.5 20.0 0.0'/> |
| 32 | <Transform> |
| 33 | <Group DEF='AIRCRAFT'> |
| 34 | <Transform DEF='VERTICAL_EMPENAGE'> |
| 35 | <Shape DEF='ShapeVERTICAL_EMPENAGE'> |
| 36 | <Appearance> |
| 37 | <Material diffuseColor='0.4 0.51 0.35' specularColor='0.45 0.6 0.4'/> |
| 38 |
<ImageTexture
url=' "flag.png
" "https://www.web3d.org/x3d/content/examples/Savage/AircraftFixedWing/C130HerculesTunisia/flag.png
" '/>
|
| 39 | </Appearance> |
| 40 | <Extrusion convex='false' creaseAngle='0.5' crossSection='2.0 0.0 1.8 -0.05 1.3 -0.1 0.6 -0.15 0.0 -0.15 -0.25 -0.1 -0.3 -0.05 -0.32 0.0 -0.3 0.05 -0.25 0.1 0.0 0.15 0.6 0.15 1.3 0.1 1.8 0.05 2.0 0.0' scale='1.0 1.0 0.5 0.5' spine='0.0 0.0 0.0 0.0 3.0 0.0'/> |
| 41 | </Shape> |
| 42 | </Transform> |
| 43 | <Transform DEF='REAR_WING_LEFT' rotation='1.0 0.0 0.0 -1.57'> |
| 44 | <Shape DEF='ShapeREAR_WING_LEFT'> |
| 45 | <Appearance> |
| 46 | <Material diffuseColor='0.4 0.51 0.35' specularColor='0.45 0.6 0.4'/> |
| 47 | </Appearance> |
| 48 | <Extrusion convex='false' creaseAngle='0.5' crossSection='2.0 0.0 1.8 -0.05 1.3 -0.1 0.6 -0.15 0.0 -0.15 -0.25 -0.1 -0.3 -0.05 -0.32 0.0 -0.3 0.05 -0.25 0.1 0.0 0.15 0.6 0.15 1.3 0.1 1.8 0.05 2.0 0.0' scale='1.0 1.0 0.5 0.5' spine='0.0 0.0 0.0 0.0 3.0 0.0'/> |
| 49 | </Shape> |
| 50 | </Transform> |
| 51 | <Transform DEF='REAR_WING_RIGHT' rotation='1.0 0.0 0.0 1.57'> |
| 52 | <Shape DEF='ShapeREAR_WING_RIGHT'> |
| 53 | <Appearance> |
| 54 | <Material diffuseColor='0.4 0.51 0.35' specularColor='0.45 0.6 0.4'/> |
| 55 | </Appearance> |
| 56 | <Extrusion convex='false' creaseAngle='0.5' crossSection='2.0 0.0 1.8 -0.05 1.3 -0.1 0.6 -0.15 0.0 -0.15 -0.25 -0.1 -0.3 -0.05 -0.32 0.0 -0.3 0.05 -0.25 0.1 0.0 0.15 0.6 0.15 1.3 0.1 1.8 0.05 2.0 0.0' scale='1.0 1.0 0.5 0.5' spine='0.0 0.0 0.0 0.0 3.0 0.0'/> |
| 57 | </Shape> |
| 58 | </Transform> |
| 59 | <Transform DEF='AILES' rotation='1.0 0.0 0.0 1.57' translation='8.0 0.0 0.0'> |
| 60 | <Shape> |
| 61 | <Appearance> |
| 62 | <Material diffuseColor='0.4 0.55 0.35' specularColor='0.45 0.6 0.4'/> |
| 63 | </Appearance> |
| 64 | <Extrusion convex='false' creaseAngle='0.5' crossSection='0.0 0.0 -0.03 -0.05 -0.38 -0.125 -0.78 -0.15 -1.03 -0.15 -1.78 -0.1 -2.28 -0.05 -2.53 0.0 -2.28 0.05 -1.78 0.1 -1.03 0.15 -0.78 0.15 -0.38 0.125 -0.03 0.05 0.0 0.0' scale='0.7 0.7 1.1 1.1 1.1 1.1 0.7 0.7' spine='0.0 -8.0 0.0 0.0 -3.0 0.0 0.0 3.0 0.0 0.0 8.0 0.0'/> |
| 65 | </Shape> |
| 66 |
<!-- ROUTE information for soundSensor node:
[from touchTime to soundClip.set_startTime
]
-->
<TouchSensor DEF='soundSensor' description='the sound sensor for engin 2'/> |
| 67 | </Transform> |
| 68 | <Transform DEF='REAR_FUSELAGE' rotation='0.0 0.0 1.0 -1.57' translation='0.0 0.1 0.0'> |
| 69 | <Shape> |
| 70 | <Appearance> |
| 71 | <Material diffuseColor='0.4 0.51 0.35' specularColor='0.45 0.6 0.4'/> |
| 72 | </Appearance> |
| 73 | <Extrusion ccw='false' creaseAngle='1.57' crossSection='0.0 -0.25 0.25 -0.75 0.75 -1.25 1.5 -1.5 2.0 -1.5 2.5 -1.25 2.75 -0.75 2.75 0.75 2.5 1.25 2.0 1.5 1.5 1.5 0.75 1.25 0.25 0.75 0.0 0.25 0.0 -0.25' scale='0.1 0.5 1.0 1.0' spine='0.0 0.0 0.0 0.0 5.0 0.0'/> |
| 74 | </Shape> |
| 75 | </Transform> |
| 76 | <Transform DEF='CENTRAL_FUSELAGE' rotation='0.0 0.0 1.0 -1.57' translation='5.0 0.1 0.0'> |
| 77 | <Shape> |
| 78 | <Appearance> |
| 79 | <Material diffuseColor='0.4 0.51 0.35' specularColor='0.45 0.6 0.4'/> |
| 80 |
<ImageTexture
url=' "peinture.png
" "https://www.web3d.org/x3d/content/examples/Savage/AircraftFixedWing/C130HerculesTunisia/peinture.png
" '/>
|
| 81 | </Appearance> |
| 82 | <Extrusion ccw='false' creaseAngle='0.5' crossSection='0.0 -0.25 0.25 -0.75 0.75 -1.25 1.5 -1.5 2.0 -1.5 2.5 -1.25 2.75 -0.75 2.75 0.75 2.5 1.25 2.0 1.5 1.5 1.5 0.75 1.25 0.25 0.75 0.0 0.25 0.0 -0.25' scale='1.0 1.0 0.95 0.95 0.95 0.95' spine='0.0 0.0 0.0 0.0 7.0 0.0 0.0 7.1 0.0'/> |
| 83 | </Shape> |
| 84 | </Transform> |
| 85 | <Transform DEF='CABINE' rotation='0.0 0.0 1.0 -1.57' translation='12.0 -2.03 0.0'> |
| 86 | <Shape> |
| 87 | <Appearance> |
| 88 | <Material diffuseColor='0.4 0.51 0.35' specularColor='0.45 0.6 0.4'/> |
| 89 |
<ImageTexture
url=' "cabine.png
" "https://www.web3d.org/x3d/content/examples/Savage/AircraftFixedWing/C130HerculesTunisia/cabine.png
" '/>
|
| 90 | </Appearance> |
| 91 | <Extrusion ccw='false' creaseAngle='0.5' crossSection='-2.25 -0.25 -2.0 -0.75 -1.5 -1.25 -0.75 -1.5 -0.25 -1.5 0.25 -1.25 0.5 -0.75 0.5 0.75 0.25 1.25 -0.25 1.5 -0.75 1.5 -1.5 1.25 -2.0 0.75 -2.25 0.25 -2.25 -0.25' scale='0.95 0.95 0.95 0.95 0.9 0.9 0.8 0.8 0.6 0.62 0.38 0.38' spine='0.0 0.0 0.0 0.0 0.5 0.0 0.0 0.75 0.0 0.0 1.0 0.0 0.0 1.4 0.0 0.0 1.8 0.0'/> |
| 92 | </Shape> |
| 93 | </Transform> |
| 94 | <Transform DEF='NEZ' rotation='0.0 0.0 1.0 -1.57' translation='13.75 -2.03 0.0'> |
| 95 | <Shape> |
| 96 | <Appearance> |
| 97 | <Material diffuseColor='0.0 0.0 0.0'/> |
| 98 | </Appearance> |
| 99 | <Extrusion ccw='false' creaseAngle='1.57' crossSection='-2.25 -0.25 -2.0 -0.75 -1.5 -1.25 -0.75 -1.5 -0.25 -1.5 0.25 -1.25 0.5 -0.75 0.5 0.75 0.25 1.25 -0.25 1.5 -0.75 1.5 -1.5 1.25 -2.0 0.75 -2.25 0.25 -2.25 -0.25' scale='0.38 0.38 0.38 0.38 0.33 0.33 0.3 0.3 0.27 0.27 0.24 0.27 0.15 0.15 0.12 0.12' spine='0.0 0.0 0.0 0.0 0.05 0.0 0.0 0.13 0.0 0.0 0.2 0.0 0.0 0.3 0.0 0.0 0.4 0.0 0.0 0.5 0.0 0.0 0.6 0.0'/> |
| 100 | </Shape> |
| 101 | <Transform scale='1 1.3 1.15' translation='-0.18 0.35 0.0'> |
| 102 | <Shape> |
| 103 | <Appearance> |
| 104 | <Material diffuseColor='0.0 0.0 0.0' specularColor='0.5 0.5 0.5'/> |
| 105 | </Appearance> |
| 106 | <Sphere radius='0.34'/> |
| 107 | </Shape> |
| 108 | </Transform> |
| 109 | </Transform> |
| 110 | <Transform DEF='COMPLETE_ENGINE' translation='8.0 -0.15 -5.6'> |
| 111 | |
| 112 | <Transform rotation='-0.71 0.71 -0.0 3.14'> |
| 113 | <Shape> |
| 114 | <Appearance> |
| 115 | <Material diffuseColor='0.36 0.48 0.3'/> |
| 116 | </Appearance> |
| 117 | <Extrusion creaseAngle='0.5' crossSection='-0.35 0.08 -0.3 0.2 -0.2 0.3 0.0 0.4 0.4 0.4 1.0 0.3 1.1 0.1 1.1 -0.1 1.0 -0.3 0.4 -0.4 0.0 -0.4 -0.2 -0.3 -0.3 -0.2 -0.35 -0.08 -0.35 0.08' scale='0.8 0.8 0.9 0.9 0.8 0.8 0.5 0.7' spine='0.0 0.0 0.0 0.0 0.5 0.0 0.0 1.0 0.0 0.0 2.0 0.0'/> |
| 118 | </Shape> |
| 119 | </Transform> |
| 120 | <Transform rotation='0.0 0.0 1.0 1.57' scale='1.2 1.0 1.0' translation='-0.08 -0.6 0.0'> |
| 121 |
<!-- Shape
ENGINE_GATE is a DEF node that has 1 USE node: USE_1 -->
<Shape DEF='ENGINE_GATE'> |
| 122 | <Appearance> |
| 123 | <Material diffuseColor='0.0 0.0 0.0'/> |
| 124 | </Appearance> |
| 125 | <Cylinder height='0.2' radius='0.15' side='false'/> |
| 126 | </Shape> |
| 127 | </Transform> |
| 128 | <Transform rotation='0.0 0.0 1.0 1.57' scale='1.2 1.0 1.0' translation='-1.95 -0.25 0.0'> |
| 129 | <Shape USE='ENGINE_GATE'/> |
| 130 | </Transform> |
| 131 | </Group> |
| 132 | </Transform> |
| 133 | <Transform translation='8.0 -0.15 -2.8'> |
| 134 | <Group USE='ENGINE'/> |
| 135 | <Sound maxBack='100' maxFront='100' minBack='5.0' minFront='5.0'> |
| 136 |
<!-- ROUTE information for soundClip node:
[from soundSensor.touchTime to set_startTime
]
-->
<AudioClip DEF='soundClip' description='emits the rotor sound' pitch='1.5' url=' "DRONE1.wav" "https://www.web3d.org/x3d/content/examples/Vrml2Sourcebook/DRONE1.wav" '/> |
| 137 | </Sound> |
| 138 | < ROUTE fromNode='soundSensor' fromField='touchTime' toNode='soundClip' toField='set_startTime'/> |
| 139 | </Transform> |
| 140 | <Transform translation='8.0 -0.15 2.8'> |
| 141 | <Group USE='ENGINE'/> |
| 142 | </Transform> |
| 143 | <Transform translation='8.0 -0.15 5.6'> |
| 144 | <Group USE='ENGINE'/> |
| 145 | </Transform> |
| 146 |
<!-- ROUTE information for ROTOR1 node:
[from HELICE_ROT.value_changed to set_rotation
]
-->
<Transform DEF='ROTOR1' translation='8.1 -0.2 -2.8'> |
| 147 | |
| 148 | <Transform rotation='0.0 0.0 1.0 -1.57' translation='0.15 0.0 0.0'> |
| 149 | <Shape> |
| 150 | <Appearance> |
| 151 | <Material diffuseColor='0.05 0.05 0.05' emissiveColor='0.5 0.5 0.5'/> |
| 152 | </Appearance> |
| 153 | <Cone bottomRadius='0.20' height='0.3'/> |
| 154 | </Shape> |
| 155 | </Transform> |
| 156 | <Transform rotation='0.0 0.0 1.0 1.57'> |
| 157 | <Shape> |
| 158 | <Appearance> |
| 159 | <Material diffuseColor='0.9 0.9 0.9'/> |
| 160 | </Appearance> |
| 161 | <Cylinder height='0.1' radius='0.25'/> |
| 162 | </Shape> |
| 163 | <Transform translation='0.0 0.20 0.0'> |
| 164 | <Shape> |
| 165 | <Appearance> |
| 166 | <Material/> |
| 167 | </Appearance> |
| 168 | <Cylinder height='0.4' radius='0.15'/> |
| 169 | </Shape> |
| 170 | </Transform> |
| 171 | </Transform> |
| 172 | |
| 173 | <Transform rotation='0.0 1.0 0.0 1.57' translation='0.0 0.2 0.1'> |
| 174 | <Shape> |
| 175 | <Appearance> |
| 176 | <Material diffuseColor='1.0 0.0 0.0'/> |
| 177 |
<ImageTexture
url=' "helice.png
" "https://www.web3d.org/x3d/content/examples/Savage/AircraftFixedWing/C130HerculesTunisia/helice.png
" '/>
|
| 178 | </Appearance> |
| 179 | <Extrusion creaseAngle='1.57' crossSection='0.19 0.0 0.125 -0.0075 0.075 -0.01 0.025 -0.01 0.0050 -0.0075 0.0 -0.0025 0.0 0.0025 0.0050 0.0075 0.025 0.01 0.075 0.01 0.125 0.0075 0.19 0.0' orientation='0.0 0.0 0.0 0.0 0.0 1.0 0.0 0.1 0.0 1.0 0.0 0.2' scale='1.0 1.0 1.0 1.0 1.0 1.0' spine='0.0 0.0 0.0 0.0 0.5 0.0 0.0 1.2 0.0'/> |
| 180 | </Shape> |
| 181 | </Transform> |
| 182 | </Group> |
| 183 | <Transform rotation='1 0 0 2.09'> |
| 184 | <Group USE='HELICE'/> |
| 185 | </Transform> |
| 186 | <Transform rotation='-1 0 0 2.09'> |
| 187 | <Group USE='HELICE'/> |
| 188 | </Transform> |
| 189 | </Group> |
| 190 | </Transform> |
| 191 |
<!-- ROUTE information for ROTOR2 node:
[from HELICE_ROT.value_changed to set_rotation
]
-->
<Transform DEF='ROTOR2' rotation='1.0 0.0 0.0 0.5' translation='8.1 -0.2 -5.6'> |
| 192 | <Group USE='ROTOR'/> |
| 193 | </Transform> |
| 194 |
<!-- ROUTE information for ROTOR3 node:
[from HELICE_ROT.value_changed to set_rotation
]
-->
<Transform DEF='ROTOR3' rotation='1.0 0.0 0.0 1.3' translation='8.1 -0.2 2.8'> |
| 195 | <Group USE='ROTOR'/> |
| 196 | </Transform> |
| 197 |
<!-- ROUTE information for ROTOR4 node:
[from HELICE_ROT.value_changed to set_rotation
]
-->
<Transform DEF='ROTOR4' rotation='1.0 0.0 0.0 0.8' translation='8.1 -0.2 5.6'> |
| 198 | <Group USE='ROTOR'/> |
| 199 | </Transform> |
| 200 | <Group DEF='gears'> |
| 201 | <Transform translation='12 -2.5 0.0'> |
| 202 |
<!-- ROUTE information for firstGearDoor node:
[from firstDoorPath.value_changed to set_translation
]
-->
<Transform DEF='firstGearDoor'> |
| 203 | <Transform> |
| 204 | <Shape> |
| 205 | <Appearance> |
| 206 | <Material diffuseColor='0.4 0.48 0.35'/> |
| 207 | </Appearance> |
| 208 | <Box size='1 0.05 0.7'/> |
| 209 | </Shape> |
| 210 | </Transform> |
| 211 | </Transform> |
| 212 |
<!-- ROUTE information for firstGear node:
[from firstGearPath.value_changed to set_translation
]
-->
<Transform DEF='firstGear'> |
| 213 | <Transform rotation='1.0 0.0 0.0 1.57' translation='0.0 0.5 0.0'> |
| 214 | <Transform scale='0.1 0.15 0.1'> |
| 215 | <Shape> |
| 216 | <Appearance> |
| 217 | <Material diffuseColor='0.0 0.0 0.0'/> |
| 218 | </Appearance> |
| 219 | <Extrusion creaseAngle='1.57' crossSection='1.0 0.0 0.92 -0.38 0.71 -0.71 0.38 -0.92 0.0 -1.0 -0.38 -0.92 -0.71 -0.71 -0.92 -0.38 -1.0 -0.0 -0.92 0.38 -0.71 0.71 -0.38 0.92 0.0 1.0 0.38 0.92 0.71 0.71 0.92 0.38 1.0 0.0' spine='2.0 0.0 0.0 1.85 0.0 0.77 1.41 0.0 1.41 0.77 0.0 1.85 0.0 0.0 2.0 -0.77 0.0 1.85 -1.41 0.0 1.41 -1.85 0.0 0.77 -2.0 0.0 0.0 -1.85 0.0 -0.77 -1.41 0.0 -1.41 -0.77 0.0 -1.85 0.0 0.0 -2.0 0.77 0.0 -1.85 1.41 0.0 -1.41 1.85 0.0 -0.77 2.0 0.0 0.0'/> |
| 220 | </Shape> |
| 221 | </Transform> |
| 222 | <Transform> |
| 223 | <Shape> |
| 224 | <Appearance> |
| 225 | <Material/> |
| 226 | </Appearance> |
| 227 | <Cylinder height='0.25' radius='0.15'/> |
| 228 | </Shape> |
| 229 | </Transform> |
| 230 | </Transform> |
| 231 | <Transform translation='0.0 0.8 0.2'> |
| 232 | |
| 233 | <Appearance> |
| 234 | <Material/> |
| 235 | </Appearance> |
| 236 | <Box size='0.1 0.8 0.05'/> |
| 237 | </Shape> |
| 238 | </Transform> |
| 239 | <Transform translation='0.0 0.8 -0.2'> |
| 240 | <Shape USE='gearAxe'/> |
| 241 | </Transform> |
| 242 | </Transform> |
| 243 |
<!-- ROUTE information for firstGearSensor node:
[from touchTime to gearClock.set_startTime
]
-->
<TouchSensor DEF='firstGearSensor' description='a sensor to extract the lending gears'/> |
| 244 | </Transform> |
| 245 |
<!-- ROUTE information for rearGears node:
[from rearGearsPath.value_changed to set_translation
]
-->
<Transform DEF='rearGears' translation='0 0.6 0.0'> |
| 246 | <Transform DEF='RGL1' translation='7.0 -3 1.3'> |
| 247 | <Transform rotation='1.0 0.0 0.0 1.57' translation='0.0 0.5 0.0'> |
| 248 | <Transform scale='0.12 0.2 0.12'> |
| 249 | <Shape> |
| 250 | <Appearance> |
| 251 | <Material diffuseColor='0.0 0.0 0.0'/> |
| 252 | </Appearance> |
| 253 | <Extrusion creaseAngle='1.57' crossSection='1.0 0.0 0.92 -0.38 0.71 -0.71 0.38 -0.92 0.0 -1.0 -0.38 -0.92 -0.71 -0.71 -0.92 -0.38 -1.0 -0.0 -0.92 0.38 -0.71 0.71 -0.38 0.92 0.0 1.0 0.38 0.92 0.71 0.71 0.92 0.38 1.0 0.0' spine='2.0 0.0 0.0 1.85 0.0 0.77 1.41 0.0 1.41 0.77 0.0 1.85 0.0 0.0 2.0 -0.77 0.0 1.85 -1.41 0.0 1.41 -1.85 0.0 0.77 -2.0 0.0 0.0 -1.85 0.0 -0.77 -1.41 0.0 -1.41 -0.77 0.0 -1.85 0.0 0.0 -2.0 0.77 0.0 -1.85 1.41 0.0 -1.41 1.85 0.0 -0.77 2.0 0.0 0.0'/> |
| 254 | </Shape> |
| 255 | </Transform> |
| 256 | <Transform> |
| 257 | <Shape> |
| 258 | <Appearance> |
| 259 | <Material/> |
| 260 | </Appearance> |
| 261 | <Cylinder height='0.25' radius='0.15'/> |
| 262 | </Shape> |
| 263 | </Transform> |
| 264 | </Transform> |
| 265 | <Transform translation='0.0 0.8 -0.2'> |
| 266 |
<!-- Shape
rearGearAxe is a DEF node that has 3 USE nodes: USE_1, USE_2, USE_3 -->
<Shape DEF='rearGearAxe'> |
| 267 | <Appearance> |
| 268 | <Material/> |
| 269 | </Appearance> |
| 270 | <Cylinder height='0.8' radius='0.1'/> |
| 271 | </Shape> |
| 272 | </Transform> |
| 273 | </Transform> |
| 274 | <Transform DEF='RGL2' translation='7.0 -3 0.9'> |
| 275 | <Transform rotation='1.0 0.0 0.0 1.57' translation='0.0 0.5 0.0'> |
| 276 | <Transform scale='0.12 0.2 0.12'> |
| 277 | <Shape> |
| 278 | <Appearance> |
| 279 | <Material diffuseColor='0.0 0.0 0.0'/> |
| 280 | </Appearance> |
| 281 | <Extrusion creaseAngle='1.57' crossSection='1.0 0.0 0.92 -0.38 0.71 -0.71 0.38 -0.92 0.0 -1.0 -0.38 -0.92 -0.71 -0.71 -0.92 -0.38 -1.0 -0.0 -0.92 0.38 -0.71 0.71 -0.38 0.92 0.0 1.0 0.38 0.92 0.71 0.71 0.92 0.38 1.0 0.0' spine='2.0 0.0 0.0 1.85 0.0 0.77 1.41 0.0 1.41 0.77 0.0 1.85 0.0 0.0 2.0 -0.77 0.0 1.85 -1.41 0.0 1.41 -1.85 0.0 0.77 -2.0 0.0 0.0 -1.85 0.0 -0.77 -1.41 0.0 -1.41 -0.77 0.0 -1.85 0.0 0.0 -2.0 0.77 0.0 -1.85 1.41 0.0 -1.41 1.85 0.0 -0.77 2.0 0.0 0.0'/> |
| 282 | </Shape> |
| 283 | </Transform> |
| 284 | <Transform> |
| 285 | <Shape> |
| 286 | <Appearance> |
| 287 | <Material/> |
| 288 | </Appearance> |
| 289 | <Cylinder height='0.25' radius='0.15'/> |
| 290 | </Shape> |
| 291 | </Transform> |
| 292 | </Transform> |
| 293 | </Transform> |
| 294 | <Transform DEF='RGL3' translation='6.0 -3 1.3'> |
| 295 | <Transform rotation='1.0 0.0 0.0 1.57' translation='0.0 0.5 0.0'> |
| 296 | <Transform scale='0.12 0.2 0.12'> |
| 297 | <Shape> |
| 298 | <Appearance> |
| 299 | <Material diffuseColor='0.0 0.0 0.0'/> |
| 300 | </Appearance> |
| 301 | <Extrusion creaseAngle='1.57' crossSection='1.0 0.0 0.92 -0.38 0.71 -0.71 0.38 -0.92 0.0 -1.0 -0.38 -0.92 -0.71 -0.71 -0.92 -0.38 -1.0 -0.0 -0.92 0.38 -0.71 0.71 -0.38 0.92 0.0 1.0 0.38 0.92 0.71 0.71 0.92 0.38 1.0 0.0' spine='2.0 0.0 0.0 1.85 0.0 0.77 1.41 0.0 1.41 0.77 0.0 1.85 0.0 0.0 2.0 -0.77 0.0 1.85 -1.41 0.0 1.41 -1.85 0.0 0.77 -2.0 0.0 0.0 -1.85 0.0 -0.77 -1.41 0.0 -1.41 -0.77 0.0 -1.85 0.0 0.0 -2.0 0.77 0.0 -1.85 1.41 0.0 -1.41 1.85 0.0 -0.77 2.0 0.0 0.0'/> |
| 302 | </Shape> |
| 303 | </Transform> |
| 304 | <Transform> |
| 305 | <Shape> |
| 306 | <Appearance> |
| 307 | <Material/> |
| 308 | </Appearance> |
| 309 | <Cylinder height='0.25' radius='0.15'/> |
| 310 | </Shape> |
| 311 | </Transform> |
| 312 | </Transform> |
| 313 | <Transform translation='0.0 0.8 -0.2'> |
| 314 | <Shape USE='rearGearAxe'/> |
| 315 | </Transform> |
| 316 | </Transform> |
| 317 | <Transform DEF='RGL4' translation='6.0 -3 0.9'> |
| 318 | <Transform rotation='1.0 0.0 0.0 1.57' translation='0.0 0.5 0.0'> |
| 319 | <Transform scale='0.12 0.2 0.12'> |
| 320 | <Shape> |
| 321 | <Appearance> |
| 322 | <Material diffuseColor='0.0 0.0 0.0'/> |
| 323 | </Appearance> |
| 324 | <Extrusion creaseAngle='1.57' crossSection='1.0 0.0 0.92 -0.38 0.71 -0.71 0.38 -0.92 0.0 -1.0 -0.38 -0.92 -0.71 -0.71 -0.92 -0.38 -1.0 -0.0 -0.92 0.38 -0.71 0.71 -0.38 0.92 0.0 1.0 0.38 0.92 0.71 0.71 0.92 0.38 1.0 0.0' spine='2.0 0.0 0.0 1.85 0.0 0.77 1.41 0.0 1.41 0.77 0.0 1.85 0.0 0.0 2.0 -0.77 0.0 1.85 -1.41 0.0 1.41 -1.85 0.0 0.77 -2.0 0.0 0.0 -1.85 0.0 -0.77 -1.41 0.0 -1.41 -0.77 0.0 -1.85 0.0 0.0 -2.0 0.77 0.0 -1.85 1.41 0.0 -1.41 1.85 0.0 -0.77 2.0 0.0 0.0'/> |
| 325 | </Shape> |
| 326 | </Transform> |
| 327 | <Transform> |
| 328 | <Shape> |
| 329 | <Appearance> |
| 330 | <Material/> |
| 331 | </Appearance> |
| 332 | <Cylinder height='0.25' radius='0.15'/> |
| 333 | </Shape> |
| 334 | </Transform> |
| 335 | </Transform> |
| 336 | </Transform> |
| 337 | <Transform DEF='RGR1' translation='7.0 -3 -1.3'> |
| 338 | <Transform rotation='1.0 0.0 0.0 1.57' translation='0.0 0.5 0.0'> |
| 339 | <Transform scale='0.12 0.2 0.12'> |
| 340 | <Shape> |
| 341 | <Appearance> |
| 342 | <Material diffuseColor='0.0 0.0 0.0'/> |
| 343 | </Appearance> |
| 344 | <Extrusion creaseAngle='1.57' crossSection='1.0 0.0 0.92 -0.38 0.71 -0.71 0.38 -0.92 0.0 -1.0 -0.38 -0.92 -0.71 -0.71 -0.92 -0.38 -1.0 -0.0 -0.92 0.38 -0.71 0.71 -0.38 0.92 0.0 1.0 0.38 0.92 0.71 0.71 0.92 0.38 1.0 0.0' spine='2.0 0.0 0.0 1.85 0.0 0.77 1.41 0.0 1.41 0.77 0.0 1.85 0.0 0.0 2.0 -0.77 0.0 1.85 -1.41 0.0 1.41 -1.85 0.0 0.77 -2.0 0.0 0.0 -1.85 0.0 -0.77 -1.41 0.0 -1.41 -0.77 0.0 -1.85 0.0 0.0 -2.0 0.77 0.0 -1.85 1.41 0.0 -1.41 1.85 0.0 -0.77 2.0 0.0 0.0'/> |
| 345 | </Shape> |
| 346 | </Transform> |
| 347 | <Transform> |
| 348 | <Shape> |
| 349 | <Appearance> |
| 350 | <Material/> |
| 351 | </Appearance> |
| 352 | <Cylinder height='0.25' radius='0.15'/> |
| 353 | </Shape> |
| 354 | </Transform> |
| 355 | </Transform> |
| 356 | <Transform translation='0.0 0.8 0.2'> |
| 357 | <Shape USE='rearGearAxe'/> |
| 358 | </Transform> |
| 359 | </Transform> |
| 360 | <Transform DEF='RGR2' translation='7.0 -3 -0.9'> |
| 361 | <Transform rotation='1.0 0.0 0.0 1.57' translation='0.0 0.5 0.0'> |
| 362 | <Transform scale='0.12 0.2 0.12'> |
| 363 | <Shape> |
| 364 | <Appearance> |
| 365 | <Material diffuseColor='0.0 0.0 0.0'/> |
| 366 | </Appearance> |
| 367 | <Extrusion creaseAngle='1.57' crossSection='1.0 0.0 0.92 -0.38 0.71 -0.71 0.38 -0.92 0.0 -1.0 -0.38 -0.92 -0.71 -0.71 -0.92 -0.38 -1.0 -0.0 -0.92 0.38 -0.71 0.71 -0.38 0.92 0.0 1.0 0.38 0.92 0.71 0.71 0.92 0.38 1.0 0.0' spine='2.0 0.0 0.0 1.85 0.0 0.77 1.41 0.0 1.41 0.77 0.0 1.85 0.0 0.0 2.0 -0.77 0.0 1.85 -1.41 0.0 1.41 -1.85 0.0 0.77 -2.0 0.0 0.0 -1.85 0.0 -0.77 -1.41 0.0 -1.41 -0.77 0.0 -1.85 0.0 0.0 -2.0 0.77 0.0 -1.85 1.41 0.0 -1.41 1.85 0.0 -0.77 2.0 0.0 0.0'/> |
| 368 | </Shape> |
| 369 | </Transform> |
| 370 | <Transform> |
| 371 | <Shape> |
| 372 | <Appearance> |
| 373 | <Material/> |
| 374 | </Appearance> |
| 375 | <Cylinder height='0.25' radius='0.15'/> |
| 376 | </Shape> |
| 377 | </Transform> |
| 378 | </Transform> |
| 379 | </Transform> |
| 380 | <Transform DEF='RGR3' translation='6.0 -3 -0.9'> |
| 381 | <Transform rotation='1.0 0.0 0.0 1.57' translation='0.0 0.5 0.0'> |
| 382 | <Transform scale='0.12 0.2 0.12'> |
| 383 | <Shape> |
| 384 | <Appearance> |
| 385 | <Material diffuseColor='0.0 0.0 0.0'/> |
| 386 | </Appearance> |
| 387 | <Extrusion creaseAngle='1.57' crossSection='1.0 0.0 0.92 -0.38 0.71 -0.71 0.38 -0.92 0.0 -1.0 -0.38 -0.92 -0.71 -0.71 -0.92 -0.38 -1.0 -0.0 -0.92 0.38 -0.71 0.71 -0.38 0.92 0.0 1.0 0.38 0.92 0.71 0.71 0.92 0.38 1.0 0.0' spine='2.0 0.0 0.0 1.85 0.0 0.77 1.41 0.0 1.41 0.77 0.0 1.85 0.0 0.0 2.0 -0.77 0.0 1.85 -1.41 0.0 1.41 -1.85 0.0 0.77 -2.0 0.0 0.0 -1.85 0.0 -0.77 -1.41 0.0 -1.41 -0.77 0.0 -1.85 0.0 0.0 -2.0 0.77 0.0 -1.85 1.41 0.0 -1.41 1.85 0.0 -0.77 2.0 0.0 0.0'/> |
| 388 | </Shape> |
| 389 | </Transform> |
| 390 | <Transform> |
| 391 | <Shape> |
| 392 | <Appearance> |
| 393 | <Material/> |
| 394 | </Appearance> |
| 395 | <Cylinder height='0.25' radius='0.15'/> |
| 396 | </Shape> |
| 397 | </Transform> |
| 398 | </Transform> |
| 399 | <Transform translation='0.0 0.8 -0.2'> |
| 400 | <Shape USE='rearGearAxe'/> |
| 401 | </Transform> |
| 402 | </Transform> |
| 403 | <Transform DEF='RGR4' translation='6.0 -3 -1.3'> |
| 404 | <Transform rotation='1.0 0.0 0.0 1.57' translation='0.0 0.5 0.0'> |
| 405 | <Transform scale='0.12 0.2 0.12'> |
| 406 | <Shape> |
| 407 | <Appearance> |
| 408 | <Material diffuseColor='0.0 0.0 0.0'/> |
| 409 | </Appearance> |
| 410 | <Extrusion creaseAngle='1.57' crossSection='1.0 0.0 0.92 -0.38 0.71 -0.71 0.38 -0.92 0.0 -1.0 -0.38 -0.92 -0.71 -0.71 -0.92 -0.38 -1.0 -0.0 -0.92 0.38 -0.71 0.71 -0.38 0.92 0.0 1.0 0.38 0.92 0.71 0.71 0.92 0.38 1.0 0.0' spine='2.0 0.0 0.0 1.85 0.0 0.77 1.41 0.0 1.41 0.77 0.0 1.85 0.0 0.0 2.0 -0.77 0.0 1.85 -1.41 0.0 1.41 -1.85 0.0 0.77 -2.0 0.0 0.0 -1.85 0.0 -0.77 -1.41 0.0 -1.41 -0.77 0.0 -1.85 0.0 0.0 -2.0 0.77 0.0 -1.85 1.41 0.0 -1.41 1.85 0.0 -0.77 2.0 0.0 0.0'/> |
| 411 | </Shape> |
| 412 | </Transform> |
| 413 | <Transform> |
| 414 | <Shape> |
| 415 | <Appearance> |
| 416 | <Material/> |
| 417 | </Appearance> |
| 418 | <Cylinder height='0.25' radius='0.15'/> |
| 419 | </Shape> |
| 420 | </Transform> |
| 421 | </Transform> |
| 422 | </Transform> |
| 423 | </Transform> |
| 424 |
<!-- ROUTE information for frontLight node:
[from frontLightPath.value_changed to set_rotation
]
-->
<Transform DEF='frontLight' center='12.7 -2.6 0'> |
| 425 | <Transform translation='12.7 -2.4 0.0'> |
| 426 | <Transform DEF='frontLightPlatform'> |
| 427 | <Shape> |
| 428 | <Appearance> |
| 429 | <Material diffuseColor='0.4 0.51 0.35'/> |
| 430 | </Appearance> |
| 431 | <Box size='0.5 0.04 0.2'/> |
| 432 | </Shape> |
| 433 | </Transform> |
| 434 | <Transform DEF='frontBulb' scale='1.0 0.4 1.0' translation='-0.15 -0.03 0'> |
| 435 | <Shape> |
| 436 | <Appearance> |
| 437 | <Material diffuseColor='0.8 0.8 0.1'/> |
| 438 | </Appearance> |
| 439 | <Sphere radius='0.09'/> |
| 440 | </Shape> |
| 441 | </Transform> |
| 442 | </Transform> |
| 443 | </Transform> |
| 444 | <SpotLight DEF='lightSource' location='12.7 -2.6 0' radius='50'/> |
| 445 |
<!-- ROUTE information for gearClock node:
[from firstGearSensor.touchTime to set_startTime
]
[from fraction_changed to firstDoorPath.set_fraction
]
[from fraction_changed to firstGearPath.set_fraction
]
[from fraction_changed to rearGearsPath.set_fraction
]
[from fraction_changed to frontLightPath.set_fraction
]
-->
<TimeSensor DEF='gearClock' cycleInterval='10'/> |
| 446 |
<!-- ROUTE information for firstDoorPath node:
[from gearClock.fraction_changed to set_fraction
]
[from value_changed to firstGearDoor.set_translation
]
-->
<PositionInterpolator DEF='firstDoorPath' key='0.0 1.0' keyValue='0.0 0.0 0.0 -1 0 0'/> |
| 447 |
<!-- ROUTE information for firstGearPath node:
[from gearClock.fraction_changed to set_fraction
]
[from value_changed to firstGear.set_translation
]
-->
<PositionInterpolator DEF='firstGearPath' key='0.5 1.0' keyValue='0.0 0.0 0.0 0.0 -0.9 0.0'/> |
| 448 |
<!-- ROUTE information for rearGearsPath node:
[from gearClock.fraction_changed to set_fraction
]
[from value_changed to rearGears.set_translation
]
-->
<PositionInterpolator DEF='rearGearsPath' key='0.0 1.0' keyValue='0.0 0.6 0.0 0.0 -0.6 0.0'/> |
| 449 |
<!-- ROUTE information for frontLightPath node:
[from gearClock.fraction_changed to set_fraction
]
[from value_changed to frontLight.set_rotation
]
-->
<OrientationInterpolator DEF='frontLightPath' key='0.0 1.0' keyValue='0.0 0.0 0.0 0.0 0.0 0.0 1.0 1.57'/> |
| 450 | < ROUTE fromNode='firstGearSensor' fromField='touchTime' toNode='gearClock' toField='set_startTime'/> |
| 451 | < ROUTE fromNode='gearClock' fromField='fraction_changed' toNode='firstDoorPath' toField='set_fraction'/> |
| 452 | < ROUTE fromNode='gearClock' fromField='fraction_changed' toNode='firstGearPath' toField='set_fraction'/> |
| 453 | < ROUTE fromNode='gearClock' fromField='fraction_changed' toNode='rearGearsPath' toField='set_fraction'/> |
| 454 | < ROUTE fromNode='firstDoorPath' fromField='value_changed' toNode='firstGearDoor' toField='set_translation'/> |
| 455 | < ROUTE fromNode='firstGearPath' fromField='value_changed' toNode='firstGear' toField='set_translation'/> |
| 456 | < ROUTE fromNode='rearGearsPath' fromField='value_changed' toNode='rearGears' toField='set_translation'/> |
| 457 | < ROUTE fromNode='gearClock' fromField='fraction_changed' toNode='frontLightPath' toField='set_fraction'/> |
| 458 | < ROUTE fromNode='frontLightPath' fromField='value_changed' toNode='frontLight' toField='set_rotation'/> |
| 459 | </Group> |
| 460 | <Group DEF='rightRearGear'> |
| 461 | <Transform rotation='-0.58 -0.58 -0.58 2.09' translation='4.9 -2.2 1.12'> |
| 462 |
<!-- Shape
rearGearBloc is a DEF node that has 1 USE node: USE_1 -->
<Shape DEF='rearGearBloc'> |
| 463 | <Appearance> |
| 464 | <Material diffuseColor='0.39 0.50 0.34'/> |
| 465 | </Appearance> |
| 466 | <Extrusion creaseAngle='1.57' crossSection='0.00 0.80 0.25 0.77 0.45 0.69 0.57 0.55 0.69 0.17 0.71 0.00 0.69 -0.10 0.60 -0.28 0.43 -0.37 -0.4 -0.42 -0.15 0.25 0.00 0.80' scale='0.1 0.1 0.8 0.8 1.0 1.0 1.0 1.0 0.8 0.8 0.1 0.1' spine='0.0 0.0 0.0 0.0 0.4 0.0 0.0 0.7 0.0 0.0 3.8 0.0 0.0 4.1 0.0 0.0 4.5 0.0'/> |
| 467 | </Shape> |
| 468 | </Transform> |
| 469 | </Group> |
| 470 | <Group DEF='leftRearGear'> |
| 471 | <Transform rotation='-0.58 0.58 0.58 2.09' translation='9.3 -2.2 -1.12'> |
| 472 | <Shape USE='rearGearBloc'/> |
| 473 | </Transform> |
| 474 | </Group> |
| 475 |
<!-- ROUTE information for HELICE_CLOCK node:
[from fraction_changed to HELICE_ROT.set_fraction
]
-->
<TimeSensor DEF='HELICE_CLOCK' cycleInterval='0.5' loop='true'/> |
| 476 |
<!-- ROUTE information for HELICE_ROT node:
[from HELICE_CLOCK.fraction_changed to set_fraction
]
[from value_changed to ROTOR1.set_rotation
]
[from value_changed to ROTOR2.set_rotation
]
[from value_changed to ROTOR3.set_rotation
]
[from value_changed to ROTOR4.set_rotation
]
-->
<OrientationInterpolator DEF='HELICE_ROT' key='0.0 0.5 1.0' keyValue='1.0 0.0 0.0 0.00 1.0 0.0 0.0 3.14 1.0 0.0 0.0 6.28'/> |
| 477 | < ROUTE fromNode='HELICE_CLOCK' fromField='fraction_changed' toNode='HELICE_ROT' toField='set_fraction'/> |
| 478 | < ROUTE fromNode='HELICE_ROT' fromField='value_changed' toNode='ROTOR1' toField='set_rotation'/> |
| 479 | < ROUTE fromNode='HELICE_ROT' fromField='value_changed' toNode='ROTOR2' toField='set_rotation'/> |
| 480 | < ROUTE fromNode='HELICE_ROT' fromField='value_changed' toNode='ROTOR3' toField='set_rotation'/> |
| 481 | < ROUTE fromNode='HELICE_ROT' fromField='value_changed' toNode='ROTOR4' toField='set_rotation'/> |
| 482 | </Group> |
| 483 | </Transform> |
| 484 | </Scene> |
| 485 | </X3D> |
Event Graph ROUTE Table entries with 15 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.
|
firstGearSensor
TouchSensor touchTime SFTime |
gearClock
TimeSensor set_startTime SFTime |
then
|
gearClock
TimeSensor fraction_changed SFFloat |
firstDoorPath
PositionInterpolator set_fraction SFFloat |
then
|
firstDoorPath
PositionInterpolator value_changed SFVec3f |
firstGearDoor
Transform set_translation SFVec3f |
|||
|
then
|
gearClock
TimeSensor fraction_changed SFFloat |
firstGearPath
PositionInterpolator set_fraction SFFloat |
then
|
firstGearPath
PositionInterpolator value_changed SFVec3f |
firstGear
Transform set_translation SFVec3f |
|||||
|
then
|
gearClock
TimeSensor fraction_changed SFFloat |
rearGearsPath
PositionInterpolator set_fraction SFFloat |
then
|
rearGearsPath
PositionInterpolator value_changed SFVec3f |
rearGears
Transform set_translation SFVec3f |
|||||
|
then
|
gearClock
TimeSensor fraction_changed SFFloat |
frontLightPath
OrientationInterpolator set_fraction SFFloat |
then
|
frontLightPath
OrientationInterpolator value_changed SFRotation |
frontLight
Transform set_rotation SFRotation |
|||||
|
soundSensor
TouchSensor touchTime SFTime |
soundClip
AudioClip set_startTime SFTime |
|
HELICE_CLOCK
TimeSensor fraction_changed SFFloat |
HELICE_ROT
OrientationInterpolator set_fraction SFFloat |
then
|
HELICE_ROT
OrientationInterpolator value_changed SFRotation |
ROTOR1
Transform set_rotation SFRotation |
||
|
then
|
HELICE_ROT
OrientationInterpolator value_changed SFRotation |
ROTOR2
Transform set_rotation SFRotation |
||||
|
then
|
HELICE_ROT
OrientationInterpolator value_changed SFRotation |
ROTOR3
Transform set_rotation SFRotation |
||||
|
then
|
HELICE_ROT
OrientationInterpolator value_changed SFRotation |
ROTOR4
Transform set_rotation SFRotation |
||||
<!--
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.
-->