X3D Model Documentation: CompleteScene.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='Interactive' 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=' CompleteScene.x3d '/>
  6            <meta name='descriptioncontent='A C130 aircraft in a combat zone'/>
  7            <meta name='creatorcontent='Maj. Mounir Sidhom, Tunisian Air Force'/>
  8            <meta name='translatedcontent='13 August 2004'/>
  9            <meta name='modifiedcontent='28 November 2019'/>
 10            <meta name=' warning content=' not verified to scale '/>
 11            <meta name='identifiercontent=' https://www.web3d.org/x3d/content/examples/Savage/AircraftFixedWing/C130HerculesTunisia/CompleteScene.x3d '/>
 12            <meta name='generatorcontent='X3D-Edit 3.2, https://www.web3d.org/x3d/tools/X3D-Edit'/>
 13            <meta name='generatorcontent=' Vrml97ToX3dNist, http://ovrt.nist.gov/v2_x3d.html '/>
 14            <meta name='licensecontent='../../license.html'/>
 15       </head>
<!--

<!--
Event Graph ROUTE Table shows event connections.
-->
<!-- to top DEF nodes index: AC_CLOCK, AC_PATH, AC_ROTATION, AC1

Index for Viewpoint node: Viewpoint_1
-->
 16       <Scene>
 17            <WorldInfo title='CompleteScene.x3d'/>
 18            <Viewpoint description='main vieworientation='0.0 1.0 0.0 1.57position='35.0 3.5 -2.0'/>
 19            <Transform translation='0.0 0.0 -15.0'>
 20                 <Inline   url=' "CombatZone.x3d" "https://www.web3d.org/x3d/content/examples/Savage/AircraftFixedWing/C130HerculesTunisia/CombatZone.x3d" "CombatZone.wrl" "https://www.web3d.org/x3d/content/examples/Savage/AircraftFixedWing/C130HerculesTunisia/CombatZone.wrl" '/>
 21            </Transform>
 22 
          <!-- ROUTE information for AC1 node:  [from AC_PATH.value_changed to set_translation ] [from AC_ROTATION.value_changed to set_rotation ] -->
          <Transform DEF='AC1'>
 23                 <Inline   url=' "C130Hercules.x3d" "https://www.web3d.org/x3d/content/examples/Savage/AircraftFixedWing/C130HerculesTunisia/C130Hercules.x3d" "C130Hercules.wrl" "https://www.web3d.org/x3d/content/examples/Savage/AircraftFixedWing/C130HerculesTunisia/C130Hercules.wrl" '/>
 24            </Transform>
 25 
          <!-- ROUTE information for AC_CLOCK node:  [from fraction_changed to AC_PATH.set_fraction ] [from fraction_changed to AC_ROTATION.set_fraction ] -->
          <TimeSensor DEF='AC_CLOCKcycleInterval='6loop='true'/>
 26 
          <!-- ROUTE information for AC_PATH node:  [from AC_CLOCK.fraction_changed to set_fraction ] [from value_changed to AC1.set_translation ] -->
          <PositionInterpolator DEF='AC_PATHkey='0.0 0.25 0.5 0.75 1.0keyValue='-50 25 0 -10 10 0 30 10 0 70 25 0 110 30 0'/>
 27 
          <!-- ROUTE information for AC_ROTATION node:  [from AC_CLOCK.fraction_changed to set_fraction ] [from value_changed to AC1.set_rotation ] -->
          <OrientationInterpolator DEF='AC_ROTATIONkey='0.0 0.30 0.5 0.80 1.0keyValue='0.0 0.0 -1.0 0.2 0.0 0.0 -1.0 0.2 0.0 0.0 1.0 0.10 0.0 0.0 1.0 0.4 0.0 0.0 0.0 0.0'/>
 28            < ROUTE  fromNode='AC_CLOCK' fromField='fraction_changed' toNode='AC_PATH' toField='set_fraction'/>
 29            < ROUTE  fromNode='AC_PATH' fromField='value_changed' toNode='AC1' toField='set_translation'/>
 30            < ROUTE  fromNode='AC_CLOCK' fromField='fraction_changed' toNode='AC_ROTATION' toField='set_fraction'/>
 31            < ROUTE  fromNode='AC_ROTATION' fromField='value_changed' toNode='AC1' toField='set_rotation'/>
 32       </Scene>
 33  </X3D>
<!--

<!--
Event Graph ROUTE Table shows event connections.
-->
<!-- to top DEF nodes index: AC_CLOCK, AC_PATH, AC_ROTATION, AC1

Index for Viewpoint node: Viewpoint_1
-->
X3D Tooltips element index: head, Inline, meta, OrientationInterpolator, PositionInterpolator, ROUTE, Scene, TimeSensor, Transform, Viewpoint, WorldInfo, X3D, plus documentation for accessType definitions, type definitions, XML data types, and field types

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

AC_CLOCK
TimeSensor
fraction_changed
SFFloat

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

ROUTE
event to
(2)
AC1
Transform
set_translation
SFVec3f
AC_CLOCK
TimeSensor
fraction_changed
SFFloat

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

ROUTE
event to
(2)
AC1
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/AircraftFixedWing/C130HerculesTunisia/CompleteSceneIndex.html -->
<!-- Version control at
https://sourceforge.net/p/x3d/code/HEAD/tree/www.web3d.org/x3d/content/examples/Savage/AircraftFixedWing/C130HerculesTunisia/CompleteScene.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. -->