| 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='SeaDiver.x3d'/> |
| 6 | <meta name='description' content="Systeme d'Exploration Autonome D'Intervention VERsatile (SeaDiver) is an unmanned underwater vehicle (UUV) based on an underwater-glider concept. Dimensions: 2.8m long x 1.7m wide x 0.6m high. Hint: click on plane surfaces for simple animation."/> |
| 7 | <meta name='creator' content='Don Brutzman et Didier Leandri'/> |
| 8 | <meta name='created' content='17 Avril 2002'/> |
| 9 | <meta name='modified' content='20 October 2019'/> |
| 10 | <meta name='reference' content='http://www.univ-tln.fr'/> |
| 11 | <meta name='reference' content='SeaDiverConceptPresentation.ppt'/> |
| 12 |
<meta name='Image' content='SeaDiverIsometricForwardStarboardQuarterView.jpg' />
|
| 13 |
<meta name='Image' content='SeaDiverSideViewPeauQueue.jpg' />
|
| 14 | <meta name='identifier' content='https://savage.nps.edu/Savage/Robots/UnmannedUnderwaterVehicles/SeaDiver.x3d'/> |
| 15 | <meta name='generator' content='X3D-Edit 3.2, https://savage.nps.edu/X3D-Edit'/> |
| 16 | <meta name='license' content='../../license.html'/> |
| 17 | </head> |
| 18 | <Scene> |
| 19 | <Background skyColor='0.05 0.1 0.3'/> |
| 20 | <PointLight DEF='SurfaceLight' color='0.6 0.6 0.6' intensity='0.5' location='0 3 0' radius='8'/> |
| 21 | <Viewpoint DEF='StarboardView' description='SeaDiver starboard side 5m' position='0 0 5'/> |
| 22 | <Transform rotation='0 1 0 -1.57' translation='-5 1 0'> |
| 23 | <Viewpoint description='SeaDiver over-the-shoulder 5m' orientation='1 0 0 -0.25' position='0 0 0'/> |
| 24 | </Transform> |
| 25 | <LOD range='1000'> |
| 26 | <Group> |
| 27 | <Viewpoint description='SeaDiver from above 100m' orientation='-0.58 -0.58 -0.58 2.09' position='0 100 0'/> |
| 28 | <Viewpoint description='SeaDiver starboard side 25m' position='0 0 25'/> |
| 29 | <Viewpoint description='SeaDiver astern 25m' orientation='0 1 0 -1.57' position='-25 0 0'/> |
| 30 | <Viewpoint description='SeaDiver astern 5m' orientation='0 1 0 -1.57' position='-5 0 0'/> |
| 31 | <Viewpoint description='SeaDiver port side 25m' orientation='0 1 0 3.14' position='0 0 -25'/> |
| 32 | <Viewpoint description='SeaDiver port side 5m' orientation='0 1 0 3.14' position='0 0 -5'/> |
| 33 | </Group> |
| 34 | <WorldInfo info='"null node outside of LOD range"'/> |
| 35 | </LOD> |
| 36 | <!-- This file builds the SeaDiver Unmanned Underwater Vehicle (UUV). --> |
| 37 | <Transform> |
| 38 | <!-- Body --> |
| 39 | <Shape> |
| 40 | <Extrusion creaseAngle='3.14' crossSection='0.3 0 0.3 -0.7 0.2 -0.8 0 -.85 -0.2 -0.8 -0.3 -0.7 -0.3 0 -0.3 0.7 -0.2 0.8 0 .85 0.2 0.8 0.3 0.7 0.3 0' scale='0.3 0.3 0.6 0.6 0.77 0.77 0.95 0.95 1 1 0.9 0.95 0.7 0.9 0.4 0.86 0.1 0.8' spine='1.3 0 0 1.25 0 0 1.15 0 0 1.0 0 0 0.7 0 0 0.0 0 0 -0.7 0 0 -1.1 0 0 -1.5 0 0'/> |
| 41 |
<!-- Appearance
HullAppearance is a DEF node that has 4 USE nodes: USE_1, USE_2, USE_3, USE_4 -->
<Appearance DEF='HullAppearance'> |
| 42 | <Material ambientIntensity='0.6' diffuseColor='0.94 0.94 1' shininess='0.9' specularColor='0.7 1 0.8'/> |
| 43 | </Appearance> |
| 44 | </Shape> |
| 45 | <!-- Astern diving planes --> |
| 46 | <Transform translation='-1.5 0 0'> |
| 47 |
<!-- ROUTE information for RotateDivePlanes node:
[from PlaneWiggler.value_changed to set_rotation
]
-->
<Transform DEF='RotateDivePlanes' center='0.25 0 0'> |
| 48 |
<!-- ROUTE information for TouchDivePlanes node:
[from touchTime to WiggleClock.set_startTime
]
-->
<TouchSensor DEF='TouchDivePlanes' description='waggle dive planes'/> |
| 49 | <Transform translation='0 0 0.7'> |
| 50 | <Shape DEF='RightDivePlane'> |
| 51 | <IndexedFaceSet creaseAngle='3.14' solid='false' coordIndex='0 3 2 1 0 -1 4 7 6 5 4 -1 1 2 6 5 -1 2 3 7 6 2 -1 3 0 4 7 3 -1 0 1 5 4 0 -1'> |
| 52 | <Coordinate point='0 0.02 0 0.57 0.02 0.06 0.25 0.02 0.25 0 0.02 0.28 0 -0.02 0 0.57 -0.02 0.06 0.25 -0.02 0.25 0 -0.02 0.28'/> |
| 53 | </IndexedFaceSet> |
| 54 | <Appearance USE='HullAppearance'/> |
| 55 | </Shape> |
| 56 | </Transform> |
| 57 | <Transform translation='0 0 -0.7'> |
| 58 | <Shape DEF='LeftDivePlane'> |
| 59 | <IndexedFaceSet creaseAngle='3.14' solid='false' coordIndex='0 3 2 1 0 -1 4 7 6 5 4 -1 1 2 6 5 -1 2 3 7 6 2 -1 3 0 4 7 3 -1 0 1 5 4 0 -1'> |
| 60 | <Coordinate point='0 0.02 0 0.57 0.02 -0.06 0.25 0.02 -0.25 0 0.02 -0.28 0 -0.02 0 0.57 -0.02 -0.06 0.25 -0.02 -0.25 0 -0.02 -0.28'/> |
| 61 | </IndexedFaceSet> |
| 62 | <Appearance USE='HullAppearance'/> |
| 63 | </Shape> |
| 64 | </Transform> |
| 65 | </Transform> |
| 66 | <Group DEF='RudderGroup'> |
| 67 |
<!-- ROUTE information for TouchRudders node:
[from touchTime to WaggleClock.set_startTime
]
-->
<TouchSensor DEF='TouchRudders' description='wiggle rudders'/> |
| 68 | <Transform DEF='OffsetRudderLeft' translation='0 0.05 -0.3'> |
| 69 |
<!-- ROUTE information for RotateRudderLeft node:
[from RudderWaggler.value_changed to set_rotation
]
-->
<Transform DEF='RotateRudderLeft' center='0.25 0 0'> |
| 70 | |
| 71 | <IndexedFaceSet creaseAngle='3.14' solid='false' coordIndex='0 3 2 1 0 -1 4 7 6 5 4 -1 1 2 6 5 -1 2 3 7 6 2 -1 3 0 4 7 3 -1 0 1 5 4 0 -1'> |
| 72 | <Coordinate point='0 0 0.02 0.0 0.25 0.02 0.25 0.25 0.02 0.5 0.125 0.02 0 0 -0.02 0.0 0.25 -0.02 0.25 0.25 -0.02 0.5 0.125 -0.02'/> |
| 73 | </IndexedFaceSet> |
| 74 | <Appearance USE='HullAppearance'/> |
| 75 | </Shape> |
| 76 | </Transform> |
| 77 | </Transform> |
| 78 | <Transform DEF='OffsetRudderRight' translation='0 0.05 0.3'> |
| 79 |
<!-- ROUTE information for RotateRudderRight node:
[from RudderWaggler.value_changed to set_rotation
]
-->
<Transform DEF='RotateRudderRight' center='0.25 0 0'> |
| 80 | <Shape USE='Rudder'/> |
| 81 | </Transform> |
| 82 | </Transform> |
| 83 | </Group> |
| 84 | </Transform> |
| 85 | <!-- Astern diving-planes shaft --> |
| 86 | <Transform rotation='1 0 0 1.57' translation='-1.25 0 0'> |
| 87 | <Shape> |
| 88 | <Cylinder bottom='false' height='1.5' radius='0.01' top='false'/> |
| 89 | <Appearance USE='HullAppearance'/> |
| 90 | </Shape> |
| 91 | </Transform> |
| 92 | </Transform> |
| 93 | <!-- Example animation for dive planes --> |
| 94 |
<!-- ROUTE information for WiggleClock node:
[from TouchDivePlanes.touchTime to set_startTime
]
[from fraction_changed to PlaneWiggler.set_fraction
]
-->
<TimeSensor DEF='WiggleClock' cycleInterval='4'/> |
| 95 | < ROUTE fromNode='TouchDivePlanes' fromField='touchTime' toNode='WiggleClock' toField='set_startTime'/> |
| 96 |
<!-- ROUTE information for PlaneWiggler node:
[from WiggleClock.fraction_changed to set_fraction
]
[from value_changed to RotateDivePlanes.set_rotation
]
-->
<OrientationInterpolator DEF='PlaneWiggler' key='0 0.25 0.75 1' keyValue='0 0 1 0 0 0 1 0.15 0 0 1 -0.15 0 0 1 0'/> |
| 97 | < ROUTE fromNode='WiggleClock' fromField='fraction_changed' toNode='PlaneWiggler' toField='set_fraction'/> |
| 98 | < ROUTE fromNode='PlaneWiggler' fromField='value_changed' toNode='RotateDivePlanes' toField='set_rotation'/> |
| 99 | <!-- Example animation for rudders --> |
| 100 |
<!-- ROUTE information for WaggleClock node:
[from TouchRudders.touchTime to set_startTime
]
[from fraction_changed to RudderWaggler.set_fraction
]
-->
<TimeSensor DEF='WaggleClock' cycleInterval='4'/> |
| 101 | < ROUTE fromNode='TouchRudders' fromField='touchTime' toNode='WaggleClock' toField='set_startTime'/> |
| 102 |
<!-- ROUTE information for RudderWaggler node:
[from WaggleClock.fraction_changed to set_fraction
]
[from value_changed to RotateRudderLeft.set_rotation
]
[from value_changed to RotateRudderRight.set_rotation
]
-->
<OrientationInterpolator DEF='RudderWaggler' key='0 0.25 0.75 1' keyValue='0 1 0 0 0 1 0 0.15 0 1 0 -0.15 0 1 0 0'/> |
| 103 | < ROUTE fromNode='WaggleClock' fromField='fraction_changed' toNode='RudderWaggler' toField='set_fraction'/> |
| 104 | < ROUTE fromNode='RudderWaggler' fromField='value_changed' toNode='RotateRudderLeft' toField='set_rotation'/> |
| 105 | < ROUTE fromNode='RudderWaggler' fromField='value_changed' toNode='RotateRudderRight' toField='set_rotation'/> |
| 106 | </Scene> |
| 107 | </X3D> |
Event Graph ROUTE Table entries with 7 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.
|
TouchDivePlanes
TouchSensor touchTime SFTime |
WiggleClock
TimeSensor set_startTime SFTime |
then
|
WiggleClock
TimeSensor fraction_changed SFFloat |
PlaneWiggler
OrientationInterpolator set_fraction SFFloat |
then
|
PlaneWiggler
OrientationInterpolator value_changed SFRotation |
RotateDivePlanes
Transform set_rotation SFRotation |
|
TouchRudders
TouchSensor touchTime SFTime |
WaggleClock
TimeSensor set_startTime SFTime |
then
|
WaggleClock
TimeSensor fraction_changed SFFloat |
RudderWaggler
OrientationInterpolator set_fraction SFFloat |
then
|
RudderWaggler
OrientationInterpolator value_changed SFRotation |
RotateRudderLeft
Transform set_rotation SFRotation |
|||
|
then
|
RudderWaggler
OrientationInterpolator value_changed SFRotation |
RotateRudderRight
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.
-->