X3D Model Documentation: Manta4.x3d

  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='titlecontent=' Manta4.x3d '/>
  6            <meta name='descriptioncontent='Original model of Manta UUV by Naval Undersea Warfare Center (NUWC) Newport Rhode Island.'/>
  7            <meta name='creatorcontent='Mark Boyd'/>
  8            <meta name='translatorcontent='Don Brutzman'/>
  9            <meta name='createdcontent='21 May 1997'/>
 10            <meta name='translatedcontent='7 June 2004'/>
 11            <meta name='modifiedcontent='20 October 2019'/>
 12            <meta name='subjectcontent='Manta UUV'/>
 13            <meta name='identifiercontent=' https://www.web3d.org/x3d/content/examples/Savage/Robots/UnmannedUnderwaterVehicles/Manta4.x3d '/>
 14            <meta name='generatorcontent=' Vrml97ToX3dNist, http://ovrt.nist.gov/v2_x3d.html '/>
 15            <meta name='licensecontent='../../license.html'/>
 16       </head>
<!--

<!--
Event Graph ROUTE Table shows event connections.
-->
<!-- to top DEF nodes index: C, CONEMAT, CONETRA, P, S, SONAR, SonarTimer, SOUND_SOURCE, SPHEREGEO

Index for Viewpoint node: Viewpoint_1
-->
 17       <Scene>
 18            <WorldInfo title='Manta4.x3d'/>
 19            <Viewpoint description='Manta side viewposition='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.1diffuseColor='0.5 0.5 0.5shininess='0.3specularColor='0.83 0.83 0.83'/>
 26                           </Appearance>
 27                           <Extrusion convex='falsecreaseAngle='1.785crossSection='-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.31034scale='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.0010solid='falsespine='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.57translation='0.0 15.0 0.0'>
 30                           <Transform rotation='1.0 0.0 0.0 1.57'>
 31                                <Transform DEF='SONARrotation='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='CONETRAcenter='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='CONEMATdiffuseColor='0.0 1.0 0.0transparency='0.5'/>
 36                                               </Appearance>
 37                                               <Sphere DEF='SPHEREGEOradius='0.1'/>
 38                                          </Shape>
 39                                     </Transform>
 40                                </Transform>
 41                                <Sound maxBack='500.0maxFront='500.0minBack='50.0minFront='50.0'>
 42 
                                   <!-- ROUTE information for SOUND_SOURCE node:  [from SonarTimer.cycleTime to set_startTime ] -->
                                   <AudioClip DEF='SOUND_SOURCEdescription='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='Skey='0.0 0.137 0.411 0.411 1.0keyValue='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='Pkey='0.0 0.137 0.411 0.411 1.0keyValue='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='Ckey='0.0 0.137 0.205 0.274 0.411 1.0keyValue='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='SonarTimercycleInterval='5.0loop='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.57translation='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.78crossSection='-0.25 0.9 0.25 0.9 0.25 -3.5 -0.25 -3.5 -0.25 0.9scale='1.0 1.6 1.0 1.2 1.0 0.8 1.0 0.4spine='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 shows event connections.
-->
<!-- to top DEF nodes index: C, CONEMAT, CONETRA, P, S, SONAR, SonarTimer, SOUND_SOURCE, SPHEREGEO

Index for Viewpoint node: Viewpoint_1
-->
X3D Tooltips element index: Appearance, AudioClip, ColorInterpolator, Extrusion, head, Material, meta, PositionInterpolator, ROUTE, Scene, Shape, Sound, Sphere, TimeSensor, Transform, Viewpoint, WorldInfo, X3D, plus documentation for accessType definitions, type definitions, XML data types, and field types

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

ROUTE
event to
(1)
SOUND_SOURCE
AudioClip
set_startTime
SFTime
SonarTimer
TimeSensor
fraction_changed
SFFloat

ROUTE
event to
(1)
S
PositionInterpolator
set_fraction
SFFloat
then
 
 
 
S
PositionInterpolator
value_changed
SFVec3f

ROUTE
event to
(2)
CONETRA
Transform
scale
SFVec3f
SonarTimer
TimeSensor
fraction_changed
SFFloat

ROUTE
event to
(1)
P
PositionInterpolator
set_fraction
SFFloat
then
 
 
 
P
PositionInterpolator
value_changed
SFVec3f

ROUTE
event to
(2)
CONETRA
Transform
translation
SFVec3f
SonarTimer
TimeSensor
fraction_changed
SFFloat

ROUTE
event to
(1)
C
ColorInterpolator
set_fraction
SFFloat
then
 
 
 
C
ColorInterpolator
value_changed
SFColor

ROUTE
event to
(2)
CONEMAT
Material
set_diffuseColor
SFColor


Additional guidance on X3D animation can be found in the 10-Step Animation Design Process and Event Tracing hint sheets. Have fun with X3D! 😀

-->
<!-- Online at
https://www.web3d.org/x3d/content/examples/Savage/Robots/UnmannedUnderwaterVehicles/Manta4Index.html -->
<!-- Version control at
https://sourceforge.net/p/x3d/code/HEAD/tree/www.web3d.org/x3d/content/examples/Savage/Robots/UnmannedUnderwaterVehicles/Manta4.x3d -->

<!-- Color-coding legend: X3D terminology <X3dNode  DEF='idNamefield='value'/> matches XML terminology <XmlElement  DEF='idNameattribute='value'/>
(Light-blue background: event-based behavior node or statement) (Grey background inside box: inserted documentation) (Magenta background: X3D Extensibility)
-->

to top <!-- For additional help information about X3D scenes, please see X3D Tooltips, X3D Resources, and X3D Scene Authoring Hints. -->