X3D Model Documentation: ForeJet.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='ForeJet.x3d'/>
  6            <meta name='creatorcontent='Selcuk OZTURK'/>
  7            <meta name='descriptioncontent='Zeppelin fore jet.'/>
  8            <meta name='createdcontent='9 June 2002'/>
  9            <meta name='modifiedcontent='20 October 2019'/>
 10            <meta name='identifiercontent='https://savage.nps.edu/Savage/AircraftMiscellaneous/Zeppelin/ForeJet.x3d'/>
 11            <meta name='generatorcontent='X3D-Edit 3.2, https://savage.nps.edu/X3D-Edit'/>
 12            <meta name='versioncontent='2.0'/>
 13            <meta name='licensecontent='../../license.html'/>
 14       </head>
<!--

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

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

Index for Viewpoint node: Viewpoint_1
-->
 15       <Scene>
 16            <WorldInfo title='ForeJet.x3d'/>
 17            <Transform scale='2 0.5 0.5'>
 18                 <Viewpoint description='ForeJetorientation='0 1 0 0.78position='5 0 15'/>
 19                 <Shape>
 20                      <Appearance>
 21                           <Material diffuseColor='1 0 0'/>
 22                      </Appearance>
 23                      <Extrusion beginCap='falsecreaseAngle='0.7crossSection='2 0 1.93 0.52 1.73 1 1.41 1.41 1 1.73 0.52 1.93 0 2 -0.52 1.93 -1 1.73 -1.41 1.41 -1.73 1 -1.93 0.52 -2 0 -1.93 -0.52 -1.73 -1 -1.41 -1.41 -1 -1.73 -0.52 -1.93 0 -2 0.52 -1.93 1 -1.73 1.41 -1.41 1.73 -1 1.93 -0.52 2 0endCap='falsescale='0.3 0.3 1 1 1 1 0.7 0.7 0.5 0.5 1 1solid='falsespine='-2 0 0 -1 0 0 0 0 0 0.1 0 0 1 0 0 2 0 0'/>
 24                 </Shape>
 25            </Transform>
 26            <Transform translation='-1.5 1 0'>
 27 
               <!-- Shape CONNECTION is a DEF node that has 1 USE node: USE_1 -->
               <Shape DEF='CONNECTION'>
 28                      <Appearance>
 29                           <Material/>
 30                      </Appearance>
 31                      <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.00scale='0.1 0.1 0.1 0.1 0.1 0.1 0.1 0.1 0.1 0.1spine='0 4 2 0 1 1 0 0 0 0 1 -1 0 4 -2'/>
 32                 </Shape>
 33            </Transform>
 34            <Transform translation='1 0.6 0'>
 35                 <Shape USE='CONNECTION'/>
 36            </Transform>
 37            <Transform DEF='PALXrotation='0 1 0 1.57scale='0.23 0.23 0.23translation='3.5 0 0'>
 38                 <Transform DEF='CENTERrotation='1 0 0 1.57translation='0 0 0.27'>
 39                      <Shape>
 40                           <Appearance>
 41                                <Material diffuseColor='1 0 0'/>
 42                           </Appearance>
 43                           <Cone bottomRadius='0.3height='0.3'/>
 44                      </Shape>
 45                 </Transform>
 46 
               <!-- ROUTE information for PAL1 node:  [from CyclePath.value_changed to set_rotation ] -->
               <Transform DEF='PAL1'>
 47                      <Transform rotation='1 0 0 0.45scale='2 0.6 0.1translation='1.7 0 0'>
 48 
                         <!-- Shape X is a DEF node that has 3 USE nodes: USE_1, USE_2, USE_3 -->
                         <Shape DEF='X'>
 49                                <Appearance>
 50                                     <Material/>
 51                                </Appearance>
 52                                <Sphere/>
 53                           </Shape>
 54 
                         <!-- ROUTE information for Clock node:  [from fraction_changed to CyclePath.set_fraction ] -->
                         <TimeSensor DEF='ClockcycleInterval='0.3loop='true'/>
 55 
                         <!-- 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'/>
 56                      </Transform>
 57                      < ROUTE  fromNode='Clock' fromField='fraction_changed' toNode='CyclePath' toField='set_fraction'/>
 58                      < ROUTE  fromNode='CyclePath' fromField='value_changed' toNode='PAL1' toField='set_rotation'/>
 59                 </Transform>
 60 
               <!-- ROUTE information for PAL3 node:  [from CyclePath3.value_changed to set_rotation ] -->
               <Transform DEF='PAL3'>
 61                      <Transform rotation='0 1 0 0.45scale='0.6 2 0.1translation='0 1.7 0'>
 62                           <Shape USE='X'/>
 63 
                         <!-- ROUTE information for Clock3 node:  [from fraction_changed to CyclePath3.set_fraction ] -->
                         <TimeSensor DEF='Clock3cycleInterval='0.3loop='true'/>
 64 
                         <!-- 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'/>
 65                      </Transform>
 66                      < ROUTE  fromNode='Clock3' fromField='fraction_changed' toNode='CyclePath3' toField='set_fraction'/>
 67                      < ROUTE  fromNode='CyclePath3' fromField='value_changed' toNode='PAL3' toField='set_rotation'/>
 68                 </Transform>
 69 
               <!-- ROUTE information for PAL4 node:  [from CyclePath4.value_changed to set_rotation ] -->
               <Transform DEF='PAL4'>
 70                      <Transform rotation='0 1 0 -0.45scale='0.6 2 0.1translation='0 -1.7 0'>
 71                           <Shape USE='X'/>
 72 
                         <!-- ROUTE information for Clock4 node:  [from fraction_changed to CyclePath4.set_fraction ] -->
                         <TimeSensor DEF='Clock4cycleInterval='0.3loop='true'/>
 73 
                         <!-- 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'/>
 74                      </Transform>
 75                      < ROUTE  fromNode='Clock4' fromField='fraction_changed' toNode='CyclePath4' toField='set_fraction'/>
 76                      < ROUTE  fromNode='CyclePath4' fromField='value_changed' toNode='PAL4' toField='set_rotation'/>
 77                 </Transform>
 78 
               <!-- ROUTE information for PAL2 node:  [from CyclePath2.value_changed to set_rotation ] -->
               <Transform DEF='PAL2'>
 79                      <Transform rotation='1 0 0 -0.45scale='2 0.6 0.1translation='-1.7 0 0'>
 80                           <Shape USE='X'/>
 81 
                         <!-- ROUTE information for Clock2 node:  [from fraction_changed to CyclePath2.set_fraction ] -->
                         <TimeSensor DEF='Clock2cycleInterval='0.3loop='true'/>
 82 
                         <!-- 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'/>
 83                      </Transform>
 84                      < ROUTE  fromNode='Clock2' fromField='fraction_changed' toNode='CyclePath2' toField='set_fraction'/>
 85                      < ROUTE  fromNode='CyclePath2' fromField='value_changed' toNode='PAL2' toField='set_rotation'/>
 86                 </Transform>
 87            </Transform>
 88            <!-- Copied from 3DCafe sound repository -->
 89            <Sound maxFront='40'>
 90                 <AudioClip description='Jet engineloop='true'   url=' "JetEngine.wav" "https://savage.nps.edu/Savage/AircraftMiscellaneous/Zeppelin/JetEngine.wav" '/>
 91            </Sound>
 92       </Scene>
 93  </X3D>
<!--

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

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

Index for Viewpoint node: Viewpoint_1
-->
X3D Tooltips element index: Appearance, AudioClip, Cone, 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/ForeJetIndex.html -->
<!-- Version control at
https://gitlab.nps.edu/Savage/Savage/AircraftMiscellaneous/Zeppelin/ForeJet.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. -->