X3D Model Documentation: MastMountedSight.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=' MastMountedSight.x3d '/>
  6            <meta name='descriptioncontent='Mast-Mounted Sight of an OH-58D Kiowa Warrior.'/>
  7            <meta name='creatorcontent='Del Beilstein'/>
  8            <meta name='createdcontent='21 September 2001'/>
  9            <meta name='modifiedcontent='20 October 2019'/>
 10            <meta name='identifiercontent=' https://www.web3d.org/x3d/content/examples/Savage/AircraftHelicopters/OH58dKiowaWarriorUnitedStates/MastMountedSight.x3d '/>
 11            <meta name='generatorcontent='X3D-Edit 3.2, https://www.web3d.org/x3d/tools/X3D-Edit'/>
 12            <meta name='licensecontent='../../license.html'/>
 13       </head>
<!--

<!--
Event Graph ROUTE Table shows event connections.
-->
<!-- to top DEF nodes index: base, Close_up_view, Distant_view, Head_Position, Lens_color, Mast_Position, MMS_Clock_X, MMS_Clock_Y, MMS_Color, MMS_fan, MMS_fan_psn, MMS_Head, MMS_Mast, MMS_Rotator_X, MMS_Rotator_Y, MMS_Sensor_X, MMS_Sensor_Y, TIS_lense_psn, TIS_Window, TV_lense_psn, TV_Window

Index for Viewpoint nodes: Close_up_view, Distant_view
-->
 14       <Scene>
 15            <WorldInfo title='MastMountedSight.x3d'/>
 16            <Background groundAngle='1.309 1.570796groundColor='0.1 0.1 0.0 0.4 0.25 0.2 0.6 0.60 0.6skyAngle='0.785 1.571skyColor='0.0 0.2 0.7 0.0 0.5 1.0 1.0 1.0 1.0'/>
 17            <Viewpoint DEF='Distant_viewdescription='Mast Mounted Sight (MMS)'/>
 18            <Viewpoint DEF='Close_up_viewdescription='Close up view of MMSjump='falseposition='0 2 3'/>
 19            <Group>
 20                 <Transform>
 21                      <Shape>
 22                           <Cylinder DEF='baseheight='0.1'/>
 23                           <Appearance>
 24 
                              <!-- Material MMS_Color is a DEF node that has 5 USE nodes: USE_1, USE_2, USE_3, USE_4, USE_5 -->
                              <Material DEF='MMS_ColordiffuseColor='0.0 0.2 0.05'/>
 25                           </Appearance>
 26                      </Shape>
 27                 </Transform>
 28                 <Transform DEF='Mast_Positiontranslation='0.0 1.2 0.0'>
 29                      <Shape>
 30                           <Cone DEF='MMS_MastbottomRadius='.5height='2.3'/>
 31                           <Appearance>
 32                                <Material USE='MMS_Color'/>
 33                           </Appearance>
 34                      </Shape>
 35                      <Transform DEF='MMS_fan_psnrotation='1 0 0 1.59translation='0 -0.3 0.4'>
 36                           <Shape>
 37                                <Cylinder DEF='MMS_fanheight='.4radius='.2'/>
 38                                <Appearance>
 39                                     <Material USE='MMS_Color'/>
 40                                </Appearance>
 41                           </Shape>
 42                      </Transform>
 43                 </Transform>
 44 
               <!-- ROUTE information for Head_Position node:  [from MMS_Rotator_Y.value_changed to rotation ] [from MMS_Rotator_X.value_changed to set_rotation ] -->
               <Transform DEF='Head_Positiontranslation='0.0 2.4 0.0'>
 45                      <Shape>
 46                           <Sphere DEF='MMS_Headradius='0.8'/>
 47                           <Appearance>
 48                                <Material USE='MMS_Color'/>
 49                           </Appearance>
 50                      </Shape>
 51 
                    <!-- ROUTE information for MMS_Sensor_Y node:  [from touchTime to MMS_Clock_Y.startTime ] -->
                    <TouchSensor DEF='MMS_Sensor_Ydescription='touch to activate'/>
 52 
                    <!-- ROUTE information for MMS_Clock_Y node:  [from MMS_Sensor_Y.touchTime to startTime ] [from fraction_changed to MMS_Rotator_Y.set_fraction ] -->
                    <TimeSensor DEF='MMS_Clock_YcycleInterval='5'/>
 53                      < ROUTE  fromNode='MMS_Sensor_Y' fromField='touchTime' toNode='MMS_Clock_Y' toField='startTime'/>
 54 
                    <!-- ROUTE information for MMS_Rotator_Y node:  [from MMS_Clock_Y.fraction_changed to set_fraction ] [from value_changed to Head_Position.rotation ] -->
                    <OrientationInterpolator DEF='MMS_Rotator_Ykey='0.00 0.15 0.30 0.45 0.60 0.75 0.87 1.00keyValue='1 0 0 0.785 1 0 0 1.590 1 0 0 0.785 1 0 0 0.000 1 0 0 5.400 1 0 0 4.785 1 0 0 5.400 1 0 0 0.0'/>
 55                      < ROUTE  fromNode='MMS_Clock_Y' fromField='fraction_changed' toNode='MMS_Rotator_Y' toField='set_fraction'/>
 56                      < ROUTE  fromNode='MMS_Rotator_Y' fromField='value_changed' toNode='Head_Position' toField='rotation'/>
 57                      <Transform DEF='TIS_Windowrotation='1 0 0 1.59translation='0.3 0.1 0.70'>
 58                           <Shape>
 59                                <Cylinder height='0.2radius='0.25'/>
 60                                <Appearance>
 61                                     <Material USE='MMS_Color'/>
 62                                </Appearance>
 63                           </Shape>
 64                           <Transform DEF='TIS_lense_psntranslation='0 0.1 0'>
 65                                <Shape>
 66                                     <Cylinder height='.05radius='.2'/>
 67                                     <Appearance>
 68                                          <Material DEF='Lens_colordiffuseColor='0 0 0transparency='0.5'/>
 69                                     </Appearance>
 70                                </Shape>
 71                           </Transform>
 72                      </Transform>
 73                      <Transform DEF='TV_Windowrotation='1 0 0 1.59translation='-0.3 0.1 0.70'>
 74                           <Shape>
 75                                <Cylinder height='0.2radius='0.2'/>
 76                                <Appearance>
 77                                     <Material USE='MMS_Color'/>
 78                                </Appearance>
 79                           </Shape>
 80 
                         <!-- ROUTE information for MMS_Sensor_X node:  [from touchTime to MMS_Clock_X.set_startTime ] -->
                         <TouchSensor DEF='MMS_Sensor_Xdescription='touch to activate'/>
 81 
                         <!-- ROUTE information for MMS_Clock_X node:  [from MMS_Sensor_X.touchTime to set_startTime ] [from fraction_changed to MMS_Rotator_X.set_fraction ] -->
                         <TimeSensor DEF='MMS_Clock_XcycleInterval='5'/>
 82                           < ROUTE  fromNode='MMS_Sensor_X' fromField='touchTime' toNode='MMS_Clock_X' toField='set_startTime'/>
 83 
                         <!-- ROUTE information for MMS_Rotator_X node:  [from MMS_Clock_X.fraction_changed to set_fraction ] [from value_changed to Head_Position.set_rotation ] -->
                         <OrientationInterpolator DEF='MMS_Rotator_Xkey='0.00 0.15 0.30 0.45 0.60 0.75 0.87 1.00keyValue='0 1 0 0.785 0 1 0 1.590 0 1 0 0.785 0 1 0 0.000 0 1 0 5.400 0 1 0 4.785 0 1 0 5.400 0 1 0 0.0'/>
 84                           < ROUTE  fromNode='MMS_Clock_X' fromField='fraction_changed' toNode='MMS_Rotator_X' toField='set_fraction'/>
 85                           < ROUTE  fromNode='MMS_Rotator_X' fromField='value_changed' toNode='Head_Position' toField='set_rotation'/>
 86                           <Transform DEF='TV_lense_psntranslation='0 0.1 0'>
 87                                <Shape>
 88                                     <Cylinder height='0.05radius='0.17'/>
 89                                     <Appearance>
 90                                          <Material diffuseColor='0 0 0'/>
 91                                     </Appearance>
 92                                </Shape>
 93                           </Transform>
 94                      </Transform>
 95                 </Transform>
 96            </Group>
 97       </Scene>
 98  </X3D>
