X3D Model Documentation: Pal.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='Pal.x3d'/>
  6            <meta name='creatorcontent='Selcuk OZTURK'/>
  7            <meta name='descriptioncontent='The Propeller for the Zeppelin and Fore Jets.'/>
  8            <meta name='createdcontent='2 August 2002'/>
  9            <meta name='modifiedcontent='20 October 2019'/>
 10            <meta name='identifiercontent='https://savage.nps.edu/Savage/AircraftMiscellaneous/Zeppelin/Pal.x3d'/>
 11            <meta name='generatorcontent='X3D-Edit 3.2, https://savage.nps.edu/X3D-Edit'/>
 12            <meta name='licensecontent='../../license.html'/>
 13       </head>
<!--

<!--
Event Graph ROUTE Table shows event connections.
-->

<!-- to top Index for DEF nodes: CENTER, Clock, Clock2, Clock3, Clock4, CyclePath, CyclePath2, CyclePath3, CyclePath4, PAL1, PAL2, PAL3, PAL4, X

Index for Viewpoint node: Viewpoint_1
-->
 14       <Scene>
 15            <WorldInfo title='Pal.x3d'/>
 16            <Viewpoint description='Palorientation='-0.53 0.84 0.10 0.45position='6 4 15'/>
 17            <Transform DEF='CENTERrotation='1 0 0 1.57translation='0 0 0.27'>
 18                 <Shape>
 19                      <Appearance>
 20                           <Material diffuseColor='1 0 0'/>
 21                      </Appearance>
 22                      <Cone bottomRadius='0.3height='0.3'/>
 23                 </Shape>
 24            </Transform>
 25 
          <!-- ROUTE information for PAL1 node:  [from CyclePath.value_changed to set_rotation ] -->
          <Transform DEF='PAL1'>
 26                 <Transform rotation='1 0 0 0.45scale='2 0.4 0.1translation='1.7 0 0'>
 27 
                    <!-- Shape X is a DEF node that has 3 USE nodes: USE_1, USE_2, USE_3 -->
                    <Shape DEF='X'>
 28                           <Appearance>
 29                                <Material/>
 30                           </Appearance>
 31                           <Sphere/>
 32                      </Shape>
 33 
                    <!-- ROUTE information for Clock node:  [from fraction_changed to CyclePath.set_fraction ] -->
                    <TimeSensor DEF='ClockcycleInterval='2.0loop='true'/>
 34 
                    <!-- ROUTE information for CyclePath node:  [from Clock.fraction_changed to set_fraction ] [from value_changed to PAL1.set_rotation ] -->
                    <OrientationInterpolator DEF='CyclePathkey='0.0 0.5 1.0keyValue='0 0 1 -0.0 0 0 1 -3.14 0 0 1 -6.28'/>
 35                 </Transform>
 36                 < ROUTE  fromNode='Clock' fromField='fraction_changed' toNode='CyclePath' toField='set_fraction'/>
 37                 < ROUTE  fromNode='CyclePath' fromField='value_changed' toNode='PAL1' toField='set_rotation'/>
 38            </Transform>
 39 
          <!-- ROUTE information for PAL3 node:  [from CyclePath3.value_changed to set_rotation ] -->
          <Transform DEF='PAL3'>
 40                 <Transform rotation='0 1 0 0.45scale='0.4 2 0.1translation='0 1.7 0'>
 41                      <Shape USE='X'/>
 42 
                    <!-- ROUTE information for Clock3 node:  [from fraction_changed to CyclePath3.set_fraction ] -->
                    <TimeSensor DEF='Clock3cycleInterval='2.0loop='true'/>
 43 
                    <!-- ROUTE information for CyclePath3 node:  [from Clock3.fraction_changed to set_fraction ] [from value_changed to PAL3.set_rotation ] -->
                    <OrientationInterpolator DEF='CyclePath3key='0.0 0.5 1.0keyValue='0 0 1 -0.0 0 0 1 -3.14 0 0 1 -6.28'/>
 44                 </Transform>
 45                 < ROUTE  fromNode='Clock3' fromField='fraction_changed' toNode='CyclePath3' toField='set_fraction'/>
 46                 < ROUTE  fromNode='CyclePath3' fromField='value_changed' toNode='PAL3' toField='set_rotation'/>
 47            </Transform>
 48 
          <!-- ROUTE information for PAL4 node:  [from CyclePath4.value_changed to set_rotation ] -->
          <Transform DEF='PAL4'>
 49                 <Transform rotation='0 1 0 -0.45scale='0.4 2 0.1translation='0 -1.7 0'>
 50                      <Shape USE='X'/>
 51 
                    <!-- ROUTE information for Clock4 node:  [from fraction_changed to CyclePath4.set_fraction ] -->
                    <TimeSensor DEF='Clock4cycleInterval='2.0loop='true'/>
 52 
                    <!-- ROUTE information for CyclePath4 node:  [from Clock4.fraction_changed to set_fraction ] [from value_changed to PAL4.set_rotation ] -->
                    <OrientationInterpolator DEF='CyclePath4key='0.0 0.5 1.0keyValue='0 0 1 -0.0 0 0 1 -3.14 0 0 1 -6.28'/>
 53                 </Transform>
 54                 < ROUTE  fromNode='Clock4' fromField='fraction_changed' toNode='CyclePath4' toField='set_fraction'/>
 55                 < ROUTE  fromNode='CyclePath4' fromField='value_changed' toNode='PAL4' toField='set_rotation'/>
 56            </Transform>
 57 
          <!-- ROUTE information for PAL2 node:  [from CyclePath2.value_changed to set_rotation ] -->
          <Transform DEF='PAL2'>
 58                 <Transform rotation='1 0 0 -0.45scale='2 0.4 0.1translation='-1.7 0 0'>
 59                      <Shape USE='X'/>
 60 
                    <!-- ROUTE information for Clock2 node:  [from fraction_changed to CyclePath2.set_fraction ] -->
                    <TimeSensor DEF='Clock2cycleInterval='2.0loop='true'/>
 61 
                    <!-- ROUTE information for CyclePath2 node:  [from Clock2.fraction_changed to set_fraction ] [from value_changed to PAL2.set_rotation ] -->
                    <OrientationInterpolator DEF='CyclePath2key='0.0 0.5 1.0keyValue='0 0 1 -0.0 0 0 1 -3.14 0 0 1 -6.28'/>
 62                 </Transform>
 63                 < ROUTE  fromNode='Clock2' fromField='fraction_changed' toNode='CyclePath2' toField='set_fraction'/>
 64                 < ROUTE  fromNode='CyclePath2' fromField='value_changed' toNode='PAL2' toField='set_rotation'/>
 65            </Transform>
 66            <Transform rotation='1 0 0 1.57translation='0 0 -3'>
 67                 <Shape>
 68                      <Appearance>
 69                           <Material/>
 70                      </Appearance>
 71                      <Cylinder height='6radius='0.25'/>
 72                 </Shape>
 73            </Transform>
 74            <Transform rotation='1 0 0 -1.57translation='0 0 -2'>
 75                 <Shape>
 76                      <Appearance>
 77                           <Material diffuseColor='1 0 0'/>
 78                      </Appearance>
 79                      <Extrusion creaseAngle='0.785crossSection='1.00 0.00 0.92 -0.38 0.71 -0.71 0.38 -0.92 0.00 -1.00 -0.38 -0.92 -0.71 -0.71 -0.92 -0.38 -1.00 -0.00 -0.92 0.38 -0.71 0.71 -0.38 0.92 0.00 1.00 0.38 0.92 0.71 0.71 0.92 0.38 1.00 0.00endCap='falsescale='0.2 0.2 4.5 4.5solid='falsespine='0 2.5 0 0 -2.5 0'/>
 80                 </Shape>
 81            </Transform>
 82            <!-- Copied from 3DCafe sound repository -->
 83            <Sound maxFront='70'>
 84                 <AudioClip description='Helicopter soundloop='true'   url=' "Helicopter.wav" "https://savage.nps.edu/Savage/AircraftMiscellaneous/Zeppelin/Helicopter.wav" '/>
 85            </Sound>
 86       </Scene>
 87  </X3D>
