X3D Model Documentation: Cowling.x3d

  1  <?xml version="1.0" encoding="UTF-8"?>
  2  <!DOCTYPE X3D PUBLIC "ISO//Web3D//DTD X3D 3.3//EN" "https://www.web3d.org/specifications/x3d-3.3.dtd">
  3  <X3D profile='Immersive' version='3.3 xmlns:xsd='http://www.w3.org/2001/XMLSchema-instance' xsd:noNamespaceSchemaLocation='https://www.web3d.org/specifications/x3d-3.3.xsd'>
  4       <head>
  5            <meta name='titlecontent='Cowling.x3d'/>
  6            <meta name='descriptioncontent='This file defines a cowling that is inlined to create a helicopter'/>
  7            <meta name='creatorcontent='Jane Wu (adapted from the original cowling.wrl created for vrtp demo helicopter)'/>
  8            <meta name='createdcontent='12 January 2001'/>
  9            <meta name='modifiedcontent='20 October 2019'/>
 10            <meta name='contributorcontent='Del Beilstein'/>
 11            <meta name='identifiercontent='https://savage.nps.edu/Savage/AircraftHelicopters/OH58dKiowaWarriorUnitedStates/Cowling.x3d'/>
 12            <meta name='generatorcontent='X3D-Edit 3.2, https://savage.nps.edu/X3D-Edit'/>
 13            <meta name='licensecontent='../../license.html'/>
 14       </head>
<!--

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

<!-- to top Index for DEF nodes: BALL_COLOR, CLOCK, COLOR_PATH, GREEN, Serial_Number_Text
-->
 15       <Scene>
 16            <WorldInfo title='Cowling.x3d'/>
 17            <Group>
 18                 <Background groundAngle='1.309 1.570796groundColor='0.1 0.1 0.0 0.4 0.25 0.2 0.6 0.6 0.6skyAngle='1.309 1.571skyColor='0.0 0.2 0.7 0.0 0.5 1.0 1.0 1.0 1.0'/>
 19                 <Shape>
 20                      <Appearance DEF='GREEN'>
 21                           <Material diffuseColor='0.0 0.2 0.05'/>
 22                      </Appearance>
 23                      <!-- Engine oil cooler portion: right side, left side, back. Engine portion: right side rear, left side rear, right side front, left side front. Transmission: right side, left side, back side. Top. -->
 24                      <IndexedFaceSet coordIndex='0 1 2 3 4 -1 5 9 8 7 6 -1 0 4 3 8 9 5 -1 1 10 11 2 -1 6 7 13 12 -1 10 14 15 11 -1 12 13 17 16 -1 14 18 19 15 -1 16 17 21 20 -1 18 20 21 19 -1 3 2 7 8 -1 2 11 13 7 -1 11 15 17 13 -1 15 19 21 17 -1'>
 25                           <!-- Right side, left side. Engine cowling coordinates, back portion that is straight across the top. Front part of the engine cowling that slopes down towards the front. Transmission continues down slope and also comes in to center of fuselage. -->
 26                           <Coordinate point='0.0 0.0 0.0 1.0 0.0 0.4 1.0 1.0 0.4 0.4 1.0 0.0 0.4 0.6 0.0 0.0 0.0 -0.5 1.0 0.0 -0.9 1.0 1.0 -0.9 0.4 1.0 -0.5 0.4 0.6 -0.5 2.0 0.0 0.4 2.0 1.0 0.4 2.0 0.0 -0.9 2.0 1.0 -0.9 3.5 0.0 0.4 3.5 0.8 0.4 3.5 0.0 -0.9 3.5 0.8 -0.9 4.2 0.0 0.1 4.0 0.6 0.1 4.2 0.0 -0.6 4.0 0.6 -0.6'/>
 27                      </IndexedFaceSet>
 28                 </Shape>
 29                 <Transform translation='2.3 0.2 0.405'>
 30 
                    <!-- Shape Serial_Number_Text is a DEF node that has 1 USE node: USE_1 -->
                    <Shape DEF='Serial_Number_Text'>
 31                           <Appearance>
 32                                <Material diffuseColor='0 0 0'/>
 33                           </Appearance>
 34                           <Text string='"5 0085"'>
 35                                <FontStyle justify='"MIDDLE" "MIDDLE"size='0.7style='BOLD'/>
 36                           </Text>
 37                      </Shape>
 38                 </Transform>
 39                 <Transform rotation='0 1 0 3.1415962translation='2.3 0.2 -.905'>
 40                      <Shape USE='Serial_Number_Text'/>
 41                 </Transform>
 42                 <Transform translation='1.5 1.04 -0.25'>
 43                      <Shape>
 44                           <Appearance>
 45 
                              <!-- ROUTE information for BALL_COLOR node:  [from COLOR_PATH.value_changed to set_emissiveColor ] -->
                              <Material DEF='BALL_COLORdiffuseColor='0.4 0.4 0.4'/>
 46                           </Appearance>
 47                           <Sphere radius='0.04'/>
 48                      </Shape>
 49                 </Transform>
 50                 <Transform translation='1.5 1.02 -0.25'>
 51                      <Shape>
 52                           <Appearance>
 53                                <Material diffuseColor='0.1 0.1 0.1'/>
 54                           </Appearance>
 55                           <Cylinder height='0.05radius='0.06'/>
 56                      </Shape>
 57                 </Transform>
 58 
               <!-- ROUTE information for CLOCK node:  [from fraction_changed to COLOR_PATH.set_fraction ] -->
               <TimeSensor DEF='CLOCKloop='true'/>
 59 
               <!-- 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'/>
 60            </Group>
 61            < ROUTE  fromNode='CLOCK' fromField='fraction_changed' toNode='COLOR_PATH' toField='set_fraction'/>
 62            < ROUTE  fromNode='COLOR_PATH' fromField='value_changed' toNode='BALL_COLOR' toField='set_emissiveColor'/>
 63       </Scene>
 64  </X3D>
<!--

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

<!-- to top Index for DEF nodes: BALL_COLOR, CLOCK, COLOR_PATH, GREEN, Serial_Number_Text
-->
X3D Tooltips element index: Appearance, Background, ColorInterpolator, Coordinate, Cylinder, FontStyle, Group, head, IndexedFaceSet, Material, meta, ROUTE, Scene, Shape, Sphere, Text, TimeSensor, Transform, WorldInfo, X3D, accessType and type, XML data types, field types

-->
<!-- Online at
https://savage.nps.edu/Savage/AircraftHelicopters/OH58dKiowaWarriorUnitedStates/CowlingIndex.html -->
<!-- Version control at
https://gitlab.nps.edu/Savage/Savage/AircraftHelicopters/OH58dKiowaWarriorUnitedStates/Cowling.x3d -->

<!-- Color 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. -->