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=' Manta4.x3d '/> |
6 | <meta name='description' content='Original model of Manta UUV by Naval Undersea Warfare Center (NUWC) Newport Rhode Island.'/> |
7 | <meta name='creator' content='Mark Boyd'/> |
8 | <meta name='translator' content='Don Brutzman'/> |
9 | <meta name='created' content='21 May 1997'/> |
10 | <meta name='translated' content='7 June 2004'/> |
11 | <meta name='modified' content='20 October 2019'/> |
12 | <meta name='subject' content='Manta UUV'/> |
13 | <meta name='identifier' content=' https://www.web3d.org/x3d/content/examples/Savage/Robots/UnmannedUnderwaterVehicles/Manta4.x3d '/> |
14 | <meta name='generator' content=' Vrml97ToX3dNist, http://ovrt.nist.gov/v2_x3d.html '/> |
15 | <meta name='license' content='../../license.html'/> |
16 | </head> |
17 | <Scene> |
18 | <WorldInfo title='Manta4.x3d'/> |
19 | <Viewpoint description='Manta side view' position='0 0 20'/> |
20 | <!-- correct strange coordinate system for this model to align with Y up, X north, Z east --> |
21 | <Transform rotation='1.0 0.0 0.0 -1.57'> |
22 | <Transform rotation='0.0 0.0 -1.0 1.57'> |
23 | <Shape> |
24 | <Appearance> |
25 | <Material ambientIntensity='0.1' diffuseColor='0.5 0.5 0.5' shininess='0.3' specularColor='0.83 0.83 0.83'/> |
26 | </Appearance> |
27 | <Extrusion convex='false' creaseAngle='1.785' crossSection='-3.0 -0.31034 -2.4 -0.10345 -1.8 -0.31034 -1.2 -0.82759 -0.6 -1.24138 0.0 -1.34483 0.6 -1.24138 1.2 -0.82759 1.8 -0.31034 2.4 -0.10345 3.0 -0.31034 2.4 0.47586 1.8 0.95172 1.2 1.34483 0.6 1.55172 0.0 1.65517 -0.6 1.55172 -1.2 1.34483 -1.8 0.95172 -2.4 0.47586 -3.0 -0.31034' scale='0.07 0.04 0.2 0.1 0.27 0.2 0.53 0.4 0.75 0.6 0.88 0.8 0.98 0.95 1.0 1.0 1.0 1.0 0.97 0.95 0.95 0.85 0.93 0.75 0.88 0.65 0.81 0.55 0.73 0.45 0.65 0.35 0.55 0.25 0.45 0.17 0.35 0.1 0.25 0.03 0.2 0.02 0.15 0.01 0.04 0.0010' solid='false' spine='0.0 -7.14 0.0 0.0 -6.96 0.0 0.0 -6.79 0.0 0.0 -5.71 0.0 0.0 -4.29 0.0 0.0 -2.86 0.0 0.0 -1.43 0.0 0.0 0.0 0.0 0.0 0.36 0.0 0.0 2.86 0.0 0.0 4.29 0.0 0.0 5.71 0.0 0.0 7.14 0.0 0.0 8.57 0.0 0.0 10.0 0.0 0.0 11.43 0.0 0.0 12.86 0.0 0.0 14.29 0.0 0.0 15.71 0.0 0.0 17.14 0.0 0.0 17.5 0.0 0.0 17.68 0.0 0.0 17.86 0.0'/> |
28 | </Shape> |
29 | <Transform rotation='0.0 0.0 1.0 1.57' translation='0.0 15.0 0.0'> |
30 | <Transform rotation='1.0 0.0 0.0 1.57'> |
31 | <Transform DEF='SONAR' rotation='0.0 0.0 1.0 1.57'> |
32 |
<!-- ROUTE information for CONETRA node:
[from S.value_changed to scale
]
[from P.value_changed to translation
]
-->
<Transform DEF='CONETRA' center='0.0 15.0 0.0'> |
33 | <Shape> |
34 | <Appearance> |
35 |
<!-- ROUTE information for CONEMAT node:
[from C.value_changed to set_diffuseColor
]
-->
<Material DEF='CONEMAT' diffuseColor='0.0 1.0 0.0' transparency='0.5'/> |
36 | </Appearance> |
37 | <Sphere DEF='SPHEREGEO' radius='0.1'/> |
38 | </Shape> |
39 | </Transform> |
40 | </Transform> |
41 | <Sound maxBack='500.0' maxFront='500.0' minBack='50.0' minFront='50.0'> |
42 |
<!-- ROUTE information for SOUND_SOURCE node:
[from SonarTimer.cycleTime to set_startTime
]
-->
<AudioClip DEF='SOUND_SOURCE' description='Sonar688' url=' "Sonar688.wav" "https://www.web3d.org/x3d/content/examples/Savage/Robots/UnmannedUnderwaterVehicles/Sonar688.wav" '/> |
43 | </Sound> |
44 |
<!-- ROUTE information for S node:
[from SonarTimer.fraction_changed to set_fraction
]
[from value_changed to CONETRA.scale
]
-->
<PositionInterpolator DEF='S' key='0.0 0.137 0.411 0.411 1.0' keyValue='1.0 1.0 1.0 300.0 1.0 1500.0 900.0 1.0 4500.0 0.0010 0.0010 0.0010 0.0010 0.0010 0.0010'/> |
45 |
<!-- ROUTE information for P node:
[from SonarTimer.fraction_changed to set_fraction
]
[from value_changed to CONETRA.translation
]
-->
<PositionInterpolator DEF='P' key='0.0 0.137 0.411 0.411 1.0' keyValue='0.0 0.0 0.0 0.0 -1015.0 0.0 0.0 -3045.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0'/> |
46 |
<!-- ROUTE information for C node:
[from SonarTimer.fraction_changed to set_fraction
]
[from value_changed to CONEMAT.set_diffuseColor
]
-->
<ColorInterpolator DEF='C' key='0.0 0.137 0.205 0.274 0.411 1.0' keyValue='0.0 1.0 0.0 0.0 1.0 0.0 1.0 0.2 0.2 1.0 0.0 0.0 1.0 0.0 0.0 1.0 0.0 0.0'/> |
47 |
<!-- ROUTE information for SonarTimer node:
[from cycleTime to SOUND_SOURCE.set_startTime
]
[from fraction_changed to S.set_fraction
]
[from fraction_changed to P.set_fraction
]
[from fraction_changed to C.set_fraction
]
-->
<TimeSensor DEF='SonarTimer' cycleInterval='5.0' loop='true'/> |
48 | < ROUTE fromNode='SonarTimer' fromField='cycleTime' toNode='SOUND_SOURCE' toField='set_startTime'/> |
49 | < ROUTE fromNode='SonarTimer' fromField='fraction_changed' toNode='S' toField='set_fraction'/> |
50 | < ROUTE fromNode='SonarTimer' fromField='fraction_changed' toNode='P' toField='set_fraction'/> |
51 | < ROUTE fromNode='SonarTimer' fromField='fraction_changed' toNode='C' toField='set_fraction'/> |
52 | < ROUTE fromNode='S' fromField='value_changed' toNode='CONETRA' toField='scale'/> |
53 | < ROUTE fromNode='P' fromField='value_changed' toNode='CONETRA' toField='translation'/> |
54 | < ROUTE fromNode='C' fromField='value_changed' toNode='CONEMAT' toField='set_diffuseColor'/> |
55 | </Transform> |
56 | </Transform> |
57 | <Transform rotation='1.0 0.0 0.0 1.57' translation='0.0 -1.5 1.5'> |
58 | <Shape> |
59 | <Appearance> |
60 | <Material diffuseColor='0.0 0.5 0.0'/> |
61 | </Appearance> |
62 | <Extrusion creaseAngle='1.78' crossSection='-0.25 0.9 0.25 0.9 0.25 -3.5 -0.25 -3.5 -0.25 0.9' scale='1.0 1.6 1.0 1.2 1.0 0.8 1.0 0.4' spine='0.0 -0.25 0.0 0.0 0.35 0.0 0.0 0.7 0.0 0.0 1.0 0.0'/> |
63 | </Shape> |
64 | </Transform> |
65 | </Transform> |
66 | </Transform> |
67 | </Scene> |
68 | </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.
SonarTimer
TimeSensor cycleTime SFTime |
SOUND_SOURCE
AudioClip set_startTime SFTime |
|||||
SonarTimer
TimeSensor fraction_changed SFFloat |
S
PositionInterpolator set_fraction SFFloat |
then
|
S
PositionInterpolator value_changed SFVec3f |
CONETRA
Transform scale SFVec3f |
||
SonarTimer
TimeSensor fraction_changed SFFloat |
P
PositionInterpolator set_fraction SFFloat |
then
|
P
PositionInterpolator value_changed SFVec3f |
CONETRA
Transform translation SFVec3f |
||
SonarTimer
TimeSensor fraction_changed SFFloat |
C
ColorInterpolator set_fraction SFFloat |
then
|
C
ColorInterpolator value_changed SFColor |
CONEMAT
Material set_diffuseColor SFColor |
<!--
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.
-->