X3D Model Documentation: OtoBreda76.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=' OtoBreda76.x3d '/>
  6            <meta name='creatorcontent='Boon Chuan LEE'/>
  7            <meta name='descriptioncontent='OtoBreda 76mm Naval Gun'/>
  8            <meta name='createdcontent='30 July 2001'/>
  9            <meta name='modifiedcontent='7 April 2024'/>
 10            <meta name='referencecontent=' http://www.mindef.gov.sg/navy/pict/ship/ship2.html '/>
 11            <meta name='referencecontent='http://www.mindef.gov.sg/navy/pict/ship/pics/shp_nls1.jpg'/>
 12            <meta name='referencecontent='http://www.mindef.gov.sg/navy/pict/ship/pics/shp_nls2.jpg'/>
 13            <meta name='referencecontent='http://www.mindef.gov.sg/navy/pict/ship/pics/shp_nls3.jpg'/>
 14            <meta name='referencecontent='http://www.mindef.gov.sg/navy/pict/ship/pics/shp_nls4.jpg'/>
 15            <meta name='referencecontent='http://www.janesonline.com'/>
 16            <meta name='identifiercontent=' https://www.web3d.org/x3d/content/examples/Savage/ShipsMilitary/LandingShipTankEnduranceSingapore/OtoBreda76.x3d '/>
 17            <meta name='generatorcontent='X3D-Edit 3.2, https://www.web3d.org/x3d/tools/X3D-Edit'/>
 18            <meta name='licensecontent='../../license.html'/>
 19       </head>
<!--

