X3D Model Documentation: FiveInchGun.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='FiveInchGun.x3d'/>
  6            <meta name='descriptioncontent='5 inch 54 MK 42 gun from Cruiser model.'/>
  7            <meta name='creatorcontent='James Harney, Josh Hansen'/>
  8            <meta name='translatorcontent='Xeena VRML importer, X3D-Edit 3.1, https://www.web3d.org/x3d/content/README.X3D-Edit.html'/>
  9            <meta name='createdcontent='1 August 2001'/>
 10            <meta name='translatedcontent='13 October 2002'/>
 11            <meta name='modifiedcontent='20 October 2019'/>
 12            <meta name='referencecontent='http://www.usni.org/Proceedings/Articles01/PROphotocontest4.html'/>
 13            <meta name='referencecontent='https://www.fas.org/man/dod-101/sys/ship/weaps/mk-42.htm'/>
 14            <meta name='identifiercontent='https://savage.nps.edu/Savage/ShipsMilitary/DD963SpruanceUnitedStates/FiveInchGun.x3d'/>
 15            <meta name='generatorcontent='X3D-Edit 3.2, https://savage.nps.edu/X3D-Edit'/>
 16            <meta name='generatorcontent='Vrml97ToX3dNist, http://ovrt.nist.gov/v2_x3d.html'/>
 17            <meta name='licensecontent='../../license.html'/>
 18       </head>
<!--

<!--
Event Graph ROUTE Table shows event connections.
-->
<!-- to top Index for DEF nodes: BarrelSensor, FIVEINCHGUN, FRONTGUN, FrontGunBottom1, FrontGunBottom2, FrontGunFire, Gun_barrel, GunBody, GunRotation
-->
 19       <Scene>
 20            <WorldInfo title='FiveInchGun.x3d'/>
 21            <Transform>
 22                 <Transform rotation='0.0 0.0 1.0 -0.06'>
 23                      <Group DEF='FIVEINCHGUN'>
 24                           <Transform DEF='FRONTGUNrotation='1.0 0.05 0.0 -1.57scale='1.3 1.3 1.3'>
 25                                <Transform DEF='FrontGunBottom1rotation='1.0 0.0 0.0 1.57translation='0.0 2.2 -2.2'>
 26                                     <Shape>
 27                                          <Appearance>
 28                                               <Material diffuseColor='0.7 0.7 0.7shininess='0.3'/>
 29                                          </Appearance>
 30                                          <Cylinder height='0.25radius='4.0'/>
 31                                     </Shape>
 32                                </Transform>
 33                                <Transform DEF='FrontGunBottom2rotation='1.0 0.0 0.0 1.57translation='0.0 2.0 -2.0'>
 34                                     <Shape>
 35                                          <Appearance>
 36                                               <Material diffuseColor='0.7 0.7 0.7shininess='0.3'/>
 37                                          </Appearance>
 38                                          <Cylinder height='0.5radius='1.25'/>
 39                                     </Shape>
 40                                </Transform>
 41                                <Transform DEF='GunRotation'>
 42                                     <Transform DEF='GunBodyscale='0.5 0.5 0.7'>
 43                                          <Shape>
 44                                               <Appearance>
 45                                                    <Material diffuseColor='0.7 0.7 0.7shininess='0.3'/>
 46                                               </Appearance>
 47                                               <Extrusion creaseAngle='1.5crossSection='-6.0 0.0 -5.9 0.7 -5.7 1.2 -5.3 1.7 -5.0 2.1 -4.0 2.2 -3.0 2.3 -2.0 2.4 0.0 2.5 1.0 2.6 2.0 2.65 3.0 2.25 4.0 1.7 5.0 1.0 6.0 0.0 7.0 -2.5 -5.5 -2.5 -6.0 0.0spine='0.0 1.0 0.0 0.0 7.0 0.0'/>
 48                                          </Shape>
 49                                     </Transform>
 50 
                                   <!-- ROUTE information for Gun_barrel node:  [from BarrelSensor.rotation_changed to set_rotation ] -->
                                   <Transform DEF='Gun_barrel'>
 51                                          <Transform DEF='FrontGunFirerotation='-0.3 0.0 1.0 1.57translation='4.0 2.1 1.0'>
 52                                               <Shape>
 53                                                    <Appearance>
 54                                                         <Material diffuseColor='0.7 0.7 0.7shininess='0.3'/>
 55                                                    </Appearance>
 56                                                    <Cylinder bottom='falseheight='10.0radius='0.2top='false'/>
 57                                               </Shape>
 58                                          </Transform>
 59 
                                        <!-- ROUTE information for BarrelSensor node:  [from rotation_changed to Gun_barrel.set_rotation ] -->
                                        <CylinderSensor DEF='BarrelSensordescription='barrel sensormaxAngle='0.4minAngle='-0.3'/>
 60                                     </Transform>
 61                                </Transform>
 62                           </Transform>
 63                      </Group>
 64                 </Transform>
 65            </Transform>
 66            < ROUTE  fromNode='BarrelSensor' fromField='rotation_changed' toNode='Gun_barrel' toField='set_rotation'/>
 67       </Scene>
 68  </X3D>
<!--

<!--
Event Graph ROUTE Table shows event connections.
-->
<!-- to top Index for DEF nodes: BarrelSensor, FIVEINCHGUN, FRONTGUN, FrontGunBottom1, FrontGunBottom2, FrontGunFire, Gun_barrel, GunBody, GunRotation
-->
X3D Tooltips element index: Appearance, Cylinder, CylinderSensor, Extrusion, Group, head, Material, meta, ROUTE, 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/ShipsMilitary/DD963SpruanceUnitedStates/FiveInchGunIndex.html -->
<!-- Version control at
https://gitlab.nps.edu/Savage/Savage/ShipsMilitary/DD963SpruanceUnitedStates/FiveInchGun.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. -->