<!--

<!--
Event Graph ROUTE Table shows event connections.
-->
<!-- to top DEF nodes index: base, Close_up_view, Distant_view, Head_Position, Lens_color, Mast_Position, MMS_Clock_X, MMS_Clock_Y, MMS_Color, MMS_fan, MMS_fan_psn, MMS_Head, MMS_Mast, MMS_Rotator_X, MMS_Rotator_Y, MMS_Sensor_X, MMS_Sensor_Y, TIS_lense_psn, TIS_Window, TV_lense_psn, TV_Window

Index for Viewpoint nodes: Close_up_view, Distant_view
-->
X3D Tooltips element index: Appearance, Background, Cone, Cylinder, Group, head, Material, meta, OrientationInterpolator, ROUTE, Scene, Shape, Sphere, TimeSensor, TouchSensor, Transform, Viewpoint, WorldInfo, X3D, plus documentation for accessType definitions, type definitions, XML data types, and field types

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

MMS_Sensor_X
TouchSensor
touchTime
SFTime

ROUTE
event to
(1)
MMS_Clock_X
TimeSensor
set_startTime
SFTime
then
 
 
 
MMS_Clock_X
TimeSensor
fraction_changed
SFFloat

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

ROUTE
event to
(3)
Head_Position
Transform
set_rotation
SFRotation

MMS_Sensor_Y
TouchSensor
touchTime
SFTime

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

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

ROUTE
event to
(3)
Head_Position
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/AircraftHelicopters/OH58dKiowaWarriorUnitedStates/MastMountedSightIndex.html -->
<!-- Version control at
https://sourceforge.net/p/x3d/code/HEAD/tree/www.web3d.org/x3d/content/examples/Savage/AircraftHelicopters/OH58dKiowaWarriorUnitedStates/MastMountedSight.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. -->