1 |
<?xml version="1.0" encoding="UTF-8"?>
|
2 |
<!DOCTYPE X3D PUBLIC "ISO//Web3D//DTD X3D 3.1//EN" "https://www.web3d.org/specifications/x3d-3.1.dtd">
|
3 | <X3D profile='Immersive' version='3.1' xmlns:xsd='http://www.w3.org/2001/XMLSchema-instance' xsd:noNamespaceSchemaLocation='https://www.web3d.org/specifications/x3d-3.1.xsd'> |
4 | <head> |
5 | <meta name='title' content='OliverHazardPerryFFGPrototype.x3d'/> |
6 | <meta name='description' content='Prototype for an Oliver Perry (FFG7) Class Navy Frigate. Proto allows weapon placements, hull number, and ship name markings'/> |
7 | <meta name='creator' content='Patrick Sullivan'/> |
8 | <meta name='created' content='28 May 2006'/> |
9 | <meta name='modified' content='3 July 2022'/> |
10 | <meta name=' TODO ' content=' Add entry text that links to OliverHazardPerryFFGExample.x3d '/> |
11 | <meta name='subject' content='Prototypes, FFG7, Oliver Perry Frigate'/> |
12 |
<meta name='Image' content='DSC_59.jpg'![]() |
13 |
<meta name='Image' content='http://www.public.navy.mil/surflant/ffg28/PublishingImages/DSC_59.jpg'![]() |
14 | <meta name='reference' content='http://en.wikipedia.org/wiki/Oliver_Hazard_Perry_class_frigate'/> |
15 | <meta name='reference' content='http://en.wikipedia.org/wiki/USS_Oliver_Hazard_Perry_(FFG-7)'/> |
16 | <meta name='reference' content='https://www.nvr.navy.mil/SHIPDETAILS/SHIPSDETAIL_FFG_7.HTML'/> |
17 | <meta name='reference' content='https://www.history.navy.mil/research/histories/ship-histories/danfs/o/oliver-hazard-perry-ffg-7.html'/> |
18 | <meta name='reference' content='https://www.fas.org/programs/ssp/man/uswpns/navy/surfacewarfare/FFG7_oliverhazardperry.html'/> |
19 | <meta name='reference' content='http://www.globalsecurity.org/military/systems/ship/ffg-7.htm'/> |
20 | <meta name='reference' content='http://www.navsource.org/archives/07/0707.htm'/> |
21 | <meta name='reference' content='FFG.x3d'/> |
22 | <meta name='reference' content='OliverHazardPerryFFG.x3d'/> |
23 | <meta name='identifier' content='https://savage.nps.edu/Savage/ShipsMilitary/FFG7OliverHazardPerryUnitedStates/OliverHazardPerryFFGPrototype.x3d'/> |
24 | <meta name='generator' content='X3D-Edit 3.2, https://savage.nps.edu/X3D-Edit'/> |
25 | <meta name='license' content='../../license.html'/> |
26 | </head> |
27 | <Scene> |
28 | <WorldInfo title='OliverHazardPerryFFGPrototype.x3d'/> |
29 | <Viewpoint description='Oliver Hazard Perry FFG starboard side, 50m' position='0 0 50'/> |
30 | <Viewpoint description='Oliver Hazard Perry FFG from ahead, 50m' orientation='-0.09806 0.99034 0.09806 1.58051' position='50 10 0'/> |
31 | <Viewpoint description='Oliver Hazard Perry FFG port side, 50m' orientation='0 1 0 3.14159' position='0 0 -50'/> |
32 | <Viewpoint description='Oliver Hazard Perry FFG from behind, 50m' orientation='0.09806 0.99034 0.09806 -1.58051' position='-50 10 0'/> |
33 | <Transform rotation='0 1 0 -1.5708'> |
34 | <Viewpoint description='Oliver Hazard Perry FFG from above, 100m' orientation='1 0 0 -1.5708' position='0 100 0'/> |
35 | </Transform> |
36 | <ExternProtoDeclare name='HullNumber' url=' "../../../Savage/ModelDetailing/HullNumbers/HullNumberPrototype.x3d#HullNumber" "https://savage.nps.edu/Savage/ModelDetailing/HullNumbers/HullNumberPrototype.x3d#HullNumber" "../../../Savage/ModelDetailing/HullNumbers/HullNumberPrototype.wrl#HullNumber" "https://savage.nps.edu/Savage/ModelDetailing/HullNumbers/HullNumberPrototype.wrl#HullNumber" '> |
37 |
<field name='FirstNumber' type='SFInt32' accessType='inputOutput'
appinfo='[0-9] (-1 will prevent rendering)'/> |
38 |
<field name='SecondNumber' type='SFInt32' accessType='inputOutput'
appinfo='[0-9] (-1 will prevent rendering)'/> |
39 | </ExternProtoDeclare> |
40 | <ProtoDeclare name='FFG' appinfo='Prototype of a DDG51 Class Destroyer'> |
41 | <ProtoInterface> |
42 |
<field name='ShipName' type='SFString' accessType='inputOutput'
appinfo='The name of the ship ("USS SHIP")'/> |
43 |
<field name='ISIC' type='MFString' value='"none"' accessType='inputOutput'
appinfo='URL for the ISIC seal that is found on the side of most navy ships (e.g. "../../ShipCrests/COMDESRON31/DESRON31.x3d")'/> |
44 |
<field name='HullNumber1' type='SFInt32' value='-1' accessType='inputOutput'
appinfo='The first (or only) digit of the ship hull number [0-9]. Note -1 for no number.'/> |
45 |
<field name='HullNumber2' type='SFInt32' value='-1' accessType='inputOutput'
appinfo='The second digit of the ship hull number [0-9]. Note: -1 for no number.'/> |
46 |
<field name='StarboardBowWeapon' type='MFString' value='"none"' accessType='inputOutput'
appinfo='URL for the model that represents the weapon at this location. [example "https://www.web3d.org/content/examples/Savage/Weapons/50Cal.x3d")'/> |
47 |
<field name='PortBowWeapon' type='MFString' value='"none"' accessType='inputOutput'
appinfo='URL for the model that represents the weapon at this location. [example "https://www.web3d.org/content/examples/Savage/Weapons/50Cal.x3d")'/> |
48 |
<field name='StarboardFlightDeckWeapon' type='MFString' value='"none"' accessType='inputOutput'
appinfo='URL for the model that represents the weapon at this location. [example "https://www.web3d.org/content/examples/Savage/Weapons/50Cal.x3d")'/> |
49 |
<field name='PortFlightDeckWeapon' type='MFString' value='"none"' accessType='inputOutput'
appinfo='URL for the model that represents the weapon at this location. [example "https://www.web3d.org/content/examples/Savage/Weapons/50Cal.x3d")'/> |
50 |
<field name='SternFlightDeckWeapon' type='MFString' value='"none"' accessType='inputOutput'
appinfo='URL for the model that represents the weapon at this location. [example "https://www.web3d.org/content/examples/Savage/Weapons/50Cal.x3d")'/> |
51 | </ProtoInterface> |
52 | <ProtoBody> |
53 | <Transform scale='0.3048 0.3048 0.3048' translation='0 1 0'> |
54 | <!-- Ship Model --> |
55 | <Transform DEF='FFGShipModel'> |
56 | <Inline url=' "OliverHazardPerryFFG.x3d" "https://savage.nps.edu/Savage/ShipsMilitary/FFG7OliverHazardPerryUnitedStates/OliverHazardPerryFFG.x3d" "OliverHazardPerryFFG.wrl" "https://savage.nps.edu/Savage/ShipsMilitary/FFG7OliverHazardPerryUnitedStates/OliverHazardPerryFFG.wrl" '/> |
57 | </Transform> |
58 | <!-- Hull Numbers --> |
59 | <Transform DEF='StarboardBowHullNumber' rotation='.721 .678 -.141 .523' translation='53.802 5.007 2.192'> |
60 | <ProtoInstance name='HullNumber' DEF='ShipNumber'> |
61 | <IS> |
62 | <connect nodeField='FirstNumber' protoField='HullNumber1'/> |
63 | <connect nodeField='SecondNumber' protoField='HullNumber2'/> |
64 | </IS> |
65 | </ProtoInstance> |
66 | </Transform> |
67 | <Transform DEF='PortBowHullNumber' rotation='.025 .99 -.139 2.794' translation='53.802 5.007 -2.197'> |
68 | <ProtoInstance name='HullNumber'> |
69 | <IS> |
70 | <connect nodeField='FirstNumber' protoField='HullNumber1'/> |
71 | <connect nodeField='SecondNumber' protoField='HullNumber2'/> |
72 | </IS> |
73 | </ProtoInstance> |
74 | </Transform> |
75 | <!-- ISIC Seals --> |
76 | <Transform DEF='StarboardSeal' translation='19.032 7.152 4.433'> |
77 | <Transform> |
78 | |
79 | <IS> |
80 | <connect nodeField='url' protoField='ISIC'/> |
81 | </IS> |
82 | </Inline> |
83 | </Transform> |
84 | </Transform> |
85 | <Transform DEF='PortSeal' rotation='0 1 0 3.14' translation='19.032 7.152 -4.395'> |
86 | <Transform> |
87 | <Inline USE='ISICSeal'/> |
88 | </Transform> |
89 | </Transform> |
90 | <!-- Weapon Placements --> |
91 | <Transform DEF='StarboardBowWeapon' rotation='0 1 0 3.14' translation='24.02 5.655 5.807'> |
92 | <Inline> |
93 | <IS> |
94 | <connect nodeField='url' protoField='StarboardBowWeapon'/> |
95 | </IS> |
96 | </Inline> |
97 | </Transform> |
98 | <Transform DEF='PortBowWeapon' translation='24.02 5.681 -5.794'> |
99 | <Inline> |
100 | <IS> |
101 | <connect nodeField='url' protoField='PortBowWeapon'/> |
102 | </IS> |
103 | </Inline> |
104 | </Transform> |
105 | <Transform DEF='StarboardFlightDeckWeapon' rotation='0 1 0 3.14' translation='-50.342 4.213 5.961'> |
106 | <Inline> |
107 | <IS> |
108 | <connect nodeField='url' protoField='StarboardFlightDeckWeapon'/> |
109 | </IS> |
110 | </Inline> |
111 | </Transform> |
112 | <Transform DEF='PortFlightDeckWeapon' translation='-50.342 4.232 -5.631'> |
113 | <Inline> |
114 | <IS> |
115 | <connect nodeField='url' protoField='PortFlightDeckWeapon'/> |
116 | </IS> |
117 | </Inline> |
118 | </Transform> |
119 | <Transform DEF='SternFlightDeckWeapon' rotation='0 1 0 1.57' translation='-69 3.922 4.785'> |
120 | <Inline> |
121 | <IS> |
122 | <connect nodeField='url' protoField='SternFlightDeckWeapon'/> |
123 | </IS> |
124 | </Inline> |
125 | </Transform> |
126 | </Transform> |
127 | </ProtoBody> |
128 | </ProtoDeclare> |
129 | <ProtoInstance name='FFG' DEF='FFG-7'/> |
130 | </Scene> |
131 | </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)
<ProtoInstance name='ProtoName'>
<field
name='fieldName'/> </ProtoInstance>
-->
<!--
For additional help information about X3D scenes, please see X3D Tooltips, X3D Resources, and X3D Scene Authoring Hints.
-->