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=' CG47Prototype.x3d '/> |
6 | <meta name='description' content='Prototype for a Ticonderoga Class cruiser'/> |
7 | <meta name='creator' content='Patrick Sullivan'/> |
8 | <meta name='created' content='30 July 2006'/> |
9 | <meta name='modified' content='20 October 2019'/> |
10 | <meta name='identifier' content=' https://www.web3d.org/x3d/content/examples/Savage/ShipsMilitary/CruiserUnitedStates/CG47Prototype.x3d '/> |
11 | <meta name='subject' content='Prototypes, FFG7, Oliver Perry Frigate'/> |
12 | <meta name='license' content='../../license.html'/> |
13 | </head> |
14 | <Scene> |
15 | <WorldInfo title='CG47Prototype.x3d'/> |
16 | <ExternProtoDeclare name='HullNumber' url=' "../../../Savage/ModelDetailing/HullNumbers/HullNumberPrototype.x3d#HullNumber" "https://www.web3d.org/x3d/content/examples/Savage/ModelDetailing/HullNumbers/HullNumberPrototype.x3d#HullNumber" '> |
17 |
<field name='FirstNumber' type='SFInt32' accessType='inputOutput'
appinfo='[0-9] (-1 will prevent rendering)'/> |
18 |
<field name='SecondNumber' type='SFInt32' accessType='inputOutput'
appinfo='[0-9] (-1 will prevent rendering)'/> |
19 | </ExternProtoDeclare> |
20 | <ProtoDeclare name='CG' appinfo='Prototype of a US Cruiser'> |
21 | <ProtoInterface> |
22 |
<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")'/> |
23 |
<field name='HullNumber1' type='SFInt32' value='-1' accessType='inputOutput'
appinfo="The first (or only) digit of the ship's hull number [0-9]. Note -1 for no number"/> |
24 |
<field name='HullNumber2' type='SFInt32' value='-1' accessType='inputOutput'
appinfo="The second digit of the ship's hull number [0-9]. Note: -1 for no number"/> |
25 |
<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")'/> |
26 |
<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")'/> |
27 |
<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")'/> |
28 |
<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")'/> |
29 |
<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")'/> |
30 | </ProtoInterface> |
31 | <ProtoBody> |
32 | <Transform> |
33 | <!-- Ship Model --> |
34 | <Transform DEF='CGShipModel'> |
35 | <Inline url=' "../../../Savage/ShipsMilitary/CruiserUnitedStates/CG47.x3d" "https://www.web3d.org/x3d/content/examples/Savage/ShipsMilitary/CruiserUnitedStates/CG47.x3d" '/> |
36 | </Transform> |
37 | <!-- Hull Numbers --> |
38 | <Transform DEF='StarboardBowHullNumber' rotation='.721 .678 -.141 .523' translation='74.514 5.007 2.192'> |
39 | <ProtoInstance name='HullNumber' DEF='ShipNumber'> |
40 | <IS> |
41 | <connect nodeField='FirstNumber' protoField='HullNumber1'/> |
42 | <connect nodeField='SecondNumber' protoField='HullNumber2'/> |
43 | </IS> |
44 | </ProtoInstance> |
45 | </Transform> |
46 | <Transform DEF='PortBowHullNumber' rotation='.025 .99 -.139 2.794' translation='74.514 5.007 -2.197'> |
47 | <ProtoInstance name='HullNumber'> |
48 | <IS> |
49 | <connect nodeField='FirstNumber' protoField='HullNumber1'/> |
50 | <connect nodeField='SecondNumber' protoField='HullNumber2'/> |
51 | </IS> |
52 | </ProtoInstance> |
53 | </Transform> |
54 | <!-- ISIC Seals --> |
55 | <Transform DEF='StarboardSeal' translation='19.032 9.298 5.717'> |
56 | <Transform> |
57 | |
58 | <IS> |
59 | <connect nodeField='url' protoField='ISIC'/> |
60 | </IS> |
61 | </Inline> |
62 | </Transform> |
63 | </Transform> |
64 | <Transform DEF='PortSeal' rotation='0 1 0 3.14' translation='19.032 9.298 -5.546'> |
65 | <Transform> |
66 | <Inline USE='ISICSeal'/> |
67 | </Transform> |
68 | </Transform> |
69 | <!-- Weapon Placements --> |
70 | <Transform DEF='StarboardBowWeapon' rotation='0 1 0 3.14' translation='32.363 6.138 7.115'> |
71 | <Inline> |
72 | <IS> |
73 | <connect nodeField='url' protoField='StarboardBowWeapon'/> |
74 | </IS> |
75 | </Inline> |
76 | </Transform> |
77 | <Transform DEF='PortBowWeapon' translation='32.363 6.138 -6.694'> |
78 | <Inline> |
79 | <IS> |
80 | <connect nodeField='url' protoField='PortBowWeapon'/> |
81 | </IS> |
82 | </Inline> |
83 | </Transform> |
84 | <Transform DEF='StarboardFlightDeckWeapon' rotation='0 1 0 3.14' translation='-66.615 3.709 5.961'> |
85 | <Inline> |
86 | <IS> |
87 | <connect nodeField='url' protoField='StarboardFlightDeckWeapon'/> |
88 | </IS> |
89 | </Inline> |
90 | </Transform> |
91 | <Transform DEF='PortFlightDeckWeapon' translation='-66.615 3.709 -5.631'> |
92 | <Inline> |
93 | <IS> |
94 | <connect nodeField='url' protoField='PortFlightDeckWeapon'/> |
95 | </IS> |
96 | </Inline> |
97 | </Transform> |
98 | <Transform DEF='SternFlightDeckWeapon' rotation='0 1 0 1.57' translation='-86.633 4.148 4.785'> |
99 | <Inline> |
100 | <IS> |
101 | <connect nodeField='url' protoField='SternFlightDeckWeapon'/> |
102 | </IS> |
103 | </Inline> |
104 | </Transform> |
105 | </Transform> |
106 | </ProtoBody> |
107 | </ProtoDeclare> |
108 | </Scene> |
109 | </X3D> |
Event Graph ROUTE Table with 0 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.
line 47
ProtoInstance HullNumber |
No direct ROUTE connection found for events to/from this node. This ProtoInstance contains SFNode/MFNode fieldValue declarations with direct access to other nodes, and thus has potential to produce run-time animation. |
ShipNumber
ProtoInstance HullNumber |
No direct ROUTE connection found for events to/from this node. This ProtoInstance contains SFNode/MFNode fieldValue declarations with direct access to other nodes, and thus has potential to produce run-time animation. |
<!--
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.
-->