X3D Model Documentation: Cockpit.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='Cockpit.x3d'/>
  6            <meta name='descriptioncontent='This file defines a cockpit that is inlined to create the fuselage for a helicopter. LOD for cockpit console set at 2 meters.'/>
  7            <meta name='creatorcontent='Jane Wu (adapted from the original cockpitbottom.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://savage.nps.edu/Savage/AircraftHelicopters/HelicopterUnitedStates/Cockpit.x3d'/>
 11            <meta name='generatorcontent='X3D-Edit 3.2, https://savage.nps.edu/X3D-Edit'/>
 12            <meta name='licensecontent='../../license.html'/>
 13       </head>
<!--

<!-- -->
<!-- to top Index for DEF nodes: COCKPIT, DARK_GREEN, OLIVE
-->
 14       <Scene>
 15            <WorldInfo title='Cockpit.x3d'/>
 16            <Group DEF='COCKPIT'>
 17                 <Transform rotation='0.0 1.0 0.0 3.142translation='0.0 2.0 0.0'>
 18                      <Shape>
 19                           <Appearance DEF='DARK_GREEN'>
 20                                <Material diffuseColor='0.0 0.4 0.2'/>
 21                           </Appearance>
 22                           <Extrusion beginCap='falseconvex='falsecreaseAngle='1.5crossSection='-0.775 1.0 -0.700 1.2 -0.625 1.3 0.625 1.3 0.700 1.2 0.775 1.0endCap='falsesolid='falsespine='0.0 0.0 0.0 0.0 1.1 0.0'/>
 23                      </Shape>
 24                 </Transform>
 25                 <Transform translation='0.0 2.5 -1.0'>
 26                      <Shape>
 27 
                         <!-- Appearance OLIVE is a DEF node that has 2 USE nodes: USE_1, USE_2 -->
                         <Appearance DEF='OLIVE'>
 28                                <Material diffuseColor='0.5 0.5 0.0'/>
 29                           </Appearance>
 30                           <Box size='1.25 0.61 0.45'/>
 31                      </Shape>
 32                 </Transform>
 33                 <Transform translation='0.0 2.15 -0.7'>
 34                      <Shape>
 35                           <Appearance USE='OLIVE'/>
 36                           <Box size='1.25 0.1 1.1'/>
 37                      </Shape>
 38                 </Transform>
 39                 <Transform translation='0.0 2.9 -1.0'>
 40                      <Shape>
 41                           <Appearance USE='OLIVE'/>
 42                           <Box size='0.25 0.5 0.5'/>
 43                      </Shape>
 44                 </Transform>
 45                 <Transform rotation='1.0 0.0 0.0 1.57translation='0.0 3.0 -0.85'>
 46                      <LOD range='2.0'>
 47                           <Inline   url=' "CockpitConsole.x3d" "https://savage.nps.edu/Savage/AircraftHelicopters/HelicopterUnitedStates/CockpitConsole.x3d" "CockpitConsole.wrl" "https://savage.nps.edu/Savage/AircraftHelicopters/HelicopterUnitedStates/CockpitConsole.wrl" '/>
 48                           <Group>
 49                                <Inline   url=' "ConsoleBoard.x3d" "https://savage.nps.edu/Savage/AircraftHelicopters/HelicopterUnitedStates/ConsoleBoard.x3d" "ConsoleBoard.wrl" "https://savage.nps.edu/Savage/AircraftHelicopters/HelicopterUnitedStates/ConsoleBoard.wrl" '/>
 50                           </Group>
 51                      </LOD>
 52                 </Transform>
 53                 <Transform translation='0.0 3.00 -0.80'>
 54                      <Inline   url=' "Nose.x3d" "https://savage.nps.edu/Savage/AircraftHelicopters/HelicopterUnitedStates/Nose.x3d" "Nose.wrl" "https://savage.nps.edu/Savage/AircraftHelicopters/HelicopterUnitedStates/Nose.wrl" '/>
 55                 </Transform>
 56                 <Transform rotation='1.0 0.0 0.0 1.57translation='0.0 3.0 -1.3'>
 57                      <Transform rotation='0.0 1.0 0.0 1.57'>
 58                           <Shape>
 59                                <Appearance>
 60                                     <Material diffuseColor='0.0 0.4 0.3'/>
 61                                </Appearance>
 62                                <IndexedFaceSet coordIndex='0 1 2 3 4 -1 9 8 7 6 5 -1'>
 63                                     <Coordinate point='0.0 0.0 0.0 0.0 -0.06 0.0 0.35 -0.25 0.0 0.1 -0.05 0.0 0.1 0.0 0.0 0.0 0.0 -0.03 0.0 -0.06 -0.03 0.35 -0.25 -0.03 0.1 -0.05 -0.03 0.1 0.0 -0.03'/>
 64                                </IndexedFaceSet>
 65                           </Shape>
 66                      </Transform>
 67                 </Transform>
 68                 <Transform scale='0.95 1.0 1.0translation='-0.02 2.10 -1.30'>
 69                      <Inline   url=' "CockpitTop.x3d" "https://savage.nps.edu/Savage/AircraftHelicopters/HelicopterUnitedStates/CockpitTop.x3d" "CockpitTop.wrl" "https://savage.nps.edu/Savage/AircraftHelicopters/HelicopterUnitedStates/CockpitTop.wrl" '/>
 70                 </Transform>
 71            </Group>
 72       </Scene>
 73  </X3D>
<!--

<!-- -->
<!-- to top Index for DEF nodes: COCKPIT, DARK_GREEN, OLIVE
-->
X3D Tooltips element index: Appearance, Box, Coordinate, Extrusion, Group, head, IndexedFaceSet, Inline, LOD, Material, meta, Scene, Shape, Transform, WorldInfo, X3D, plus documentation for accessType definitions, type definitions, XML data types, and field types

-->
<!-- Online at
https://savage.nps.edu/Savage/AircraftHelicopters/HelicopterUnitedStates/CockpitIndex.html -->
<!-- Version control at
https://gitlab.nps.edu/Savage/Savage/AircraftHelicopters/HelicopterUnitedStates/Cockpit.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. -->