X3D Model Documentation: OspreyParts.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=' OspreyParts.x3d '/>
  6            <meta name='descriptioncontent='Osprey MV-22 parts?'/>
  7            <meta name='creatorcontent='Major William C. James USMC'/>
  8            <meta name='createdcontent='23 September 2001'/>
  9            <meta name='modifiedcontent='20 October 2019'/>
 10            <meta name='referencecontent='https://www.navy.mil/Resources/Fact-Files/Display-FactFiles/Article/2417719/v-22b-osprey-tilt-rotor-aircraft'/>
 11            <meta name='referencecontent=' https://www.fas.org/man/dod-101/sys/ac/v-22.htm '/>
 12            <meta name='identifiercontent=' https://www.web3d.org/x3d/content/examples/Savage/AircraftFixedWing/Mv22OspreyUnitedStates/OspreyParts.x3d '/>
 13            <meta name='generatorcontent='X3D-Edit 3.2, https://www.web3d.org/x3d/tools/X3D-Edit'/>
 14            <meta name='licensecontent='../../license.html'/>
 15       </head>
<!--

<!--
Event Graph ROUTE Table shows event connections.
-->
<!-- to top DEF nodes index: body1, CLOCK1, CoordinateAxes, Hatch, Osprey_Body, Osprey_Body_Whole, RearHatch, RearHatchInterpolator, RearHatchRotationSupport, RearHatchSensor, RearHatchTransform, RotatingBar

Index for Viewpoint node: Viewpoint_1
-->
 16       <Scene>
 17            <WorldInfo title='OspreyParts.x3d'/>
 18            <Viewpoint description='Front, levelorientation='-1 0 0 0.5position='0 15 30'/>
 19            <Background skyColor='0 0.2 0.7'/>
 20            <Transform DEF='Osprey_Body_Wholescale='2 2 2'>
 21                 <Shape>
 22                      <Extrusion DEF='Osprey_BodycreaseAngle='1.6crossSection='0 0 2 0 2 -4 -2 -4 -2 0 0 0scale='1 1 1 1 1 0.1spine='0 0 2 0 0 -9 0 0 -14'/>
 23                      <Appearance>
 24                           <Material DEF='body1diffuseColor='.7 .7 .7'/>
 25                      </Appearance>
 26                 </Shape>
 27            </Transform>
 28            <!-- -->
 29            <Group>
 30                 <Transform DEF='RearHatchTransformrotation='0 0 -1 1.57translation='0 -5.5 -25'>
 31                      <Group DEF='RearHatch'>
 32 
                         <!-- ROUTE information for RearHatchRotationSupport node:  [from RearHatchInterpolator.value_changed to set_rotation ] -->
                         <Transform DEF='RearHatchRotationSupport'>
 33                                <Shape DEF='RotatingBar'>
 34                                     <Cylinder height='4radius='.2'/>
 35                                     <Appearance>
 36                                          <Material diffuseColor='.7 .7 .7'/>
 37                                     </Appearance>
 38                                </Shape>
 39                                <Transform DEF='Hatch'>
 40                                     <Transform rotation='0 0 -1 1.57translation='0 0 -2.5'>
 41                                          <Shape>
 42                                               <Box size='4 .2 5'/>
 43                                               <Appearance>
 44                                                    <Material diffuseColor='0 0 0shininess='.5'/>
 45                                               </Appearance>
 46                                          </Shape>
 47                                     </Transform>
 48                                </Transform>
 49                           </Transform>
 50                      </Group>
 51                 </Transform>
 52 
               <!-- ROUTE information for RearHatchSensor node:  [from touchTime to CLOCK1.set_startTime ] -->
               <TouchSensor DEF='RearHatchSensordescription='touch to open'/>
 53 
               <!-- ROUTE information for CLOCK1 node:  [from RearHatchSensor.touchTime to set_startTime ] [from fraction_changed to RearHatchInterpolator.set_fraction ] -->
               <TimeSensor DEF='CLOCK1cycleInterval='4'/>
 54 
               <!-- ROUTE information for RearHatchInterpolator node:  [from CLOCK1.fraction_changed to set_fraction ] [from value_changed to RearHatchRotationSupport.set_rotation ] -->
               <OrientationInterpolator DEF='RearHatchInterpolatorkey='0.0 1.0keyValue='0.0 1.0 0.0 0.0 0.0 1.0 0.0 -1.0'/>
 55            </Group>
 56            < ROUTE  fromNode='RearHatchSensor' fromField='touchTime' toNode='CLOCK1' toField='set_startTime'/>
 57            < ROUTE  fromNode='CLOCK1' fromField='fraction_changed' toNode='RearHatchInterpolator' toField='set_fraction'/>
 58            < ROUTE  fromNode='RearHatchInterpolator' fromField='value_changed' toNode='RearHatchRotationSupport' toField='set_rotation'/>
 59            <!-- <Appearance><Material diffuseColor="0 0 0" ambientIntensity="0.2" emissiveColor="0 0 0" shininess="0.2" specularColor="0 0 0" transparency="0"/> -->
 60            <Shape>
 61                 <Text string='"MARINES"'>
 62                      <FontStyle family='"SANS"justify='"BEGIN" "MIDDLE"size='1.3style='BOLD'/>
 63                 </Text>
 64                 <Appearance>
 65                      <Material diffuseColor='0 0 0'/>
 66                 </Appearance>
 67            </Shape>
 68            <Transform scale='10 10 10'>
 69                 <Inline DEF='CoordinateAxes'   url=' "../../X3dForWebAuthors/Chapter03Grouping/CoordinateAxes.x3d" "https://www.web3d.org/x3d/content/examples/X3dForWebAuthors/Chapter03Grouping/CoordinateAxes.x3d" "https://www.web3d.org/x3d/content/examples/Savage/Tools/Authoring/CoordinateAxes.x3d" "../../X3dForWebAuthors/Chapter03Grouping/CoordinateAxes.wrl" "https://www.web3d.org/x3d/content/examples/X3dForWebAuthors/Chapter03Grouping/CoordinateAxes.wrl" "https://www.web3d.org/x3d/content/examples/Savage/Tools/Authoring/CoordinateAxes.wrl" '/>
 70            </Transform>
 71       </Scene>
 72  </X3D>
<!--

<!--
Event Graph ROUTE Table shows event connections.
-->
<!-- to top DEF nodes index: body1, CLOCK1, CoordinateAxes, Hatch, Osprey_Body, Osprey_Body_Whole, RearHatch, RearHatchInterpolator, RearHatchRotationSupport, RearHatchSensor, RearHatchTransform, RotatingBar

Index for Viewpoint node: Viewpoint_1
-->
X3D Tooltips element index: Appearance, Background, Box, Cylinder, Extrusion, FontStyle, Group, head, Inline, Material, meta, OrientationInterpolator, ROUTE, Scene, Shape, Text, 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 3 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.

RearHatchSensor
TouchSensor
touchTime
SFTime

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

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

ROUTE
event to
(3)
RearHatchRotationSupport
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/Mv22OspreyUnitedStates/OspreyPartsIndex.html -->
<!-- Version control at
https://sourceforge.net/p/x3d/code/HEAD/tree/www.web3d.org/x3d/content/examples/Savage/AircraftFixedWing/Mv22OspreyUnitedStates/OspreyParts.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. -->