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=' Boxer.x3d '/> |
6 | <meta name='creator' content='LT Patricia Sweat USN'/> |
7 | <meta name='description' content='Large Deck Amphibious Ship: USS BOXER (LHD 4)'/> |
8 | <meta name='identifier' content=' https://www.web3d.org/x3d/content/examples/Savage/ShipsMilitary/LargeDeckAmphibBoxerUnitedStates/Boxer.x3d '/> |
9 | <meta name='created' content='20 August 2004'/> |
10 | <meta name='modified' content='20 October 2019'/> |
11 | <meta name='generator' content='X3D-Edit 3.3, https://www.web3d.org/x3d/tools/X3D-Edit'/> |
12 | <meta name='license' content='../../license.html'/> |
13 | </head> |
14 | <Scene> |
15 | <!-- Sky and ground are mirror image to have illusion of reflecting sea --> |
16 | <WorldInfo title='Boxer.x3d'/> |
17 | <Background groundAngle='1.309 1.570796' groundColor='0 .2 .7 0 .5 1 1 1 1' skyAngle='1.309 1.571' skyColor='0 .2 .7 0 .5 1 1 1 1'/> |
18 | <Transform DEF='RotateToY-Up' rotation='1 0 0 -1.57079'> |
19 | <Transform rotation='0 0 1 1.57079'> |
20 | <Group DEF='ViewpointGroup'> |
21 | <Viewpoint description='USS BOXER (LHD 4)' orientation='0.899 0.275 0.341 1.0232' position='160.3 -234.8 222.9'/> |
22 | <Viewpoint description='port view' orientation='0.55 0.558 0.621 2.0206' position='242.3 68.7 47.5'/> |
23 | <Viewpoint description='front view' orientation='1 0.001 -0.002 1.3122' position='-0.2 -127.2 10.1'/> |
24 | <Viewpoint description='stbd view' orientation='0.508 -0.505 -0.698 1.9096' position='-189.7 53.2 54.3'/> |
25 | <Viewpoint description='stern view: click well deck to launch LCAC' orientation='0.003 0.57 0.821 3.1394' position='1.8 297.9 37.7'/> |
26 | </Group> |
27 | <Group DEF='Patty_Sweat'> |
28 | <Transform DEF='FlightDeck' rotation='1 0 0 1.57'> |
29 | <Shape> |
30 | <Extrusion crossSection='-21.3 75 21.3 75 21.3 -185 16.25 -190 -16.25 -190 -21.3 -185 -21.3 75' scale='1 1 1 1' spine='0 4.57 0 0 0 0'/> |
31 | <Appearance> |
32 | |
33 | </Appearance> |
34 | </Shape> |
35 | </Transform> |
36 | <Transform DEF='Hull'> |
37 | <Shape DEF='WellDeck'> |
38 | <Extrusion beginCap='false' convex='false' creaseAngle='3.14' crossSection='0 0 -18 0 -18 -21 18 -21 18 0 0 0' scale='1 1 1 1 .3 .2 .1 .05' solid='false' spine='0 180 0 0 0 0 0 -50 0 0 -60 0'/> |
39 | <Appearance> |
40 | <Material USE='GREY'/> |
41 | </Appearance> |
42 | </Shape> |
43 | </Transform> |
44 | <Transform DEF='Stern_Stbd' translation='-.4 180 0.1'> |
45 | <Shape> |
46 | <Extrusion crossSection='-18 0 -13.5 0 -13.5 -10.5 -10.125 -14.4375 -10.125 -21 -18 -21 -18 0'/> |
47 | <Appearance> |
48 | <Material USE='GREY'/> |
49 | </Appearance> |
50 | </Shape> |
51 | </Transform> |
52 | <Transform DEF='Port_Stbd' translation='0 180 0.1'> |
53 | <Shape> |
54 | <Extrusion crossSection='18 0 13.5 0 13.5 -10.5 10.125 -14.4375 10.125 -21 18 -21 18 0'/> |
55 | <Appearance> |
56 | <Material USE='GREY'/> |
57 | </Appearance> |
58 | </Shape> |
59 | </Transform> |
60 |
<!-- ROUTE information for Top_stern node:
[from Top_up.value_changed to set_rotation
]
-->
<Transform DEF='Top_stern' translation='-.2 180 0.1'> |
61 | <Shape> |
62 | <Extrusion crossSection='-13.6 0 13.6 0 13.6 -10.5 -13.6 -10.5 -13.6 0'/> |
63 | <Appearance> |
64 | <Material USE='GREY'/> |
65 | </Appearance> |
66 | </Shape> |
67 |
<!-- ROUTE information for Top node:
[from touchTime to UpClock.set_startTime
]
-->
<TouchSensor DEF='Top' description='touch to activate'/> |
68 |
<!-- ROUTE information for UpClock node:
[from Top.touchTime to set_startTime
]
[from fraction_changed to Top_up.set_fraction
]
-->
<TimeSensor DEF='UpClock' cycleInterval='10.0' startTime='-1.0'/> |
69 |
<!-- ROUTE information for Top_up node:
[from UpClock.fraction_changed to set_fraction
]
[from value_changed to Top_stern.set_rotation
]
-->
<OrientationInterpolator DEF='Top_up' key='0 0.3 0.5 0.6 0.75 1.0' keyValue='1 0 0 0 1 0 0 0.8 1 0 0 1.0 1 0 0 1.0 1 0 0 0.8 1 0 0 0'/> |
70 | < ROUTE fromNode='Top' fromField='touchTime' toNode='UpClock' toField='set_startTime'/> |
71 | < ROUTE fromNode='UpClock' fromField='fraction_changed' toNode='Top_up' toField='set_fraction'/> |
72 | < ROUTE fromNode='Top_up' fromField='value_changed' toNode='Top_stern' toField='set_rotation'/> |
73 | </Transform> |
74 |
<!-- ROUTE information for Stern_gate node:
[from Bottom_down.value_changed to set_rotation
]
-->
<Transform DEF='Stern_gate' translation='0 180 -21'> |
75 | <Shape> |
76 | <Extrusion crossSection='-13.6 10.5 13.6 10.5 12 6.5625 15 6 15 0 -15 0 -15 6 -12 6.5625 -13.6 10.5'/> |
77 | <Appearance> |
78 | <Material USE='GREY'/> |
79 | </Appearance> |
80 | </Shape> |
81 |
<!-- TouchSensor
Bottom is a DEF node that has 1 USE node: USE_1
<!-- ROUTE information for Bottom node: [from touchTime to DownClock.set_startTime ] [from touchTime to OutClock.set_startTime ] --> <TouchSensor DEF='Bottom' description='touch to activate'/> |
82 |
<!-- ROUTE information for DownClock node:
[from Bottom.touchTime to set_startTime
]
[from fraction_changed to Bottom_down.set_fraction
]
-->
<TimeSensor DEF='DownClock' cycleInterval='10.0' startTime='-1.0'/> |
83 |
<!-- ROUTE information for Bottom_down node:
[from DownClock.fraction_changed to set_fraction
]
[from value_changed to Stern_gate.set_rotation
]
-->
<OrientationInterpolator DEF='Bottom_down' key='0 0.3 0.5 0.6 0.75 1.0' keyValue='1 0 0 0 1 0 0 -1.0 1 0 0 -1.9 1 0 0 -1.9 1 0 0 -2.0 1 0 0 -2.0'/> |
84 | < ROUTE fromNode='Bottom' fromField='touchTime' toNode='DownClock' toField='set_startTime'/> |
85 | < ROUTE fromNode='DownClock' fromField='fraction_changed' toNode='Bottom_down' toField='set_fraction'/> |
86 | < ROUTE fromNode='Bottom_down' fromField='value_changed' toNode='Stern_gate' toField='set_rotation'/> |
87 | </Transform> |
88 | <Transform DEF='Hull2'> |
89 | <Shape> |
90 | <Extrusion ccw='false' convex='false' creaseAngle='.7535' crossSection='0 0 -18 0 -10.5 -5 -6.75 -7.5 -3.5 -10 -2 -12.5 -1.65 -15 -1.55 -17 -1.45 -17.5 -1.4 -18 -.5 -20.5 0 -21 .5 -20.5 1.4 -18 1.45 -17.5 1.55 -17 1.65 -15 2 -12.5 3.5 -10 6.75 -7.5 10.5 -5 18 0 0 0' orientation='1 0 0 0 1 0 0 0 1 0 0 -.6' scale='1 1 1 1 1 1' solid='false' spine='0 50 0 0 0 0 0 -75 0'/> |
91 | <Appearance> |
92 | <Material USE='GREY'/> |
93 | </Appearance> |
94 | </Shape> |
95 | </Transform> |
96 | <Transform DEF='flightdeck_lines'> |
97 | <Shape DEF='spots8'> |
98 | <IndexedLineSet coordIndex='0 1'> |
99 |
<!-- Coordinate
spots8points is a DEF node that has 1 USE node: USE_1 --> <Coordinate DEF='spots8points' point='21.3 150 4.58 5 150 4.58'/> |
100 | </IndexedLineSet> |
101 | <Appearance> |
102 | |
103 | </Appearance> |
104 | </Shape> |
105 | <Transform DEF='number' rotation='0 0 1 -3.14' scale='10 10 10' translation='-2 187 4.57'> |
106 | <Shape DEF='hull_number'> |
107 | <Text string='"4"'> |
108 | <FontStyle style='BOLD'/> |
109 | </Text> |
110 | <Appearance> |
111 | <Material USE='White'/> |
112 | </Appearance> |
113 | </Shape> |
114 | </Transform> |
115 | <Shape DEF='white_dashes2'> |
116 | <IndexedLineSet coordIndex='0 1'> |
117 | <Coordinate point='11.75 -75 4.58 11.75 190 4.58'/> |
118 | </IndexedLineSet> |
119 | <Appearance> |
120 | <Material USE='White'/> |
121 | </Appearance> |
122 | </Shape> |
123 | <Shape DEF='white_dashes'> |
124 | <IndexedLineSet coordIndex='0 1'> |
125 | <Coordinate point='10.25 -75 4.58 10.25 190 4.58'/> |
126 | </IndexedLineSet> |
127 | <Appearance> |
128 | <Material USE='White'/> |
129 | </Appearance> |
130 | </Shape> |
131 | <Shape DEF='spots9'> |
132 | <IndexedLineSet coordIndex='0 1'> |
133 | <Coordinate USE='spots8points'/> |
134 | </IndexedLineSet> |
135 | <Appearance> |
136 | <Material USE='White'/> |
137 | </Appearance> |
138 | </Shape> |
139 | <Shape DEF='spots7'> |
140 | <IndexedLineSet coordIndex='0 1'> |
141 | <Coordinate point='21.3 115 4.58 5 115 4.58'/> |
142 | </IndexedLineSet> |
143 | <Appearance> |
144 | <Material USE='White'/> |
145 | </Appearance> |
146 | </Shape> |
147 | <Shape DEF='spots6'> |
148 | <IndexedLineSet coordIndex='0 1'> |
149 | <Coordinate point='21.3 65 4.58 5 65 4.58'/> |
150 | </IndexedLineSet> |
151 | <Appearance> |
152 | <Material USE='White'/> |
153 | </Appearance> |
154 | </Shape> |
155 | <Shape DEF='spots5'> |
156 | <IndexedLineSet coordIndex='0 1'> |
157 | <Coordinate point='21.3 30 4.58 5 30 4.58'/> |
158 | </IndexedLineSet> |
159 | <Appearance> |
160 | <Material USE='White'/> |
161 | </Appearance> |
162 | </Shape> |
163 | <Shape DEF='spots4'> |
164 | <IndexedLineSet coordIndex='0 1'> |
165 | <Coordinate point='21.3 -5 4.58 5 -5 4.58'/> |
166 | </IndexedLineSet> |
167 | <Appearance> |
168 | <Material USE='White'/> |
169 | </Appearance> |
170 | </Shape> |
171 | <Shape DEF='spots3'> |
172 | <IndexedLineSet coordIndex='0 1'> |
173 | <Coordinate point='-21.3 -15 4.58 -5 -15 4.58'/> |
174 | </IndexedLineSet> |
175 | <Appearance> |
176 | <Material USE='White'/> |
177 | </Appearance> |
178 | </Shape> |
179 | <Shape DEF='spots2'> |
180 | <IndexedLineSet coordIndex='0 1'> |
181 | <Coordinate point='21.3 -42.5 4.58 5 -42.5 4.58'/> |
182 | </IndexedLineSet> |
183 | <Appearance> |
184 | <Material USE='White'/> |
185 | </Appearance> |
186 | </Shape> |
187 | <Shape DEF='spots1'> |
188 | <IndexedLineSet coordIndex='0 1'> |
189 | <Coordinate point='-21.3 -55 4.58 -5 -55 4.58'/> |
190 | </IndexedLineSet> |
191 | <Appearance> |
192 | <Material USE='White'/> |
193 | </Appearance> |
194 | </Shape> |
195 | <Shape DEF='center_line'> |
196 | <IndexedLineSet coordIndex='0 1'> |
197 | <Coordinate point='0 190 4.58 0 -75 4.58'/> |
198 | </IndexedLineSet> |
199 | <Appearance> |
200 | <Material emissiveColor='1 1 1'/> |
201 | </Appearance> |
202 | </Shape> |
203 | <Transform DEF='fwd_number' rotation='0 0 1 -3.14' scale='12 12 12' translation='7 -65 5'> |
204 | <Shape DEF='hull_number1'> |
205 | <Text string='"4"'> |
206 | <FontStyle style='BOLD'/> |
207 | </Text> |
208 | <Appearance> |
209 | <Material USE='White'/> |
210 | </Appearance> |
211 | </Shape> |
212 | </Transform> |
213 | </Transform> |
214 | <Transform DEF='Std_Elev' translation='-29 155 4.57'> |
215 | <Shape> |
216 | <Box size='15.3 15.3 1'/> |
217 | <Appearance> |
218 | <Material USE='GREY'/> |
219 | </Appearance> |
220 | </Shape> |
221 | </Transform> |
222 | <Transform translation='11 57.4 4.57'> |
223 | <Shape DEF='runway1'> |
224 | <Box size='1 264.5 .005'/> |
225 | <Appearance> |
226 | <Material DEF='Yellow' diffuseColor='1 1 .3' emissiveColor='1 1 .3'/> |
227 | </Appearance> |
228 | </Shape> |
229 | </Transform> |
230 |
<!-- ROUTE information for Port_Elev node:
[from Portelevmov1.value_changed to set_translation
]
-->
<Transform DEF='Port_Elev' translation='29 100 4.57'> |
231 | <Shape> |
232 | <Box size='15.3 15.3 1'/> |
233 | <Appearance> |
234 | <Material USE='GREY'/> |
235 | </Appearance> |
236 | </Shape> |
237 |
<!-- ROUTE information for Port_el node:
[from touchTime to DropClock.set_startTime
]
-->
<TouchSensor DEF='Port_el' description='touch to activate'/> |
238 |
<!-- ROUTE information for DropClock node:
[from Port_el.touchTime to set_startTime
]
[from fraction_changed to Portelevmov1.set_fraction
]
-->
<TimeSensor DEF='DropClock' cycleInterval='10.0' startTime='-1.0'/> |
239 |
<!-- ROUTE information for Portelevmov1 node:
[from DropClock.fraction_changed to set_fraction
]
[from value_changed to Port_Elev.set_translation
]
-->
<PositionInterpolator DEF='Portelevmov1' key='0 .17 .34 .51 .68 .85 1.02 1.19 1.36 1.53 1.7' keyValue='29 100 4.57 29 100 2 29 100 0 29 100 -2 29 100 -4 29 100 -6 29 100 -4 29 100 -2 29 100 0 29 100 2 29 100 4.57'/> |
240 | < ROUTE fromNode='Port_el' fromField='touchTime' toNode='DropClock' toField='set_startTime'/> |
241 | < ROUTE fromNode='DropClock' fromField='fraction_changed' toNode='Portelevmov1' toField='set_fraction'/> |
242 | < ROUTE fromNode='Portelevmov1' fromField='value_changed' toNode='Port_Elev' toField='set_translation'/> |
243 | </Transform> |
244 | <Transform DEF='QtrDeck' rotation='1 0 0 1.57' translation='-18 155 -4'> |
245 | <Shape> |
246 | <Box size='0.5 10 10'/> |
247 | <Appearance> |
248 |
<ImageTexture
url=' "QuarterDeck.jpg![]() ![]() |
249 | </Appearance> |
250 | </Shape> |
251 | </Transform> |
252 |
<!-- ROUTE information for QtrDeckMove node:
[from Move_Deck.value_changed to set_translation
]
-->
<Transform DEF='QtrDeckMove' translation='-18 155 -4'> |
253 | <Shape> |
254 | <Box size='1.0 10 10'/> |
255 | <Appearance> |
256 | <Material USE='GREY'/> |
257 | </Appearance> |
258 | </Shape> |
259 |
<!-- ROUTE information for Deck node:
[from touchTime to SlideClock.set_startTime
]
-->
<TouchSensor DEF='Deck' description='touch to activate'/> |
260 |
<!-- ROUTE information for SlideClock node:
[from Deck.touchTime to set_startTime
]
[from fraction_changed to Move_Deck.set_fraction
]
-->
<TimeSensor DEF='SlideClock' cycleInterval='10.0' startTime='-1.0'/> |
261 |
<!-- ROUTE information for Move_Deck node:
[from SlideClock.fraction_changed to set_fraction
]
[from value_changed to QtrDeckMove.set_translation
]
-->
<PositionInterpolator DEF='Move_Deck' key='0 .17 .34 .51 .68 .85' keyValue='-18 155 -4 -18 157 -4 -18 159 -4 -18 161 -4 -18 164 -4 -18 164 -4'/> |
262 | < ROUTE fromNode='Deck' fromField='touchTime' toNode='SlideClock' toField='set_startTime'/> |
263 | < ROUTE fromNode='SlideClock' fromField='fraction_changed' toNode='Move_Deck' toField='set_fraction'/> |
264 | < ROUTE fromNode='Move_Deck' fromField='value_changed' toNode='QtrDeckMove' toField='set_translation'/> |
265 | </Transform> |
266 | </Group> |
267 | <Transform rotation='1 0 0 -1.57' scale='1.4 1.4 1.4' translation='5 55 6.25'> |
268 | <Inline url=' "SuperStructure.x3d" "https://www.web3d.org/x3d/content/examples/Savage/ShipsMilitary/LargeDeckAmphibBoxerUnitedStates/SuperStructure.x3d" "SuperStructure.wrl" "https://www.web3d.org/x3d/content/examples/Savage/ShipsMilitary/LargeDeckAmphibBoxerUnitedStates/SuperStructure.wrl" '/> |
269 | </Transform> |
270 |
<!-- ROUTE information for LCAC node:
[from LCAC_out.value_changed to set_translation
]
-->
<Transform DEF='LCAC' rotation='1 0 0 1.57' translation='0 164 -14'> |
271 | <Transform rotation='0 1 0 1.57'> |
272 | <Inline url=' "../../AmphibiousVehicles/LCAC/LCAC.x3d" "https://www.web3d.org/x3d/content/examples/Savage/AmphibiousVehicles/LCAC/LCAC.x3d" "../../AmphibiousVehicles/LCAC/LCAC.wrl" "https://www.web3d.org/x3d/content/examples/Savage/AmphibiousVehicles/LCAC/LCAC.wrl" '/> |
273 | <TouchSensor USE='Bottom'/> |
274 |
<!-- ROUTE information for OutClock node:
[from Bottom.touchTime to set_startTime
]
[from fraction_changed to LCAC_out.set_fraction
]
-->
<TimeSensor DEF='OutClock' cycleInterval='15.0' startTime='-1.0'/> |
275 |
<!-- ROUTE information for LCAC_out node:
[from OutClock.fraction_changed to set_fraction
]
[from value_changed to LCAC.set_translation
]
-->
<PositionInterpolator DEF='LCAC_out' key='0 .17 .34 .51 .68 .85 1.02 1.19 1.36 1.53 1.7' keyValue='0 164 -14 0 175 -14 0 185 -14 0 195 -14 0 205 -14 0 215 -14 0 205 -14 0 195 -14 0 185 -14 0 175 -14 0 164 -14'/> |
276 | < ROUTE fromNode='Bottom' fromField='touchTime' toNode='OutClock' toField='set_startTime'/> |
277 | < ROUTE fromNode='OutClock' fromField='fraction_changed' toNode='LCAC_out' toField='set_fraction'/> |
278 | < ROUTE fromNode='LCAC_out' fromField='value_changed' toNode='LCAC' toField='set_translation'/> |
279 | </Transform> |
280 | </Transform> |
281 | </Transform> |
282 | </Transform> |
283 | </Scene> |
284 | </X3D> |
Event Graph ROUTE Table entries with 15 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.
Bottom
TouchSensor touchTime SFTime |
DownClock
TimeSensor set_startTime SFTime |
then
|
DownClock
TimeSensor fraction_changed SFFloat |
Bottom_down
OrientationInterpolator set_fraction SFFloat |
then
|
Bottom_down
OrientationInterpolator value_changed SFRotation |
Stern_gate
Transform set_rotation SFRotation |
|||
Bottom
TouchSensor touchTime SFTime |
OutClock
TimeSensor set_startTime SFTime |
then
|
OutClock
TimeSensor fraction_changed SFFloat |
LCAC_out
PositionInterpolator set_fraction SFFloat |
then
|
LCAC_out
PositionInterpolator value_changed SFVec3f |
LCAC
Transform set_translation SFVec3f |
Deck
TouchSensor touchTime SFTime |
SlideClock
TimeSensor set_startTime SFTime |
then
|
SlideClock
TimeSensor fraction_changed SFFloat |
Move_Deck
PositionInterpolator set_fraction SFFloat |
then
|
Move_Deck
PositionInterpolator value_changed SFVec3f |
QtrDeckMove
Transform set_translation SFVec3f |
Port_el
TouchSensor touchTime SFTime |
DropClock
TimeSensor set_startTime SFTime |
then
|
DropClock
TimeSensor fraction_changed SFFloat |
Portelevmov1
PositionInterpolator set_fraction SFFloat |
then
|
Portelevmov1
PositionInterpolator value_changed SFVec3f |
Port_Elev
Transform set_translation SFVec3f |
Top
TouchSensor touchTime SFTime |
UpClock
TimeSensor set_startTime SFTime |
then
|
UpClock
TimeSensor fraction_changed SFFloat |
Top_up
OrientationInterpolator set_fraction SFFloat |
then
|
Top_up
OrientationInterpolator value_changed SFRotation |
Top_stern
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.
-->