<!--
Event Graph ROUTE Table shows event connections.
-->
<!-- to top DEF nodes index: BarrelAssembly, BarrelPart1, BarrelPart2, BarrelPart3, BarrelPart4, BarrelSensor, BarrelTransform, CircularHandle, CrankShaft, DarkGrey, EntranceCrank, GunGrey, Muzzle, MuzzleHole, Shaft, StrutOne, Struts, StrutThree, StrutTwo, Top, TopBall, TurretAssembly, TurretBase, TurretBody, TurretEntrance, TurretHole, TurretSensor, TurretTop, TurretTransform
-->
 20       <Scene>
 21            <WorldInfo title='OtoBreda76.x3d'/>
 22            <Background groundAngle='1.309 1.570796groundColor='0 .2 1 0 .5 1 0.8 0.9 0.9skyAngle='1.309 1.571skyColor='.5 .5 .9 0 .5 1 1 0.8 0.8'/>
 23 
          <!-- ROUTE information for TurretTransform node:  [from TurretSensor.rotation_changed to set_rotation ] -->
          <Transform DEF='TurretTransform'>
 24 
               <!-- ROUTE information for TurretSensor node:  [from rotation_changed to TurretTransform.set_rotation ] -->
               <CylinderSensor DEF='TurretSensormaxAngle='1.7minAngle='-1.7'/>
 25                 <Group DEF='TurretAssembly'>
 26                      <Transform>
 27                           <Shape DEF='TurretBody'>
 28                                <Cylinder height='1.3radius='1.5'/>
 29 
                              <!-- Appearance GunGrey is a DEF node that has 2 USE nodes: USE_1, USE_2 -->
                              <Appearance DEF='GunGrey'>
 30                                     <Material diffuseColor='0.75 0.75 0.75shininess='0.5'/>
 31                                </Appearance>
 32                           </Shape>
 33                      </Transform>
 34                      <Transform translation='1.47 0 0'>
 35                           <Shape DEF='TurretHole'>
 36                                <Extrusion creaseAngle='0.785crossSection='-0.03 0.25 0.035 0.25 0.035 -0.25 -0.03 -0.25 -0.03 0.25scale='0.9 1 1 1 1 1 1 1 1 1 1 1 1 1 1 0.5spine='0 -0.55 0 0 0.6 0 -0.02 0.77 0 -0.07 0.875 0 -0.2 0.965 0 -0.35 1.056 0 -0.45 1.095 0 -0.55 1.145 0'/>
 37                                <Appearance>
 38                                     <Material diffuseColor='0.05 0.1 0.1'/>
 39                                </Appearance>
 40                           </Shape>
 41                      </Transform>
 42                      <Transform scale='1.8 0.7 1.8translation='0 0.7 0'>
 43                           <Shape DEF='TurretTop'>
 44                                <Sphere radius='0.83'/>
 45                                <Appearance USE='GunGrey'/>
 46                           </Shape>
 47                      </Transform>
 48                      <Transform translation='0 -0.8 0'>
 49                           <Shape DEF='TurretBase'>
 50                                <Cylinder height='0.6radius='1.4'/>
 51                                <Appearance>
 52                                     <Material diffuseColor='0.55 0.55 0.55'/>
 53                                </Appearance>
 54                           </Shape>
 55                      </Transform>
 56                      <Transform rotation='0 0 1 -1.57translation='-1.5 0 0'>
 57                           <Shape DEF='TurretEntrance'>
 58                                <Cylinder height='0.2radius='0.45'/>
 59                                <Appearance>
 60                                     <Material diffuseColor='0.65 0.65 0.65shininess='0.3'/>
 61                                </Appearance>
 62                           </Shape>
 63                      </Transform>
 64                      <Transform rotation='0 1 0 -1.57scale='0.8 0.8 0.8translation='-1.7 0 0'>
 65                           <Group DEF='EntranceCrank'>
 66                                <Transform DEF='CircularHandle'>
 67                                     <Shape>
 68                                          <Extrusion beginCap='falsecreaseAngle='1.57crossSection='0.1 0 0.092 -0.038 0.071 -0.071 0.038 -0.092 0 -0.1 -0.038 -0.092 -0.071 -0.071 -0.092 -0.038 -0.1 0 -0.092 0.038 -0.071 0.071 -0.038 0.092 0 0.1 0.038 0.092 0.071 0.071 0.092 0.038 0.1 0endCap='falsescale='0.6 0.6 0.6 0.6 0.6 0.6 0.6 0.6 0.6 0.6 0.6 0.6 0.6 0.6 0.6 0.6 0.6 0.6 0.6 0.6 0.6 0.6 0.6 0.6 0.6 0.6 0.6 0.6 0.6 0.6 0.6 0.6 0.6 0.6spine='0.3 0 0 0.276 -0.114 0 0.213 -0.213 0 0.114 -0.276 0 0 -0.3 0 -0.114 -0.276 0 -0.213 -0.213 0 -0.276 -0.114 0 -0.3 0 0 -0.276 0.114 0 -0.213 0.213 0 -0.114 0.276 0 0 0.3 0 0.114 0.276 0 0.213 0.213 0 0.276 0.114 0 0.3 0 0'/>
 69 
                                        <!-- Appearance DarkGrey is a DEF node that has 4 USE nodes: USE_1, USE_2, USE_3, USE_4 -->
                                        <Appearance DEF='DarkGrey'>
 70                                               <Material diffuseColor='0.6 0.6 0.6shininess='0.3'/>
 71                                          </Appearance>
 72                                     </Shape>
 73                                </Transform>
 74                                <Transform DEF='CrankShafttranslation='0 0 -0.05'>
 75                                     <Transform DEF='Shaftrotation='1 0 0 1.57'>
 76                                          <Shape>
 77                                               <Cylinder height='0.02radius='0.08'/>
 78                                               <Appearance USE='DarkGrey'/>
 79                                          </Shape>
 80                                     </Transform>
 81                                     <Transform DEF='Toprotation='1 0 0 1.57translation='0 0 -0.1'>
 82                                          <Shape>
 83                                               <Cylinder height='0.2radius='0.05'/>
 84                                               <Appearance USE='DarkGrey'/>
 85                                          </Shape>
 86                                     </Transform>
 87                                     <Transform DEF='TopBalltranslation='0 0 -0.01'>
 88                                          <Shape>
 89                                               <Sphere radius='0.05'/>
 90                                               <Appearance USE='DarkGrey'/>
 91                                          </Shape>
 92                                     </Transform>
 93                                </Transform>
 94                                <Transform DEF='Struts'>
 95 
                                   <!-- Transform StrutOne is a DEF node that has 2 USE nodes: USE_1, USE_2 -->
                                   <Transform DEF='StrutOnerotation='1 0 0 0.21translation='0 0.04 -0.05725'>
 96                                          <Shape>
 97                                               <Extrusion creaseAngle='3.14crossSection='0.01 0 0.0092 -0.0038 0.0071 -0.0071 0.0038 -0.0092 0 -0.01 -0.0038 -0.0092 -0.0071 -0.0071 -0.0092 -0.0038 -0.01 0 -0.0092 0.0038 -0.0071 0.0071 -0.0038 0.0092 0 0.01 0.0038 0.0092 0.0071 0.0071 0.0092 0.0038 0.01 0scale='4 2 2 2 2 2 2 2 2 4spine='0 0 0 0 0.125 0 0 0.25 0 0 0.255 0 0 0.275 0'/>
 98                                               <Appearance USE='DarkGrey'/>
 99                                          </Shape>
