X3D Model Documentation: MainFuselage.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=' MainFuselage.x3d '/>
  6            <meta name='descriptioncontent='this file defines the main fuselage of an OH58D'/>
  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/MainFuselage.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: BALL_COLOR, CLOCK, COLOR_PATH, MAIN_FUSELAGE_SHAPE, TAIL_FUSELAGE_SHAPE
-->
 14       <Scene>
 15            <WorldInfo title='MainFuselage.x3d'/>
 16            <Background groundColor='0 .5 0skyColor='0 0 0.9'/>
 17            <Transform rotation='1 0 0 1.57'>
 18                 <Transform>
 19                      <Shape DEF='TAIL_FUSELAGE_SHAPE'>
 20                           <Appearance>
 21                                <Material diffuseColor='0 0.2 0.05'/>
 22                           </Appearance>
 23                           <Extrusion convex='falsecreaseAngle='1.3crossSection='-0.625 1.3 0.625 1.3 0.700 1.2 0.775 1.0 0.825 0.6 0.775 0.2 0.675 0.05 0.575 0.0 -0.575 0.0 -0.675 0.05 -0.775 0.2 -0.825 0.6 -0.775 1.0 -0.700 1.2 -0.625 1.3endCap='falsescale='1.0 1.0 0.20 0.20solid='falsespine='0.0 2.43 0.0 0.0 4.2 0.0'/>
 24                      </Shape>
 25                      <Transform translation='0 1 0'>
 26                           <Shape DEF='MAIN_FUSELAGE_SHAPE'>
 27                                <Appearance>
 28                                     <Material diffuseColor='0.0 0.2 0.05'/>
 29                                </Appearance>
 30                                <Extrusion convex='falsecreaseAngle='1.3crossSection='-0.625 1.3 0.625 1.3 0.700 1.2 0.775 1.0 0.825 0.6 0.775 0.2 0.675 0.05 0.575 0.0 -0.575 0.0 -0.675 0.05 -0.775 0.2 -0.825 0.6 -0.775 1.0 -0.700 1.2 -0.625 1.3endCap='falsesolid='falsespine='0.0 0.0 0.0 0.0 1.43 0.0'/>
 31                           </Shape>
 32                           <Transform rotation='1 0 0 1.57translation='0 3 2.65'>
 33                                <Transform translation='0.0 -1.36 2.0'>
 34                                     <Shape>
 35                                          <Appearance>
 36 
                                             <!-- ROUTE information for BALL_COLOR node:  [from COLOR_PATH.value_changed to set_emissiveColor ] -->
                                             <Material DEF='BALL_COLORdiffuseColor='0.4 0.4 0.4'/>
 37                                          </Appearance>
 38                                          <Sphere radius='0.04'/>
 39                                     </Shape>
 40                                </Transform>
 41                                <Transform translation='0.0 -1.36 2.0'>
 42                                     <Shape>
 43                                          <Appearance>
 44                                               <Material diffuseColor='0.1 0.1 0.1'/>
 45                                          </Appearance>
 46                                          <Cylinder height='0.05radius='0.06'/>
 47                                     </Shape>
 48                                </Transform>
 49 
                              <!-- ROUTE information for CLOCK node:  [from fraction_changed to COLOR_PATH.set_fraction ] -->
                              <TimeSensor DEF='CLOCKloop='true'/>
 50 
                              <!-- ROUTE information for COLOR_PATH node:  [from CLOCK.fraction_changed to set_fraction ] [from value_changed to BALL_COLOR.set_emissiveColor ] -->
                              <ColorInterpolator DEF='COLOR_PATHkey='0.0 0.5 0.5 1.0keyValue='1.0 0.0 0.0 1.0 0.0 0.0 1.0 1.0 1.0 1.0 1.0 1.0'/>
 51                           </Transform>
 52                      </Transform>
 53                 </Transform>
 54                 <Transform rotation='1 0 0 3.1415translation='0 0 1.2'>
 55                      <Transform scale='.9 .8 .7translation='0 0 .31'>
 56                           <Inline   url=' "FuselageNose.wrl" "https://www.web3d.org/x3d/content/examples/Savage/AircraftHelicopters/OH58dKiowaWarriorUnitedStates/FuselageNose.wrl" "FuselageNose.x3d" "https://www.web3d.org/x3d/content/examples/Savage/AircraftHelicopters/OH58dKiowaWarriorUnitedStates/FuselageNose.x3d" '/>
 57                           <Transform rotation='0 1 0 1.57translation='0 -0.2 -0.585'>
 58                                <Transform rotation='0 1 0 3.1415'>
 59                                     <Transform rotation='0 0 1 1.57'>
 60                                          <Shape>
 61                                               <Appearance>
 62                                                    <Material diffuseColor='0.0 0.2 0.05'/>
 63                                               </Appearance>
 64                                               <!-- right side, left side, back, front -->
 65                                               <IndexedFaceSet convex='falsecoordIndex='0 1 2 3 4 -1 5 9 8 7 6 -1 0 4 9 5 -1 4 3 8 9 -1 1 6 7 2 -1 7 8 3 2 -1'>
 66                                                    <!-- right side, left side -->
 67                                                    <Coordinate point='0.0 0.0 0.0 0.15 0.0 0.0 0.1 0.1 0.0 0.5 0.4 0.0 0.0 0.1 0.0 0.0 0.0 -0.03 0.15 0.0 -0.03 0.1 0.1 -0.03 0.5 0.4 -0.03 0.0 0.1 -0.03'/>
 68                                               </IndexedFaceSet>
 69                                          </Shape>
 70                                     </Transform>
 71                                </Transform>
 72                           </Transform>
 73                      </Transform>
 74                 </Transform>
 75                 <Transform rotation='1 0 0 1.57'>
 76                      <Inline   url=' "CockpitFloor.wrl" "https://www.web3d.org/x3d/content/examples/Savage/AircraftHelicopters/OH58dKiowaWarriorUnitedStates/CockpitFloor.wrl" "CockpitFloor.x3d" "https://www.web3d.org/x3d/content/examples/Savage/AircraftHelicopters/OH58dKiowaWarriorUnitedStates/CockpitFloor.x3d" '/>
 77                 </Transform>
 78            </Transform>
 79            < ROUTE  fromNode='CLOCK' fromField='fraction_changed' toNode='COLOR_PATH' toField='set_fraction'/>
 80            < ROUTE  fromNode='COLOR_PATH' fromField='value_changed' toNode='BALL_COLOR' toField='set_emissiveColor'/>
 81       </Scene>
 82  </X3D>
<!--

<!--
Event Graph ROUTE Table shows event connections.
-->
<!-- to top DEF nodes index: BALL_COLOR, CLOCK, COLOR_PATH, MAIN_FUSELAGE_SHAPE, TAIL_FUSELAGE_SHAPE
-->
X3D Tooltips element index: Appearance, Background, ColorInterpolator, Coordinate, Cylinder, Extrusion, head, IndexedFaceSet, Inline, Material, meta, ROUTE, Scene, Shape, Sphere, TimeSensor, Transform, WorldInfo, X3D, plus documentation for accessType definitions, type definitions, XML data types, and field types

Event Graph ROUTE Table with 2 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)
COLOR_PATH
ColorInterpolator
set_fraction
SFFloat
then
 
 
 
COLOR_PATH
ColorInterpolator
value_changed
SFColor

ROUTE
event to
(2)
BALL_COLOR
Material
set_emissiveColor
SFColor

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/MainFuselageIndex.html -->
<!-- Version control at
https://sourceforge.net/p/x3d/code/HEAD/tree/www.web3d.org/x3d/content/examples/Savage/AircraftHelicopters/OH58dKiowaWarriorUnitedStates/MainFuselage.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. -->