| 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=' GarbageBoatPrototype.x3d '/> |
| 6 | <meta name='creator' content='James Harney'/> |
| 7 | <meta name='created' content='17 December 2001'/> |
| 8 | <meta name='modified' content='20 October 2019'/> |
| 9 | <meta name='description' content='Simple model of a presumed Garbage boat present on the day of the terrorist attack on the USS COLE in Aden, Yemen Aligned down positive x axis as required for Savage vehicle models.'/> |
| 10 | <meta name='reference' content=' https://www.web3d.org/x3d/content/examples/Savage/Scenarios/UssColeTerroristAttack/TerroristBoatControlPanel.java '/> |
| 11 | <meta name='reference' content=' https://www.web3d.org/x3d/content/examples/Savage/Scenarios/UssColeTerroristAttack/TerroristBoatActionInterpreter.java '/> |
| 12 | <meta name='reference' content=' http://www.foia.navy.mil/usscole/index.html '/> |
| 13 | <meta name='identifier' content=' https://www.web3d.org/x3d/content/examples/Savage/Scenarios/UssColeTerroristAttack/GarbageBoatPrototype.x3d '/> |
| 14 | <meta name='generator' content='X3D-Edit 3.3, https://www.web3d.org/x3d/tools/X3D-Edit'/> |
| 15 | <meta name='license' content='../../license.html'/> |
| 16 | </head> |
| 17 | <Scene> |
| 18 | <WorldInfo title='GarbageBoatPrototype.x3d'/> |
| 19 | <ProtoDeclare name='GarbageBoat'> |
| 20 | <ProtoInterface> |
| 21 | <field name='startExplosion' type='SFTime' accessType='inputOnly'/> |
| 22 | </ProtoInterface> |
| 23 | <ProtoBody> |
| 24 | <Group> |
| 25 | <Transform> |
| 26 | <Viewpoint DEF='STBD' description='Garbage Boat stbd View' jump='false' orientation='1 0 0 -0.2' position='5 10 35'/> |
| 27 | <Viewpoint DEF='REAR' description='Garbage Boat Rear View' jump='false' orientation='0 1 0 -1.57' position='-30 8 0'/> |
| 28 | <Viewpoint description='Garbage Boat Port View' jump='false' orientation='0 1 0 3.14' position='5 8 -30'/> |
| 29 | <Viewpoint DEF='FRONT' description='Garbage Boat Front View' jump='false' orientation='0 1 0 1.57' position='32 8 0'/> |
| 30 | </Transform> |
| 31 |
<!-- ROUTE information for BoatPosit node:
[from BoatPositClock.fraction_changed to set_fraction
]
[from value_changed to BoatTransform.set_translation
]
-->
<PositionInterpolator DEF='BoatPosit' key='0.325 0.9 1' keyValue='0 0 0 0 -15 0 0 -.5 0'/> |
| 32 |
<!-- ROUTE information for BoatPositClock node:
[from fraction_changed to BoatPosit.set_fraction
]
[from startTime to DeadBoat.set_startTime
]
-->
<TimeSensor DEF='BoatPositClock' cycleInterval='3.6'> |
| 33 | <IS> |
| 34 | <connect nodeField='startTime' protoField='startExplosion'/> |
| 35 | </IS> |
| 36 | </TimeSensor> |
| 37 |
<!-- ROUTE information for DeadBoat node:
[from BoatPositClock.startTime to set_startTime
]
[from fraction_changed to DeadOrient.set_fraction
]
-->
<TimeSensor DEF='DeadBoat' cycleInterval='5'/> |
| 38 |
<!-- ROUTE information for DeadOrient node:
[from DeadBoat.fraction_changed to set_fraction
]
[from value_changed to BoatTransform.set_rotation
]
-->
<OrientationInterpolator DEF='DeadOrient' key='0.4 0.9 1' keyValue='1 0 0 0.00 1 0 0 3.14 1 0 0 3.14'/> |
| 39 |
<!-- ROUTE information for BoatTransform node:
[from BoatPosit.value_changed to set_translation
]
[from DeadOrient.value_changed to set_rotation
]
-->
<Transform DEF='BoatTransform'> |
| 40 | <Transform scale='.5 .5 .5'> |
| 41 | <Shape> |
| 42 | <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 1 1 1 1 .1' solid='false' spine='0 0 0 7.8842 0 0 10.7 0.25 0'/> |
| 43 | <Appearance> |
| 44 | <Material diffuseColor='.9 .9 .9' shininess='.1'/> |
| 45 |
<ImageTexture DEF='TEXTURE'
url=' "BoatTexture.jpg
" "../../Scenarios/UssColeTerroristAttack/BoatTexture.jpg
" "https://www.web3d.org/x3d/content/examples/Savage/Scenarios/UssColeTerroristAttack/BoatTexture.jpg
" '/>
|
| 46 | </Appearance> |
| 47 | </Shape> |
| 48 | <Shape> |
| 49 | <Extrusion creaseAngle='1.57' crossSection='0.10 0.96 0.10 -0.96' scale='1 1 1 1 1 .1' solid='false' spine='.1 0 0 7.8842 0 0 10.6 0.25 0'/> |
| 50 | <Appearance> |
| 51 | <Material diffuseColor='.1 1 .1'/> |
| 52 |
<ImageTexture
url=' "BoatTextureGreen.jpg
" "../../Scenarios/UssColeTerroristAttack/BoatTextureGreen.jpg
" "https://www.web3d.org/x3d/content/examples/Savage/Scenarios/UssColeTerroristAttack/BoatTextureGreen.jpg
" '/>
|
| 53 | </Appearance> |
| 54 | </Shape> |
| 55 | </Transform> |
| 56 | <Transform scale='.5 .75 .5' translation='0 -.2 0'> |
| 57 | <Shape> |
| 58 | <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'> |
| 59 | <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'/> |
| 60 | </IndexedFaceSet> |
| 61 | <Appearance> |
| 62 | <Material diffuseColor='.9 .9 .9'/> |
| 63 | </Appearance> |
| 64 | </Shape> |
| 65 | </Transform> |
| 66 | </Transform> |
| 67 | < ROUTE fromNode='BoatPositClock' fromField='fraction_changed' toNode='BoatPosit' toField='set_fraction'/> |
| 68 | < ROUTE fromNode='BoatPosit' fromField='value_changed' toNode='BoatTransform' toField='set_translation'/> |
| 69 | < ROUTE fromNode='BoatPositClock' fromField='startTime' toNode='DeadBoat' toField='set_startTime'/> |
| 70 | < ROUTE fromNode='DeadBoat' fromField='fraction_changed' toNode='DeadOrient' toField='set_fraction'/> |
| 71 | < ROUTE fromNode='DeadOrient' fromField='value_changed' toNode='BoatTransform' toField='set_rotation'/> |
| 72 | </Group> |
| 73 | </ProtoBody> |
| 74 | </ProtoDeclare> |
| 75 | <NavigationInfo speed='10' type='"EXAMINE" "FLY" "ANY"' visibilityLimit='7000'/> |
| 76 | <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'/> |
| 77 |
<!-- ROUTE information for Boat node:
[from Touch.touchTime to startExplosion
]
-->
<ProtoInstance name='GarbageBoat' DEF='Boat'/> |
| 78 | <Viewpoint description='Garbage Boat View' jump='false' orientation='1 0 0 -0.2' position='0 10 35'/> |
| 79 |
<!-- ROUTE information for Touch node:
[from touchTime to Boat.startExplosion
]
-->
<TouchSensor DEF='Touch'/> |
| 80 | < ROUTE fromNode='Touch' fromField='touchTime' toNode='Boat' toField='startExplosion'/> |
| 81 | </Scene> |
| 82 | </X3D> |
Event Graph ROUTE Table entries with 6 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 |
||||||
|
BoatPositClock
TimeSensor startTime SFTime |
DeadBoat
TimeSensor set_startTime SFTime |
then
|
DeadBoat
TimeSensor fraction_changed SFFloat |
DeadOrient
OrientationInterpolator set_fraction SFFloat |
then
|
DeadOrient
OrientationInterpolator value_changed SFRotation |
BoatTransform
Transform set_rotation SFRotation |
|
Boat
ProtoInstance GarbageBoat |
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.
-->