X3D Model Documentation: RadarNavigation.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=' RadarNavigation.x3d '/>
  6            <meta name='creatorcontent='Boon Chuan LEE'/>
  7            <meta name='descriptioncontent='Navigational surface search radar'/>
  8            <meta name='createdcontent='27 July 2001'/>
  9            <meta name='modifiedcontent='20 October 2019'/>
 10            <meta name='referencecontent='http://www.janesonline.com'/>
 11            <meta name='identifiercontent=' https://www.web3d.org/x3d/content/examples/Savage/ShipsMilitary/LandingShipTankEnduranceSingapore/RadarNavigation.x3d '/>
 12            <meta name='generatorcontent='X3D-Edit 3.2, https://www.web3d.org/x3d/tools/X3D-Edit'/>
 13            <meta name='licensecontent='../../license.html'/>
 14       </head>
<!--

<!--
Event Graph ROUTE Table shows event connections.
-->
<!-- to top DEF nodes index: Clock, Scanner, ScannerPath, Support
-->
 15       <Scene>
 16            <WorldInfo title='RadarNavigation.x3d'/>
 17            <Background groundAngle='1.309 1.570796groundColor='0 .2 1 0 .5 1 0.8 0.9 0.9skyAngle='1.309 1.571skyColor='.5 .5 .9 0 .5 1 1 0.8 0.8'/>
 18            <Group>
 19 
               <!-- ROUTE information for Scanner node:  [from ScannerPath.value_changed to set_rotation ] -->
               <Transform DEF='Scanner'>
 20                      <Shape>
 21                           <Extrusion crossSection='-0.1 -0.8 -0.1 0.8 0.1 0.8 0.1 -0.8 -0.1 -0.8orientation='0 0 1 0.5 0 0 1 0.5spine='-0.3 0 0 0.3 0 0'/>
 22                           <Appearance>
 23                                <Material diffuseColor='0.9 0.9 0.9shininess='0.5'/>
 24                           </Appearance>
 25                      </Shape>
 26                 </Transform>
 27 
               <!-- ROUTE information for Clock node:  [from fraction_changed to ScannerPath.set_fraction ] -->
               <TimeSensor DEF='ClockcycleInterval='10loop='true'/>
 28 
               <!-- ROUTE information for ScannerPath node:  [from Clock.fraction_changed to set_fraction ] [from value_changed to Scanner.set_rotation ] -->
               <OrientationInterpolator DEF='ScannerPathkey='0.0 0.25 0.50 0.75 1.0keyValue='0 1 0 0 0 1 0 1.57 0 1 0 3.14 0 1 0 4.71 0 1 0 6.18'/>
 29                 <Transform translation='0 -0.26 0'>
 30                      <Shape DEF='Support'>
 31                           <Cone bottomRadius='0.15height='0.73'/>
 32                           <Appearance>
 33                                <Material diffuseColor='0.5 0.5 0.5shininess='0.5'/>
 34                           </Appearance>
 35                      </Shape>
 36                 </Transform>
 37            </Group>
 38            < ROUTE  fromNode='Clock' fromField='fraction_changed' toNode='ScannerPath' toField='set_fraction'/>
 39            < ROUTE  fromNode='ScannerPath' fromField='value_changed' toNode='Scanner' toField='set_rotation'/>
 40       </Scene>
 41  </X3D>
<!--

<!--
Event Graph ROUTE Table shows event connections.
-->
<!-- to top DEF nodes index: Clock, Scanner, ScannerPath, Support
-->
X3D Tooltips element index: Appearance, Background, Cone, Extrusion, Group, head, Material, meta, OrientationInterpolator, ROUTE, Scene, Shape, TimeSensor, Transform, WorldInfo, X3D, plus documentation for accessType definitions, type definitions, XML data types, and field types

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

Clock
TimeSensor
fraction_changed
SFFloat

ROUTE
event to
(1)
ScannerPath
OrientationInterpolator
set_fraction
SFFloat
then
 
 
 
ScannerPath
OrientationInterpolator
value_changed
SFRotation

ROUTE
event to
(2)
Scanner
Transform
set_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/LandingShipTankEnduranceSingapore/RadarNavigationIndex.html -->
<!-- Version control at
https://sourceforge.net/p/x3d/code/HEAD/tree/www.web3d.org/x3d/content/examples/Savage/ShipsMilitary/LandingShipTankEnduranceSingapore/RadarNavigation.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. -->