100                                     </Transform>
101                                     <Transform DEF='StrutTworotation='0 0 1 2.09'>
102                                          <Transform USE='StrutOne'/>
103                                     </Transform>
104                                     <Transform DEF='StrutThreerotation='0 0 -1 2.09'>
105                                          <Transform USE='StrutOne'/>
106                                     </Transform>
107                                </Transform>
108                           </Group>
109                      </Transform>
110                 </Group>
111                 <Transform rotation='1 0 0 1.57'>
112 
                    <!-- ROUTE information for BarrelSensor node:  [from rotation_changed to BarrelTransform.set_rotation ] -->
                    <CylinderSensor DEF='BarrelSensormaxAngle='0.7'/>
113 
                    <!-- ROUTE information for BarrelTransform node:  [from BarrelSensor.rotation_changed to set_rotation ] -->
                    <Transform DEF='BarrelTransform'>
114                           <Transform rotation='0 0 1 -1.57'>
115                                <Group DEF='BarrelAssembly'>
116                                     <Transform translation='0 1 0'>
117                                          <Shape DEF='BarrelPart1'>
118                                               <Cylinder radius='0.2'/>
119                                               <Appearance USE='GunGrey'/>
120                                          </Shape>
121                                     </Transform>
122                                     <Transform translation='0 2.25 0'>
123                                          <Shape DEF='BarrelPart2'>
124                                               <Cylinder height='0.5radius='0.15'/>
125                                               <Appearance>
126                                                    <Material diffuseColor='0.9 0.9 0.9shininess='0.7'/>
127                                               </Appearance>
128                                          </Shape>
129                                     </Transform>
130                                     <Transform translation='0 2.5 0'>
131                                          <Shape DEF='BarrelPart3'>
132                                               <Sphere radius='0.2'/>
133                                               <Appearance>
134                                                    <Material diffuseColor='0.5 0.5 0.5shininess='0.4'/>
135                                               </Appearance>
136                                          </Shape>
137                                     </Transform>
138                                     <Transform translation='0 3.5 0'>
139                                          <Shape DEF='BarrelPart4'>
140                                               <Cylinder height='3radius='0.11'/>
141                                               <Appearance>
142                                                    <Material diffuseColor='0.55 0.55 0.55shininess='0.5'/>
143                                               </Appearance>
144                                          </Shape>
145                                     </Transform>
146                                     <Transform translation='0 5 0'>
147                                          <Shape DEF='Muzzle'>
148                                               <Cylinder height='0.3radius='0.13'/>
149                                               <Appearance>
150                                                    <Material diffuseColor='0.55 0.55 0.55shininess='0.5'/>
151                                               </Appearance>
152                                          </Shape>
153                                          <Shape DEF='MuzzleHole'>
154                                               <Cylinder height='0.32radius='0.11'/>
155                                               <Appearance>
156                                                    <Material diffuseColor='0.1 0.1 0.1'/>
157                                               </Appearance>
158                                          </Shape>
159                                     </Transform>
160                                </Group>
161                           </Transform>
162                      </Transform>
163                 </Transform>
164            </Transform>
165            < ROUTE  fromNode='TurretSensor' fromField='rotation_changed' toNode='TurretTransform' toField='set_rotation'/>
166            < ROUTE  fromNode='BarrelSensor' fromField='rotation_changed' toNode='BarrelTransform' toField='set_rotation'/>
167       </Scene>
168  </X3D>
<!--

<!--
Event Graph ROUTE Table shows event connections.
-->
<!-- to top DEF nodes index: BarrelAssembly, BarrelPart1, BarrelPart2, BarrelPart3, BarrelPart4, BarrelSensor, BarrelTransform, CircularHandle, CrankShaft, DarkGrey, EntranceCrank, GunGrey, Muzzle, MuzzleHole, Shaft, StrutOne, Struts, StrutThree, StrutTwo, Top, TopBall, TurretAssembly, TurretBase, TurretBody, TurretEntrance, TurretHole, TurretSensor, TurretTop, TurretTransform
-->
X3D Tooltips element index: Appearance, Background, Cylinder, CylinderSensor, Extrusion, Group, head, Material, meta, ROUTE, Scene, Shape, Sphere, Transform, WorldInfo, X3D, plus documentation for accessType definitions, type definitions, XML data types, and field types

Event Graph ROUTE Table entries with 2 ROUTE connections total, showing X3D event-model relationships for this scene.

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

BarrelSensor
CylinderSensor
rotation_changed
SFRotation

ROUTE
event to
(1)
BarrelTransform
Transform
set_rotation
SFRotation

TurretSensor
CylinderSensor
rotation_changed
SFRotation

ROUTE
event to
(1)
TurretTransform
Transform
set_rotation
SFRotation

Additional guidance on X3D animation can be found in the 10-Step Animation Design Process and Event Tracing hint sheets. Have fun with X3D! 😀

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