X3D Model Documentation: Cowling.x3d go to online X3D Example Archives model page

  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='Interchange' version='3.0 xmlns:xsd='https://www.w3.org/2001/XMLSchema-instance' xsd:noNamespaceSchemaLocation='https://www.web3d.org/specifications/x3d-3.0.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='identifiercontent=' https://www.web3d.org/x3d/content/examples/Savage/AircraftHelicopters/HelicopterUnitedStates/Cowling.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, GREEN

-->
 14       <Scene>
 15            <WorldInfo title='Cowling.x3d'/>
 16            <Group>
 17                 <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'/>
 18                 <Shape>
 19                      <Appearance DEF='GREEN'>
 20                           <Material diffuseColor='0.0 0.5 0.0'/>
 21                      </Appearance>
 22                      <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'>
 23                           <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'/>
 24                      </IndexedFaceSet>
 25                 </Shape>
 26                 <Transform translation='1.5 1.04 -0.25'>
 27                      <Shape>
 28                           <Appearance>
 29 
                              <!-- ROUTE information for BALL_COLOR node:  [from COLOR_PATH.value_changed to set_emissiveColor ] -->
                              <Material DEF='BALL_COLORdiffuseColor='0.4 0.4 0.4'/>
 30                           </Appearance>
 31                           <Sphere radius='0.04'/>
 32                      </Shape>
 33                 </Transform>
 34                 <Transform translation='1.5 1.02 -0.25'>
 35                      <Shape>
 36                           <Appearance>
 37                                <Material diffuseColor='0.1 0.1 0.1'/>
 38                           </Appearance>
 39                           <Cylinder height='0.05radius='0.06'/>
 40                      </Shape>
 41                 </Transform>
 42 
               <!-- ROUTE information for CLOCK node:  [from fraction_changed to COLOR_PATH.set_fraction ] -->
               <TimeSensor DEF='CLOCKloop='truecycleInterval='1.0enabled='true'/>
 43 
               <!-- 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'/>
 44            </Group>
 45            < ROUTE  fromNode='CLOCK' fromField='fraction_changed' toNode='COLOR_PATH' toField='set_fraction'/>
 46            < ROUTE  fromNode='COLOR_PATH' fromField='value_changed' toNode='BALL_COLOR' toField='set_emissiveColor'/>
 47       </Scene>
 48  </X3D>
<!--

Event Graph ROUTE Table shows event connections.

--> <!-- to top DEF nodes index: BALL_COLOR, CLOCK, COLOR_PATH, GREEN

-->

X3D Tooltips element index: to top Appearance, Background, ColorInterpolator, Coordinate, Cylinder, Group, head, IndexedFaceSet, 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 1 ROUTE connections, showing X3D event-model relationships for this scene.

Each row with a ROUTE statement shows an event cascade that may occur during a single timestamp interval between frame renderings, performed as part of the X3D execution model.

CLOCK
TimeSensor
fraction_changed
SFFloat
→
ROUTE
event to
(1)
COLOR_PATH
ColorInterpolator
set_fraction
SFFloat
then
from
same
node
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! 😀

-->
go to online X3D Example Archives model page <!-- Online at
https://www.web3d.org/x3d/content/examples/Savage/AircraftHelicopters/HelicopterUnitedStates/CowlingIndex.html -->
<!-- SourceForge version control Version control at    
https://sourceforge.net/p/x3d/code/HEAD/tree/www.web3d.org/x3d/content/examples/Savage/AircraftHelicopters/HelicopterUnitedStates/Cowling.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. -->