X3D Model Documentation: GunFire.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=' GunFire.x3d '/>
  6            <meta name='descriptioncontent='Animation for the M1 main gun firing'/>
  7            <meta name='creatorcontent='Michael Martin'/>
  8            <meta name='createdcontent='12 September 2004'/>
  9            <meta name='modifiedcontent='20 October 2019'/>
 10            <meta name='subjectcontent='Tank Fire'/>
 11            <meta name='identifiercontent=' https://www.web3d.org/x3d/content/examples/Savage/Scenarios/TankManeuver/GunFire.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: Red, Yellow
-->
 15       <Scene>
 16            <WorldInfo title='GunFire.x3d'/>
 17            <Transform rotation='1 0 0 -1.57'>
 18                 <Transform translation='0 .3 0'>
 19                      <Shape>
 20 
                         <!-- Appearance Yellow is a DEF node that has 1 USE node: USE_1 -->
                         <Appearance DEF='Yellow'>
 21                                <Material ambientIntensity='1diffuseColor='1 1 0emissiveColor='1 1 0shininess='0specularColor='1 1 0'/>
 22                           </Appearance>
 23                           <Cone bottomRadius='.5height='.6'/>
 24                      </Shape>
 25                 </Transform>
 26                 <Transform rotation='1 0 0 3.14translation='0 -1 0'>
 27                      <Shape>
 28                           <Appearance USE='Yellow'/>
 29                           <Cone bottomRadius='.5'/>
 30                      </Shape>
 31                 </Transform>
 32                 <Transform scale='1.2 1.2 1.2'>
 33                      <Transform translation='0 .25 0'>
 34                           <Shape>
 35 
                              <!-- Appearance Red is a DEF node that has 1 USE node: USE_1 -->
                              <Appearance DEF='Red'>
 36                                     <Material ambientIntensity='1diffuseColor='1 0 0emissiveColor='1 0 0shininess='0specularColor='1 .25 0transparency='.5'/>
 37                                </Appearance>
 38                                <Cone bottomRadius='.5height='.5'/>
 39                           </Shape>
 40                      </Transform>
 41                      <Transform rotation='1 0 0 3.14translation='0 -1 0'>
 42                           <Shape>
 43                                <Appearance USE='Red'/>
 44                                <Cone bottomRadius='.5'/>
 45                           </Shape>
 46                      </Transform>
 47                 </Transform>
 48            </Transform>
 49       </Scene>
 50  </X3D>
<!--

<!-- -->
<!-- to top DEF nodes index: Red, Yellow
-->
X3D Tooltips element index: Appearance, Cone, head, Material, meta, Scene, Shape, Transform, 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/Scenarios/TankManeuver/GunFireIndex.html -->
<!-- Version control at
https://sourceforge.net/p/x3d/code/HEAD/tree/www.web3d.org/x3d/content/examples/Savage/Scenarios/TankManeuver/GunFire.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. -->