X3D Model Documentation: Furuno.x3d

  1  <?xml version="1.0" encoding="UTF-8"?>
  2  <!DOCTYPE X3D PUBLIC "ISO//Web3D//DTD X3D 3.2//EN" "https://www.web3d.org/specifications/x3d-3.2.dtd">
  3  <X3D profile='Immersive' version='3.2 xmlns:xsd='http://www.w3.org/2001/XMLSchema-instance' xsd:noNamespaceSchemaLocation='https://www.web3d.org/specifications/x3d-3.2.xsd'>
  4       <head>
  5            <meta name='titlecontent=' Furuno.x3d '/>
  6            <meta name='descriptioncontent='Brazilian Naval Academy Training Ship'/>
  7            <meta name='creatorcontent='Claudio Coreixas'/>
  8            <meta name='createdcontent='20 October 2009'/>
  9            <meta name='modifiedcontent='20 October 2019'/>
 10            <meta name='referencecontent='http://www.en.mar.mil.br'/>
 11            <meta name='subjectcontent='ships'/>
 12            <meta name='identifiercontent=' https://www.web3d.org/x3d/content/examples/Savage/ShipsMilitary/PatrolCraftNavalAcademyBrazil/Furuno.x3d '/>
 13            <meta name='generatorcontent='X3D-Edit, https://www.web3d.org/x3d/tools/X3D-Edit'/>
 14            <meta name='licensecontent='../../license.html'/>
 15       </head>
<!--

<!--
Event Graph ROUTE Table shows event connections.
-->
<!-- to top DEF nodes index: antenaCycle, antenaSet, antenaSpin, antenna, base1, base2, base3, base4, ButtonTouch, mainBase, mainBaseIFS
-->
 16       <Scene>
 17            <WorldInfo title='Furuno.x3d'/>
 18 
          <!-- ROUTE information for ButtonTouch node:  [from touchTime to antenaCycle.startTime ] -->
          <TouchSensor DEF='ButtonTouchdescription='touch to activate'/>
 19 
          <!-- ROUTE information for antenaSet node:  [from antenaSpin.value_changed to rotation ] -->
          <Transform DEF='antenaSet'>
 20                 <Shape DEF='antenna'>
 21                      <Extrusion ccw='falseconvex='falsecrossSection='-0.8 3.85 -0.9 3.95 -0.9 4.5 -0.6 4.9 0.5 5.3 1.05 5.28 1.3 5.1 1.45 4.9 1.51 4.6 1.45 4.3 1.32 4.1 1.1 3.9 0.8 3.85 -0.7 3.85solid='falsespine='0 0 8 0 0 -8'/>
 22                      <Appearance>
 23                           <Material diffuseColor='1 1 1'/>
 24                      </Appearance>
 25                 </Shape>
 26                 <Shape DEF='base1'>
 27                      <Extrusion ccw='falseconvex='falsecrossSection='-0.75 3.7 -0.75 3.85 0.75 3.85 0.75 3.7 -0.75 3.7solid='falsespine='0 0 1.25 0 0 -1.25'/>
 28                      <Appearance>
 29                           <Material diffuseColor='1 1 1'/>
 30                      </Appearance>
 31                 </Shape>
 32                 <Shape DEF='base2'>
 33                      <Extrusion crossSection='-0.75 3.3 -0.75 3.7 0.75 3.7 0.75 3.3 -0.75 3.3solid='falsespine='0 0 0.75 0 0 -0.75'/>
 34                      <Appearance>
 35                           <Material diffuseColor='1 1 1'/>
 36                      </Appearance>
 37                 </Shape>
 38            </Transform>
 39            <Shape>
 40                 <Appearance DEF='mainBase'>
 41                      <Material diffuseColor='1 1 1'/>
 42                 </Appearance>
 43                 <IndexedFaceSet DEF='mainBaseIFSconvex='falsesolid='falsecoordIndex='4 1 2 3 -1 4 3 17 15 -1 2 0 3 -1 3 0 17 -1 17 0 18 -1 0 2 7 -1 7 8 0 -1 0 8 18 -1 2 1 10 7 -1 17 18 16 15 -1 8 7 10 -1 10 9 8 -1 18 8 9 16 -1 5 6 1 4 -1 4 15 13 5 -1 10 1 6 11 -1 9 10 11 12 -1 12 14 16 9 -1 5 13 14 12 11 6 -1 13 15 16 14 -1'>
 44                      <Coordinate point='0 3.5 0 2.7 1.5 1.5 2.4 2.3 1.3 0 3 1.7 0 1.5 2 0 0.7 1.6 1.9 0.7 1.3 2.4 2.3 -1.3 0 3 -1.7 0 1.5 -2 2.7 1.5 -1.5 1.9 0.7 -1.3 0 0.7 -1.6 -1.9 0.7 1.3 -1.9 0.7 -1.3 -2.7 1.5 1.5 -2.7 1.5 -1.5 -2.4 2.3 1.3 -2.4 2.3 -1.3'/>
 45                 </IndexedFaceSet>
 46            </Shape>
 47            <Shape DEF='base3'>
 48                 <Extrusion crossSection='-1.2 0.3 -1.2 0.7 1.2 0.7 1.2 0.3 -1.2 0.3solid='falsespine='0 0 1.2 0 0 -1.2'/>
 49                 <Appearance>
 50                      <Material diffuseColor='1 1 1'/>
 51                 </Appearance>
 52            </Shape>
 53            <Shape DEF='base4'>
 54                 <Extrusion crossSection='-1.7 0.0 -1.7 0.3 1.7 0.3 1.7 0.0 -1.7 0solid='falsespine='0 0 1.7 0 0 -1.7'/>
 55                 <Appearance>
 56                      <Material diffuseColor='1 1 1'/>
 57                 </Appearance>
 58            </Shape>
 59 
          <!-- ROUTE information for antenaSpin node:  [from antenaCycle.fraction_changed to set_fraction ] [from value_changed to antenaSet.rotation ] -->
          <OrientationInterpolator DEF='antenaSpinkey='0 0.25 0.5 0.75 1keyValue='0 1 0 0 0 1 0 1.57 0 1 0 3.14 0 1 0 4.71 0 1 0 6.28'/>
 60 
          <!-- ROUTE information for antenaCycle node:  [from ButtonTouch.touchTime to startTime ] [from fraction_changed to antenaSpin.set_fraction ] -->
          <TimeSensor DEF='antenaCyclecycleInterval='1.9loop='true'/>
 61            < ROUTE  fromNode='ButtonTouch' fromField='touchTime' toNode='antenaCycle' toField='startTime'/>
 62            < ROUTE  fromNode='antenaCycle' fromField='fraction_changed' toNode='antenaSpin' toField='set_fraction'/>
 63            < ROUTE  fromNode='antenaSpin' fromField='value_changed' toNode='antenaSet' toField='rotation'/>
 64       </Scene>
 65  </X3D>
