X3D Model Documentation: Gun.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=' Gun.x3d '/>
  6            <meta name='descriptioncontent='Arleigh Burke 5inch gun, modified from Cruiser model on SAVAGE'/>
  7            <meta name='creatorcontent='James Harney'/>
  8            <meta name='createdcontent='1 August 2001'/>
  9            <meta name='modifiedcontent='20 October 2019'/>
 10            <meta name='referencecontent=' https://www.fas.org/man/dod-101/sys/ship/ddg-51.htm '/>
 11            <meta name='identifiercontent=' https://www.web3d.org/x3d/content/examples/Savage/ShipsMilitary/DDGArleighBurkeUnitedStates/Gun.x3d '/>
 12            <meta name='generatorcontent='X3D-Edit 3.2, https://www.web3d.org/x3d/tools/X3D-Edit'/>
 13            <meta name='licensecontent='../../license.html'/>
 14       </head>
<!--

<!-- -->
<!-- to top DEF nodes index: FIVEINCHGUN, FRONTGUN, FrontGunBody, FrontGunBottom1, FrontGunBottom2, FrontGunFire, GUNGREY

Index for Viewpoint node: Viewpoint_1
-->
 15       <Scene>
 16            <WorldInfo title='Gun.x3d'/>
 17            <NavigationInfo speed='10visibilityLimit='2000'/>
 18            <Viewpoint description='5-inch Gun Side Viewposition='0 5 50'/>
 19            <Transform>
 20                 <Group DEF='FIVEINCHGUN'>
 21                      <Transform DEF='FRONTGUNrotation='1 0.05 0 -1.57scale='1.3 1.3 1.3'>
 22                           <Transform DEF='FrontGunBodyscale='0.5 0.5 0.7'>
 23                                <Shape>
 24 
                                   <!-- Appearance GUNGREY is a DEF node that has 3 USE nodes: USE_1, USE_2, USE_3 -->
                                   <Appearance DEF='GUNGREY'>
 25                                          <Material diffuseColor='0.75 0.75 0.75shininess='0.5'/>
 26                                     </Appearance>
 27                                     <Extrusion creaseAngle='1.5crossSection='-6 0 -5.9 0.7 -5.7 1.2 -5.3 1.7 -5 2.1 -4 2.2 -3 2.3 -2 2.4 2.5 1 2.6 2 2.653 2.25 4 1.75 16 0 7 -2.5 -5.5 -2.5 -6 0spine='0 1 0 0 7 0'/>
 28                                </Shape>
 29                           </Transform>
 30                           <Transform DEF='FrontGunFirerotation='-0.3 0 1 1.57translation='4 2.1 1'>
 31                                <Shape>
 32                                     <Appearance USE='GUNGREY'/>
 33                                     <Cylinder bottom='falseheight='10radius='0.2top='false'/>
 34                                </Shape>
 35                           </Transform>
 36                           <Transform DEF='FrontGunBottom1rotation='1 0 0 1.57translation='0 2.2 -2.2'>
 37                                <Shape>
 38                                     <Appearance USE='GUNGREY'/>
 39                                     <Cylinder height='0.25radius='4'/>
 40                                </Shape>
 41                           </Transform>
 42                           <Transform DEF='FrontGunBottom2rotation='1 0 0 1.57translation='0 2.0 -2.0'>
 43                                <Shape>
 44                                     <Appearance USE='GUNGREY'/>
 45                                     <Cylinder height='0.5radius='1.25'/>
 46                                </Shape>
 47                           </Transform>
 48                      </Transform>
 49                 </Group>
 50            </Transform>
 51       </Scene>
 52  </X3D>
<!--

<!-- -->
<!-- to top DEF nodes index: FIVEINCHGUN, FRONTGUN, FrontGunBody, FrontGunBottom1, FrontGunBottom2, FrontGunFire, GUNGREY

Index for Viewpoint node: Viewpoint_1
-->
X3D Tooltips element index: Appearance, Cylinder, Extrusion, Group, head, Material, meta, NavigationInfo, Scene, Shape, Transform, Viewpoint, WorldInfo, X3D, plus documentation for accessType definitions, type definitions, XML data types, and field types

-->
<!-- Online at
https://www.web3d.org/x3d/content/examples/Savage/ShipsMilitary/DDGArleighBurkeUnitedStates/GunIndex.html -->
<!-- Version control at
https://sourceforge.net/p/x3d/code/HEAD/tree/www.web3d.org/x3d/content/examples/Savage/ShipsMilitary/DDGArleighBurkeUnitedStates/Gun.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. -->