| 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=' Mk46Torpedo.x3d '/> |
| 6 | <meta name='description' content='U.S. Navy Mk46 torpedo'/> |
| 7 | <meta name='created' content='7 April 2003'/> |
| 8 | <meta name='modified' content='28 November 2019'/> |
| 9 | <meta name='creator' content='Jeffrey Weekley and UW3303 course'/> |
| 10 | <meta name='photo' content=' http://www.chinfo.navy.mil/navpalib/factfile/weapons/wep-torp.html '/> |
| 11 | <meta name='reference' content=' https://www.fas.org/man/dod-101/sys/ship/weaps/mk-46.htm '/> |
| 12 | <meta name='identifier' content=' https://www.web3d.org/x3d/content/examples/Savage/Weapons/Torpedoes/Mk46Torpedo.x3d '/> |
| 13 | <meta name='generator' content='X3D-Edit 3.2, https://www.web3d.org/x3d/tools/X3D-Edit'/> |
| 14 | <meta name='license' content='../../license.html'/> |
| 15 | </head> |
| 16 | <Scene> |
| 17 | <WorldInfo title='Mk46Torpedo.x3d'/> |
| 18 | <WorldInfo info='"Only unclassified open resources were used to create this model."'/> |
| 19 | <Inline url=' "../../Tools/Authoring/GridXZ_20x20Movable.x3d" "https://www.web3d.org/x3d/content/examples/Savage/Tools/Authoring/GridXZ_20x20Movable.x3d" "../../Tools/Authoring/GridXZ_20x20Movable.wrl" "https://www.web3d.org/x3d/content/examples/Savage/Tools/Authoring/GridXZ_20x20Movable.wrl" '/> |
| 20 | <Viewpoint description='Mk46 Torpedo' position='0 0 5'/> |
| 21 | <Group> |
| 22 | <Transform DEF='torpedo' rotation='0.0 0.0 1.0 1.57079' translation='2.66 0 0'> |
| 23 | <Transform DEF='torpedoband1' translation='0.0 2.53 0.0'> |
| 24 | <Shape> |
| 25 | <Cylinder bottom='false' height='2.13' radius='0.163' top='false'/> |
| 26 | <Appearance> |
| 27 | <Material diffuseColor='0.1 0.2 0.1' specularColor='0.15 0.25 0.15'/> |
| 28 | </Appearance> |
| 29 | </Shape> |
| 30 | </Transform> |
| 31 | <Transform DEF='torpedonose' rotation='1.0 0.0 0.0 3.1416' scale='0.613 0.3 0.613' translation='0.0 1.485 0.0'> |
| 32 | <Shape> |
| 33 | <Appearance> |
| 34 | <Material diffuseColor='0.05 0.05 0.075' specularColor='0.1 0.1 0.15'/> |
| 35 | </Appearance> |
| 36 | <Extrusion creaseAngle='1.785' crossSection='0.267 0.000 0.231 -0.134 0.134 -0.231 0.0 -0.267 -0.134 -0.231 -0.231 -0.134 -0.267 0.000 -0.231 0.134 -0.134 0.231 0.0 0.267 0.134 0.231 0.231 0.134 0.267 0.0' scale='1.00 1.00 0.95 0.95 0.88 0.88 0.76 0.76 0.48 0.48' spine='0.00 0.00 0.00 0.00 0.10 0.00 0.00 0.20 0.00 0.00 0.30 0.00 0.00 0.40 0.00'/> |
| 37 | </Shape> |
| 38 | </Transform> |
| 39 | <Transform scale='0.613 0.25 0.613' translation='0 1.95 0'> |
| 40 | <Group DEF='controlfins'> |
| 41 | <Transform rotation='0 -1 0 5.27' translation='0.0 0.125 0.0'> |
| 42 | <Transform DEF='ControlFin1'/> |
| 43 | <Transform DEF='ControlFin2' rotation='0 1 0 3.17'/> |
| 44 | <Transform DEF='ControlFin3' rotation='0 1 0 1.57'/> |
| 45 | <Transform DEF='ControlFin4' rotation='0.0 1.0 0.0 4.74'/> |
| 46 | </Transform> |
| 47 | </Group> |
| 48 | <Group DEF='stabilzerfins'> |
| 49 | <Transform translation='0.0 8.15 0.0'> |
| 50 |
<!-- Transform
stabilizerfin1 is a DEF node that has 1 USE node: USE_1 -->
<Transform DEF='stabilizerfin1' translation='0.19 -0.625 0.0'> |
| 51 | <Shape> |
| 52 | <Box size='0.175 0.75 0.02'/> |
| 53 | <Appearance> |
| 54 | <Material diffuseColor='0.1 0.2 0.1'/> |
| 55 | </Appearance> |
| 56 | </Shape> |
| 57 | </Transform> |
| 58 |
<!-- Transform
stabilizerfin2 is a DEF node that has 1 USE node: USE_1 -->
<Transform DEF='stabilizerfin2' rotation='0.0 1.0 0.0 1.57' translation='0.0 -0.625 0.19'> |
| 59 | <Shape> |
| 60 | <Box size='0.175 0.75 0.02'/> |
| 61 | <Appearance> |
| 62 | <Material diffuseColor='0.1 0.2 0.1'/> |
| 63 | </Appearance> |
| 64 | </Shape> |
| 65 | </Transform> |
| 66 | <Transform DEF='stabilizerfin3' rotation='0.0 1.0 0.0 3.1416'> |
| 67 | <Transform USE='stabilizerfin1'/> |
| 68 | </Transform> |
| 69 | <Transform DEF='stabilizerfin4' rotation='0.0 1.0 0.0 3.1416'> |
| 70 | <Transform USE='stabilizerfin2'/> |
| 71 | </Transform> |
| 72 | </Transform> |
| 73 | </Group> |
| 74 | <Group DEF='TailSection'> |
| 75 | <Transform DEF='torpedotail' rotation='1.0 0.0 0.0 3.1416' translation='0.0 7.9375 0.0'> |
| 76 | <Shape> |
| 77 | <Appearance> |
| 78 | <Material diffuseColor='0.05 0.05 0.075' specularColor='0.1 0.1 0.15'/> |
| 79 | </Appearance> |
| 80 | <Extrusion creaseAngle='2.0' crossSection='0.267 0.000 0.231 -0.134 0.134 -0.231 0.0 -0.267 -0.134 -0.231 -0.231 -0.134 -0.267 0.000 -0.231 0.134 -0.134 0.231 0.0 0.267 0.134 0.231 0.231 0.134 0.267 0.0' endCap='false' scale='0.342 0.342 0.500 0.500 0.643 0.643 0.766 0.766 0.866 0.866 0.940 0.940 0.985 0.985 1.0 1.0' spine='0.0 0.0 0.000 0.0 0.114 0.000 0.0 0.266 0.000 0.0 0.453 0.000 0.0 0.670 0.000 0.0 0.910 0.000 0.0 1.166 0.000 0.0 1.431 0.0'/> |
| 81 | </Shape> |
| 82 | <Transform scale='1 1.5 1' translation='0 0.125 0'> |
| 83 | <Shape DEF='torpedoshroud'> |
| 84 | <Appearance> |
| 85 | <Material diffuseColor='0.05 0.05 0.075' specularColor='0.1 0.1 0.15'/> |
| 86 | </Appearance> |
| 87 | <Extrusion creaseAngle='.785' crossSection='0.00 0.00 -0.02 0.00 -0.02 -0.10 -0.06 -0.20 -0.04 -0.20 0.00 -0.10 0.00 0.00' solid='false' spine='0.20 0.00 0.00 0.19 0.00 -0.07 0.15 0.00 -0.13 0.10 0.00 -0.17 0.03 0.00 -0.20 -0.03 0.00 -0.20 -0.10 0.00 -0.17 -0.15 0.00 -0.13 -0.19 0.00 -0.07 -0.20 0.00 0.00 -0.19 0.00 0.07 -0.15 0.00 0.13 -0.10 0.00 0.17 -0.03 0.00 0.20 0.03 0.00 0.20 0.10 0.00 0.17 0.15 0.00 0.13 0.19 0.00 0.07 0.20 0.00 0.00'/> |
| 88 | </Shape> |
| 89 | </Transform> |
| 90 | <Group DEF='torpedostator'> |
| 91 |
<!-- ROUTE information for propeller node:
[from PropSpin.value_changed to rotation
]
-->
<Transform DEF='propeller' translation='0.0 -0.15 0.0'> |
| 92 |
<!-- Group
statorblade1 is a DEF node that has 2 USE nodes: USE_1, USE_2 -->
<Group DEF='statorblade1'> |
| 93 | <Transform DEF='torpedostatorblade1'> |
| 94 | <Transform rotation='-1.0 0.0 0.0 3.43' translation='0.075 0.0 0.0'> |
| 95 | <Shape> |
| 96 | <Box size='0.125 0.09 0.015'/> |
| 97 | <Appearance> |
| 98 | <Material diffuseColor='0.05 0.05 0.075'/> |
| 99 | </Appearance> |
| 100 | </Shape> |
| 101 | </Transform> |
| 102 | </Transform> |
| 103 | <Transform DEF='torpedostatorblade1A'> |
| 104 | <Transform rotation='1 0 0 3.43' translation='-0.075 0.0 0.0'> |
| 105 | <Shape> |
| 106 | <Box size='0.125 0.09 0.015'/> |
| 107 | <Appearance> |
| 108 | <Material diffuseColor='0.05 0.05 0.075'/> |
| 109 | </Appearance> |
| 110 | </Shape> |
| 111 | </Transform> |
| 112 | </Transform> |
| 113 | </Group> |
| 114 | <Group DEF='statorblade2'> |
| 115 | <Transform rotation='0 1 0 2.04'> |
| 116 | <Group USE='statorblade1'/> |
| 117 | </Transform> |
| 118 | </Group> |
| 119 | <Group DEF='statorblade3'> |
| 120 | <Transform rotation='0 -1 0 5.27'> |
| 121 | <Group USE='statorblade1'/> |
| 122 | </Transform> |
| 123 | </Group> |
| 124 | <Transform DEF='statorbladeshaft' translation='0.0 0 0.0'> |
| 125 | <Shape> |
| 126 | <Appearance> |
| 127 | <Material diffuseColor='0.05 0.05 0.075'/> |
| 128 | </Appearance> |
| 129 | <Cylinder height='0.1' radius='0.05'/> |
| 130 | </Shape> |
| 131 | </Transform> |
| 132 | <Transform DEF='statorcrankshaft' translation='0.0 0.1 0.0'> |
| 133 | <Shape> |
| 134 | <Cylinder height='.125' radius='.025'/> |
| 135 | <Appearance> |
| 136 | <Material diffuseColor='0.0 0.0 0.75'/> |
| 137 | </Appearance> |
| 138 | </Shape> |
| 139 | </Transform> |
| 140 | </Transform> |
| 141 |
<!-- ROUTE information for PropSpin node:
[from Clock.fraction_changed to set_fraction
]
[from value_changed to propeller.rotation
]
-->
<OrientationInterpolator DEF='PropSpin' key='0.0 0.5 1.0' keyValue='0.0 1.0 0.0 0.00 0.0 1.0 0.0 3.14 0.0 1.0 0.0 6.28'/> |
| 142 |
<!-- ROUTE information for Clock node:
[from fraction_changed to PropSpin.set_fraction
]
-->
<TimeSensor DEF='Clock' cycleInterval='0.5' loop='true'/> |
| 143 | <!-- Spins the propellor and stator once every 4 seconds --> |
| 144 | </Group> |
| 145 | </Transform> |
| 146 | </Group> |
| 147 | </Transform> |
| 148 | </Transform> |
| 149 | </Group> |
| 150 | < ROUTE fromNode='Clock' fromField='fraction_changed' toNode='PropSpin' toField='set_fraction'/> |
| 151 | < ROUTE fromNode='PropSpin' fromField='value_changed' toNode='propeller' toField='rotation'/> |
| 152 | </Scene> |
| 153 | </X3D> |
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.
|
Clock
TimeSensor fraction_changed SFFloat |
PropSpin
OrientationInterpolator set_fraction SFFloat |
then
|
PropSpin
OrientationInterpolator value_changed SFRotation |
propeller
Transform 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.
-->