<!--

<!--
Event Graph ROUTE Table shows event connections.
-->
<!-- to top DEF nodes index: antenaCycle, antenaSet, antenaSpin, antenna, base1, base2, base3, base4, ButtonTouch, mainBase, mainBaseIFS
-->
X3D Tooltips element index: Appearance, Coordinate, Extrusion, head, IndexedFaceSet, Material, meta, OrientationInterpolator, ROUTE, Scene, Shape, TimeSensor, TouchSensor, Transform, WorldInfo, X3D, plus documentation for accessType definitions, type definitions, XML data types, and field types

Event Graph ROUTE Table entries with 3 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.

ButtonTouch
TouchSensor
touchTime
SFTime

ROUTE
event to
(1)
antenaCycle
TimeSensor
startTime
SFTime
then
 
 
 
antenaCycle
TimeSensor
fraction_changed
SFFloat

ROUTE
event to
(2)
antenaSpin
OrientationInterpolator
set_fraction
SFFloat
then
 
 
 
antenaSpin
OrientationInterpolator
value_changed
SFRotation

ROUTE
event to
(3)
antenaSet
Transform
rotation
SFRotation


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/ShipsMilitary/PatrolCraftNavalAcademyBrazil/FurunoIndex.html -->
<!-- Version control at
https://sourceforge.net/p/x3d/code/HEAD/tree/www.web3d.org/x3d/content/examples/Savage/ShipsMilitary/PatrolCraftNavalAcademyBrazil/Furuno.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. -->