X3D Model Documentation: Fuselage.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=' Fuselage.x3d '/>
  6            <meta name='descriptioncontent='This file defines a fuselage inlined to create a helicopter'/>
  7            <meta name='creatorcontent='Jane Wu (adapted from the original fuselage.wrl created for vrtp demo helicopter)'/>
  8            <meta name='createdcontent='8 January 2001'/>
  9            <meta name='modifiedcontent='20 October 2019'/>
 10            <meta name='identifiercontent=' https://www.web3d.org/x3d/content/examples/Savage/AircraftHelicopters/HelicopterUnitedStates/Fuselage.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, BLACK, CLOCK, COLOR_PATH, FUSELAGE, GREEN, MAIN_FUSELAGE_SHAPE, MAIN_SECTION, TAIL_FUSELAGE_SHAPE
-->
 14       <Scene>
 15            <WorldInfo title='Fuselage.x3d'/>
 16            <Group>
 17                 <Group DEF='FUSELAGE'>
 18                      <Transform DEF='MAIN_SECTIONrotation='1.0 0.0 0.0 1.57'>
 19                           <Shape DEF='MAIN_FUSELAGE_SHAPE'>
 20 
                              <!-- Appearance GREEN is a DEF node that has 1 USE node: USE_1 -->
                              <Appearance DEF='GREEN'>
 21                                     <Material diffuseColor='0.0 0.4 0.0'/>
 22                                </Appearance>
 23                                <Extrusion convex='falsecreaseAngle='0.8crossSection='-0.625 1.3 0.575 1.3 0.675 1.2 0.725 1.0 0.775 0.6 0.725 0.2 0.625 0.05 0.525 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 2.43 0.0'/>
 24                           </Shape>
 25                           <Shape DEF='TAIL_FUSELAGE_SHAPE'>
 26                                <Appearance USE='GREEN'/>
 27                                <Extrusion convex='falsecreaseAngle='0.8crossSection='-0.625 1.3 0.575 1.3 0.675 1.2 0.725 1.0 0.775 0.6 0.725 0.2 0.625 0.05 0.525 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 3.33 0.0'/>
 28                           </Shape>
 29                      </Transform>
 30                      <Transform rotation='1.0 0.0 0.0 -1.57translation='0.0 0.0 2.1'>
 31                           <Inline   url=' "Cockpit.x3d" "https://www.web3d.org/x3d/content/examples/Savage/AircraftHelicopters/HelicopterUnitedStates/Cockpit.x3d" "Cockpit.wrl" "https://www.web3d.org/x3d/content/examples/Savage/AircraftHelicopters/HelicopterUnitedStates/Cockpit.wrl" '/>
 32                      </Transform>
 33                      <Transform translation='0.0 -1.3 0.5'>
 34                           <Shape>
 35                                <Appearance DEF='BLACK'>
 36                                     <Material diffuseColor='0.0 0.0 0.0'/>
 37                                </Appearance>
 38                                <Box size='0.5 0.1 0.5'/>
 39                           </Shape>
 40                      </Transform>
 41                 </Group>
 42                 <Transform translation='0.0 -1.36 2.0'>
 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='0.0 -1.36 2.0'>
 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 DEF nodes index: BALL_COLOR, BLACK, CLOCK, COLOR_PATH, FUSELAGE, GREEN, MAIN_FUSELAGE_SHAPE, MAIN_SECTION, TAIL_FUSELAGE_SHAPE
-->
X3D Tooltips element index: Appearance, Box, ColorInterpolator, Cylinder, Extrusion, Group, head, 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/HelicopterUnitedStates/FuselageIndex.html -->
<!-- Version control at
https://sourceforge.net/p/x3d/code/HEAD/tree/www.web3d.org/x3d/content/examples/Savage/AircraftHelicopters/HelicopterUnitedStates/Fuselage.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. -->