| 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='title' content=' DDG51gun.x3d '/> |
| 6 | <meta name='description' content='5-inch 54 gun from Cruiser model on SAVAGE'/> |
| 7 | <meta name='creator' content='James Harney'/> |
| 8 | <meta name='created' content='1 August 2001'/> |
| 9 | <meta name='modified' content='7 April 2024'/> |
| 10 | <meta name='contributor' content='LT Josh Hansen'/> |
| 11 | <meta name='modified' content='7 April 2024'/> |
| 12 | <meta name='reference' content=' http://www.usni.org/Proceedings/Articles01/PROphotocontest4.html '/> |
| 13 | <meta name='reference' content=' https://www.fas.org/man/dod-101/sys/ship/weaps/mk-42.htm '/> |
| 14 | <meta name='identifier' content=' https://www.web3d.org/x3d/content/examples/Savage/ShipsMilitary/DD963SpruanceUnitedStates/DDG51gun.x3d '/> |
| 15 | <meta name='generator' content='X3D-Edit 3.2, https://www.web3d.org/x3d/tools/X3D-Edit'/> |
| 16 | <meta name='license' content='../../license.html'/> |
| 17 | </head> |
| 18 | <Scene> |
| 19 | <WorldInfo title='DDG51gun.x3d'/> |
| 20 | <NavigationInfo/> |
| 21 | <Transform> |
| 22 | <Transform rotation='0 0 1 -.06'> |
| 23 | <Group DEF='FIVEINCHGUN'> |
| 24 | <Transform DEF='FRONTGUN' rotation='1 0.05 0 -1.57' scale='1.3 1.3 1.3'> |
| 25 | <Transform DEF='FrontGunBottom1' rotation='1 0 0 1.57' translation='0 2.2 -2.2'> |
| 26 | <Shape> |
| 27 | <Appearance> |
| 28 | <Material diffuseColor='.7 .7 .7' shininess='.3'/> |
| 29 | </Appearance> |
| 30 | <Cylinder height='0.25' radius='4'/> |
| 31 | </Shape> |
| 32 | </Transform> |
| 33 | <Transform DEF='FrontGunBottom2' rotation='1 0 0 1.57' translation='0 2.0 -2.0'> |
| 34 | <Shape> |
| 35 | <Appearance> |
| 36 | <Material diffuseColor='.7 .7 .7' shininess='.3'/> |
| 37 | </Appearance> |
| 38 | <Cylinder height='0.5' radius='1.25'/> |
| 39 | </Shape> |
| 40 | </Transform> |
| 41 | <Transform DEF='GunRotation'> |
| 42 | <Transform DEF='GunBody' scale='0.5 0.5 0.7'> |
| 43 | <Shape> |
| 44 | <Appearance> |
| 45 | <Material diffuseColor='.7 .7 .7' shininess='.3'/> |
| 46 | </Appearance> |
| 47 | <Extrusion creaseAngle='1.5' crossSection='-6.0 0.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 0 2.5 1 2.6 2 2.65 3 2.25 4 1.7 5 1 6 0 7 -2.5 -5.5 -2.5 -6 0' spine='0 1 0 0 7 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='FrontGunFire' rotation='-0.3 0 1 1.57' translation='4 2.1 1'> |
| 52 | <Shape> |
| 53 | <Appearance> |
| 54 | <Material diffuseColor='.7 .7 .7' shininess='.3'/> |
| 55 | </Appearance> |
| 56 | <Cylinder bottom='false' height='10' radius='0.2' top='false'/> |
| 57 | </Shape> |
| 58 | </Transform> |
| 59 |
<!-- ROUTE information for BarrelSensor node:
[from rotation_changed to Gun_barrel.set_rotation
]
-->
<CylinderSensor DEF='BarrelSensor' maxAngle='.4' minAngle='-.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 with 1 ROUTE connection 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 |
Gun_barrel
Transform set_rotation SFRotation |
<!--
Color-coding legend: X3D terminology
<X3dNode
DEF='idName' field='value'/>
matches XML terminology
<XmlElement
DEF='idName' attribute='value'/>
(Light-blue background: event-based behavior node or statement)
(Grey background inside box: inserted documentation)
(Magenta background: X3D Extensibility)
-->
<!--
For additional help information about X3D scenes, please see X3D Tooltips, X3D Resources, and X3D Scene Authoring Hints.
-->