<!--

<!--
Event Graph ROUTE Table shows event connections.
-->

<!-- to top Index for DEF nodes: CENTER, Clock, Clock2, Clock3, Clock4, CyclePath, CyclePath2, CyclePath3, CyclePath4, PAL1, PAL2, PAL3, PAL4, X

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

Event Graph ROUTE Table entries with 8 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)
CyclePath
OrientationInterpolator
set_fraction
SFFloat
then
 
 
 
CyclePath
OrientationInterpolator
value_changed
SFRotation

ROUTE
event to
(2)
PAL1
Transform
set_rotation
SFRotation

Clock2
TimeSensor
fraction_changed
SFFloat

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

ROUTE
event to
(2)
PAL2
Transform
set_rotation
SFRotation

Clock3
TimeSensor
fraction_changed
SFFloat

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

ROUTE
event to
(2)
PAL3
Transform
set_rotation
SFRotation

Clock4
TimeSensor
fraction_changed
SFFloat

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

ROUTE
event to
(2)
PAL4
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://savage.nps.edu/Savage/AircraftMiscellaneous/Zeppelin/PalIndex.html -->
<!-- Version control at
https://gitlab.nps.edu/Savage/Savage/AircraftMiscellaneous/Zeppelin/Pal.x3d -->

<!-- Color 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)
-->

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