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=' RHIBPrototype.x3d '/> |
6 | <meta name='creator' content='James Harney'/> |
7 | <meta name='created' content='12 November 2001'/> |
8 | <meta name='modified' content='20 October 2019'/> |
9 | <meta name='description' content='Simple model of US Navy non-Spec War RHIB boat. Aligned down positive x axis as required for Savage vehicle models.'/> |
10 | <meta name='reference' content='RHIBBoatControlPanel.bat'/> |
11 | <meta name='reference' content=' http://www.foia.navy.mil/usscole/index.html '/> |
12 | <meta name='reference' content=' https://www.fas.org/man/dod-101/navy/docs/swos/eng/62b-416/sld005.htm '/> |
13 | <meta name='reference' content=' https://www.fas.org/man/dod-101/navy/docs/swos/eng/62b-416/sld006.htm '/> |
14 | <meta name='reference' content=' https://www.web3d.org/x3d/content/examples/Savage/ShipsMilitary/FrigateYavuzTurkey/TurkishFlag.x3d '/> |
15 | <meta name='identifier' content=' https://www.web3d.org/x3d/content/examples/Savage/Scenarios/UssColeTerroristAttack/RHIBPrototype.x3d '/> |
16 | <meta name='generator' content='X3D-Edit 3.2, https://www.web3d.org/x3d/tools/X3D-Edit'/> |
17 | <meta name='license' content='../../license.html'/> |
18 | </head> |
19 | <Scene> |
20 | <WorldInfo title='RHIBPrototype.x3d'/> |
21 | <ProtoDeclare name='RHIB' appinfo='Rigid Hull Inflatable Boat'> |
22 | <ProtoInterface> |
23 | <field name='startExplosion' type='SFTime' accessType='inputOnly'/> |
24 | </ProtoInterface> |
25 | <ProtoBody> |
26 | <Group> |
27 | <Transform> |
28 | <Viewpoint DEF='STBD' description='RHIB Boat stbd View' jump='false' orientation='1 0 0 -0.2' position='0 10 25'/> |
29 | <Viewpoint DEF='FRONT' centerOfRotation='0 8 0' description='RHIB Boat Front View' jump='false' orientation='0 1 0 1.57' position='27 8 0'/> |
30 | <Viewpoint DEF='PORT' centerOfRotation='0 8 0' description='RHIB Boat Port View' jump='false' orientation='0 1 0 3.14' position='0 8 -25'/> |
31 | <Viewpoint DEF='REAR' centerOfRotation='0 8 0' description='RHIB Boat Rear View' jump='false' orientation='0 1 0 -1.57' position='-25 8 0'/> |
32 | </Transform> |
33 |
<!-- ROUTE information for BoatPositClock node:
[from fraction_changed to BoatPosit.set_fraction
]
-->
<TimeSensor DEF='BoatPositClock' cycleInterval='1.8'> |
34 | <IS> |
35 | <connect nodeField='startTime' protoField='startExplosion'/> |
36 | </IS> |
37 | </TimeSensor> |
38 |
<!-- ROUTE information for BoatPosit node:
[from BoatPositClock.fraction_changed to set_fraction
]
[from value_changed to BoatTransform.set_translation
]
-->
<PositionInterpolator DEF='BoatPosit' key='.9 1' keyValue='0 0 0 0 -15 0'/> |
39 |
<!-- ROUTE information for BoatTransform node:
[from BoatPosit.value_changed to set_translation
]
-->
<Transform DEF='BoatTransform'> |
40 | <Transform> |
41 | <!-- Hull --> |
42 | <Shape> |
43 | <Extrusion creaseAngle='1.57' crossSection='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' orientation='0 1 0 0 0 1 0 0 0 0 1 -0.5' scale='1.25 2 1.25 2 1.25 .1' solid='false' spine='0 0 0 5.775 0 0 7.9 0.25 0'/> |
44 | <Appearance> |
45 | <Material diffuseColor='.9 .9 .9' shininess='1'/> |
46 | </Appearance> |
47 | </Shape> |
48 | <!-- Deck --> |
49 | <Shape> |
50 | <Extrusion creaseAngle='1.57' crossSection='0.10 0.96 0.10 -0.96' scale='1 1.75 1 1.75 1 .1' solid='false' spine='.1 -.5 0 5.6 -.5 0 7.8 0.25 0'/> |
51 | <Appearance> |
52 | <Material diffuseColor='.05 .05 .05' emissiveColor='.05 .05 .05'/> |
53 | </Appearance> |
54 | </Shape> |
55 | <!-- Air cushion --> |
56 | <Shape> |
57 | <Appearance> |
58 | <Material diffuseColor='.7 .7 .7' shininess='.3'/> |
59 | </Appearance> |
60 | <Extrusion creaseAngle='.785' crossSection='1.00 0 .92 -.38 .71 -.71 .38 -.92 .00 -1.00 -.38 -.92 -.71 -.71 -.92 -.38 -1.00 -0.00 -.92 .38 -.71 .71 -.38 .92 0.00 1.00 .38 .92 .71 .71 .92 .38 1.00 0.00' scale='.1 .1 .4 .4 .4 .4 .4 .4 .4 .4 .4 .4 .4 .4 .1 .1' solid='false' spine='-.66 0 -1.75 0 0 -1.75 5.775 0 -1.75 7.62 .25 -.25 7.62 .25 .25 5.775 0 1.75 0 0 1.75 -.66 0 1.75'/> |
61 | </Shape> |
62 | </Transform> |
63 | <!-- Driving console --> |
64 | <Transform translation='0 -.2 0'> |
65 | <Shape> |
66 | <IndexedFaceSet solid='false' coordIndex='0 2 6 4 0 -1 1 3 7 5 1 -1 0 1 5 4 0 -1 2 3 7 6 2 -1 4 6 7 5 4 -1'> |
67 | <Coordinate point='2 0 .5 3 0 .5 2 0 -.5 3 0 -.5 2 1 .5 3 1.5 .5 2 1 -.5 3 1.5 -.5'/> |
68 | </IndexedFaceSet> |
69 | <Appearance> |
70 | <Material diffuseColor='.8 .8 .8'/> |
71 | </Appearance> |
72 | </Shape> |
73 | </Transform> |
74 | <!-- Flag code, based off Turkish Frigate in meta ref. --> |
75 | <Transform rotation='0 0 1 .2'> |
76 | <Group> |
77 | <Transform rotation='0 1 0 3.14' scale='.2 .2 .2' translation='0 1.0 0.0'> |
78 | <Shape> |
79 | <IndexedFaceSet DEF='Flag' convex='false' solid='false' coordIndex='0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 0'> |
80 |
<!-- ROUTE information for FlagCoor node:
[from MoveFlag.value_changed to set_point
]
-->
<Coordinate DEF='FlagCoor' point='0.0 0.0 0.0 0.5 0.0 0.0 1.0 0.0 0.0 1.5 0.0 0.0 2.0 0.0 0.0 2.5 0.0 0.0 3.0 0.0 0.0 3.5 0.0 0.0 4.0 0.0 0.0 4.5 0.0 0.0 5.0 0.0 0.0 5.5 0.0 0.0 6.0 0.0 0.0 6.5 0.0 0.0 7.0 0.0 0.0 7.5 0.0 0.0 7.5 0.5 0.0 7.5 1.0 0.0 7.5 1.5 0.0 7.5 2.0 0.0 7.5 2.5 0.0 7.5 3.0 0.0 7.5 3.5 0.0 7.5 4.0 0.0 7.5 4.5 0.0 7.5 5.0 0.0 7.0 5.0 0.0 6.5 5.0 0.0 6.0 5.0 0.0 5.5 5.0 0.0 5.0 5.0 0.0 4.5 5.0 0.0 4.0 5.0 0.0 3.5 5.0 0.0 3.0 5.0 0.0 2.5 5.0 0.0 2.0 5.0 0.0 1.5 5.0 0.0 1.0 5.0 0.0 0.5 5.0 0.0 0.0 5.0 0.0 0.0 4.5 0.0 0.0 4.0 0.0 0.0 3.5 0.0 0.0 3.0 0.0 0.0 2.5 0.0 0.0 2.0 0.0 0.0 1.5 0.0 0.0 1.0 0.0 0.0 0.5 0.0'/> |
81 | </IndexedFaceSet> |
82 | <Appearance> |
83 | <Material shininess='0.8'/> |
84 |
<ImageTexture repeatS='false' repeatT='false'
url=' "UsaFlag.png![]() ![]() ![]() ![]() |
85 | <TextureTransform scale='1.0 1.3' translation='0.0 0.05'/> |
86 | </Appearance> |
87 | </Shape> |
88 | <Shape> |
89 | <IndexedFaceSet solid='false' coordIndex='0 1 2 3 0'> |
90 | <Coordinate point='-0.3 -5.0 0.0 0.0 -5.0 0.0 0.0 5.0 0.0 -0.3 5.0 0.0'/> |
91 | </IndexedFaceSet> |
92 | <Appearance> |
93 | <Material diffuseColor='.7 .7 .7'/> |
94 | </Appearance> |
95 | </Shape> |
96 |
<!-- ROUTE information for timer node:
[from fraction_changed to MoveFlag.set_fraction
]
-->
<TimeSensor DEF='timer' cycleInterval='4.0' loop='true'/> |
97 |
<!-- ROUTE information for MoveFlag node:
[from timer.fraction_changed to set_fraction
]
[from value_changed to FlagCoor.set_point
]
-->
<CoordinateInterpolator DEF='MoveFlag' key='0.0 0.25 0.5 0.75 1.0' keyValue='0.0 0.0 0.0 0.5 0.0 0.87 1.0 0.0 1.0 1.5 0.0 0.87 2.0 0.0 0.0 2.5 0.0 -0.87 3.0 0.0 -1.0 3.5 0.0 -0.87 4.0 0.0 0.0 4.5 0.0 0.87 5.0 0.0 1.0 5.5 0.0 0.87 6.0 0.0 0.0 6.5 0.0 -0.87 7.0 0.0 -1.0 7.5 0.0 -0.87 7.5 0.5 -0.87 7.5 1.0 -0.87 7.5 1.5 -0.87 7.5 2.0 -0.87 7.5 2.5 -0.87 7.5 3.0 -0.87 7.5 3.5 -0.87 7.5 4.0 -0.87 7.5 4.5 -0.87 7.5 5.0 -0.87 7.0 5.0 -1.0 6.5 5.0 -0.87 6.0 5.0 0.0 5.5 5.0 0.87 5.0 5.0 1.0 4.5 5.0 0.87 4.0 5.0 0.0 3.5 5.0 -0.87 3.0 5.0 -1.0 2.5 5.0 -0.87 2.0 5.0 0.0 1.5 5.0 0.87 1.0 5.0 1.0 0.5 5.0 0.87 0.0 5.0 0.0 0.0 4.5 0.0 0.0 4.0 0.0 0.0 3.5 0.0 0.0 3.0 0.0 0.0 2.5 0.0 0.0 2.0 0.0 0.0 1.5 0.0 0.0 1.0 0.0 0.0 0.5 0.0 0.0 0.0 0.0 0.5 0.5 0.5 0.0 0.0 0.0 0.5 0.0 -0.87 1.0 0.0 -1.0 1.5 0.0 -0.87 2.0 0.0 0.0 2.5 0.0 0.87 3.0 0.0 1.0 3.5 0.0 0.87 4.0 0.0 0.0 4.5 0.0 -0.87 5.0 0.0 -1.0 5.5 0.0 -0.87 6.0 0.0 0.0 6.5 0.0 0.87 7.0 0.0 1.0 7.5 0.0 0.87 7.5 0.5 0.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0 6.5 5.0 -0.87 6.0 5.0 0.0 5.5 5.0 0.87 5.0 5.0 1.0 4.5 5.0 0.87 4.0 5.0 0.0 3.5 5.0 -0.87 3.0 5.0 -1.0 2.5 5.0 -0.87 2.0 5.0 0.0 1.5 5.0 0.87 1.0 5.0 1.0 0.5 5.0 0.87 0.0 5.0 0.0 0.0 4.5 0.0 0.0 4.0 0.0 0.0 3.5 0.0 0.0 3.0 0.0 0.0 2.5 0.0 0.0 2.0 0.0 0.0 1.5 0.0 0.0 1.0 0.0 0.0 0.5 0.0 0.0 0.0 0.0 0.0 0.0 0.0'/> |
98 | </Transform> |
99 | </Group> |
100 | </Transform> |
101 | </Transform> |
102 | < ROUTE fromNode='timer' fromField='fraction_changed' toNode='MoveFlag' toField='set_fraction'/> |
103 | < ROUTE fromNode='MoveFlag' fromField='value_changed' toNode='FlagCoor' toField='set_point'/> |
104 | < ROUTE fromNode='BoatPositClock' fromField='fraction_changed' toNode='BoatPosit' toField='set_fraction'/> |
105 | < ROUTE fromNode='BoatPosit' fromField='value_changed' toNode='BoatTransform' toField='set_translation'/> |
106 | </Group> |
107 | </ProtoBody> |
108 | </ProtoDeclare> |
109 | <NavigationInfo speed='10' type='"EXAMINE" "FLY" "ANY"' visibilityLimit='7000'/> |
110 | <Background groundAngle='1.309 1.570796' groundColor='0.1 0.1 0 0.4 0.25 0.2 0.6 0.6 0.6' skyAngle='1.309 1.571' skyColor='0 0.2 0.7 0 0.5 1 1 1 1'/> |
111 |
<!-- ROUTE information for Boat node:
[from Touch.touchTime to startExplosion
]
-->
<ProtoInstance name='RHIB' DEF='Boat'/> |
112 | <Viewpoint description='RHIB View' jump='false' orientation='1 0 0 -0.2' position='0 10 25'/> |
113 |
<!-- ROUTE information for Touch node:
[from touchTime to Boat.startExplosion
]
-->
<TouchSensor DEF='Touch' description='touch to activate'/> |
114 | < ROUTE fromNode='Touch' fromField='touchTime' toNode='Boat' toField='startExplosion'/> |
115 | </Scene> |
116 | </X3D> |
Event Graph ROUTE Table entries with 5 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.
Touch
TouchSensor touchTime SFTime |
Boat
ProtoInstance startExplosion SFTime |
BoatPositClock
TimeSensor fraction_changed SFFloat |
BoatPosit
PositionInterpolator set_fraction SFFloat |
then
|
BoatPosit
PositionInterpolator value_changed SFVec3f |
BoatTransform
Transform set_translation SFVec3f |
timer
TimeSensor fraction_changed SFFloat |
MoveFlag
CoordinateInterpolator set_fraction SFFloat |
then
|
MoveFlag
CoordinateInterpolator value_changed MFVec3f |
FlagCoor
Coordinate set_point MFVec3f |
Boat
ProtoInstance RHIB |
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. |
<!--
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)
<ProtoInstance name='ProtoName'>
<field
name='fieldName'/> </ProtoInstance>
-->
<!--
For additional help information about X3D scenes, please see X3D Tooltips, X3D Resources, and X3D Scene Authoring Hints.
-->