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='FiveInchGun.x3d'/> |
6 | <meta name='description' content='5 inch 54 MK 42 gun from Cruiser model.'/> |
7 | <meta name='creator' content='James Harney, Josh Hansen'/> |
8 | <meta name='translator' content='Xeena VRML importer, X3D-Edit 3.1, https://www.web3d.org/x3d/content/README.X3D-Edit.html'/> |
9 | <meta name='created' content='1 August 2001'/> |
10 | <meta name='translated' content='13 October 2002'/> |
11 | <meta name='modified' content='20 October 2019'/> |
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://savage.nps.edu/Savage/ShipsMilitary/DD963SpruanceUnitedStates/FiveInchGun.x3d'/> |
15 | <meta name='generator' content='X3D-Edit 3.2, https://savage.nps.edu/X3D-Edit'/> |
16 | <meta name='generator' content='Vrml97ToX3dNist, http://ovrt.nist.gov/v2_x3d.html'/> |
17 | <meta name='license' content='../../license.html'/> |
18 | </head> |
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='FRONTGUN' rotation='1.0 0.05 0.0 -1.57' scale='1.3 1.3 1.3'> |
25 | <Transform DEF='FrontGunBottom1' rotation='1.0 0.0 0.0 1.57' translation='0.0 2.2 -2.2'> |
26 | <Shape> |
27 | <Appearance> |
28 | <Material diffuseColor='0.7 0.7 0.7' shininess='0.3'/> |
29 | </Appearance> |
30 | <Cylinder height='0.25' radius='4.0'/> |
31 | </Shape> |
32 | </Transform> |
33 | <Transform DEF='FrontGunBottom2' rotation='1.0 0.0 0.0 1.57' translation='0.0 2.0 -2.0'> |
34 | <Shape> |
35 | <Appearance> |
36 | <Material diffuseColor='0.7 0.7 0.7' shininess='0.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='0.7 0.7 0.7' shininess='0.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.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.0' spine='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='FrontGunFire' rotation='-0.3 0.0 1.0 1.57' translation='4.0 2.1 1.0'> |
52 | <Shape> |
53 | <Appearance> |
54 | <Material diffuseColor='0.7 0.7 0.7' shininess='0.3'/> |
55 | </Appearance> |
56 | <Cylinder bottom='false' height='10.0' 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' description='barrel sensor' maxAngle='0.4' minAngle='-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> |
<!--
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. -->