X3D Model Documentation: TowerFinal.x3d

  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='titlecontent=' TowerFinal.x3d '/>
  6            <meta name='createdcontent='25 September 2000'/>
  7            <meta name='modifiedcontent='20 October 2019'/>
  8            <meta name='descriptioncontent='Cruiser Tower'/>
  9            <meta name='creatorcontent='LT Joseph Roth'/>
 10            <meta name='identifiercontent=' https://www.web3d.org/x3d/content/examples/Savage/ShipsMilitary/CarrierIndependenceUnitedStates/TowerFinal.x3d '/>
 11            <meta name='generatorcontent='X3D-Edit 3.2, https://www.web3d.org/x3d/tools/X3D-Edit'/>
 12            <meta name='licensecontent='../../license.html'/>
 13       </head>
<!--

<!--
Event Graph ROUTE Table shows event connections.
-->
<!-- to top DEF nodes index: AntenaSuport, Antenna, AntPathInt, AntRot, Bridge, Bridge2, CentralBulb, CLOCK, Details, Details-2, FrontRadar, GlassWin, LeftBulb, LeftDetails, LeftDetails-2, MainStruc, MastPrinc, mastro, MoreStruc, Plataf, RadarBulbs, RightBulb, RightDetails, RightDetails-2, RotWindows, SternBridge, WallsForWindows

Index for Viewpoint nodes: Viewpoint_1, Viewpoint_2, Viewpoint_3, Viewpoint_4, Viewpoint_5, Viewpoint_6
-->
 14       <Scene>
 15            <WorldInfo title='TowerFinal.x3d'/>
 16            <Viewpoint description='Starboard Vieworientation='0 1 0 1.571position='200 5 0'/>
 17            <Viewpoint description='PortSide Vieworientation='0 1 0 -1.571position='-150 5 0'/>
 18            <Viewpoint description='BackSide Viewposition='0 5 70'/>
 19            <Viewpoint description='Front Side Vieworientation='0 1 0 3.142position='0 5 -70'/>
 20            <Viewpoint description='Up Vieworientation='1 0 0 -1.571position='0 200 0'/>
 21            <Viewpoint description='Inside BridgefieldOfView='1.571position='0 6.2 -18'/>
 22            <Transform translation='0 2.5 0'>
 23                 <!-- False Deck -->
 24                 <Shape>
 25                      <IndexedFaceSet convex='falsesolid='falsecoordIndex='0 1 2 3 4 5 6 7 8 9 10 11 0'>
 26                           <Coordinate point='12 -2.5 60 0 -2.5 60 -2 -2.5 98 -40 -2.5 100 -40 -2.5 70 -60 -2.5 60 -60 -2.5 -60 -52 -2.5 -65 -40 -2.5 -200 -20 -2.5 -200 -3 -2.5 -100 12 -2.5 -60 12 -2.5 60'/>
 27                      </IndexedFaceSet>
 28                      <Appearance>
 29                           <Material emissiveColor='1 0 0'/>
 30                      </Appearance>
 31                 </Shape>
 32                 <Transform/>
 33            </Transform>
 34            <Background groundColor='0.7 0.2 0.0skyColor='0.0 0.2 0.7'/>
 35            <!-- MainStructure -->
 36            <Transform translation='0 6 0'>
 37                 <Shape DEF='MainStruc'>
 38                      <Box size='12 12 40'/>
 39                      <Appearance>
 40                           <Material/>
 41                      </Appearance>
 42                 </Shape>
 43                 <Transform rotation='0 1 0 -1.571translation='-6.1 -4 -4'>
 44                      <Shape>
 45                           <Text string='"62"'>
 46                                <FontStyle size='12style='BOLD'/>
 47                           </Text>
 48                           <Appearance>
 49                                <Material diffuseColor='1 1 1'/>
 50                           </Appearance>
 51                      </Shape>
 52                 </Transform>
 53            </Transform>
 54            <!-- Main Mast -->
 55            <Transform translation='-6 0 -12'>
 56                 <Transform DEF='MastPrinc'>
 57                      <Transform translation='0 23 0'>
 58                           <Shape>
 59                                <Cylinder height='47radius='.6'/>
 60                                <Appearance>
 61                                     <Material/>
 62                                </Appearance>
 63                           </Shape>
 64                      </Transform>
 65                      <Transform rotation='0 0 1 1.571translation='0 20 0'>
 66                           <Shape>
 67                                <Cylinder height='24radius='.3'/>
 68                                <Appearance>
 69                                     <Material/>
 70                                </Appearance>
 71                           </Shape>
 72                           <Transform DEF='Detailsrotation='0 0 1 1.571translation='1.5 0 0'>
 73                                <Group DEF='LeftDetails'>
 74                                     <Transform translation='6 0 0'>
 75                                          <Shape>
 76                                               <Appearance>
 77                                                    <Material diffuseColor='0 0 0'/>
 78                                               </Appearance>
 79                                               <Cylinder height='3radius='.1'/>
 80                                          </Shape>
 81                                     </Transform>
 82                                     <Transform translation='9 0 0'>
 83                                          <Shape>
 84                                               <Appearance>
 85                                                    <Material diffuseColor='0 0 0'/>
 86                                               </Appearance>
 87                                               <Cylinder height='3radius='.1'/>
 88                                          </Shape>
 89                                     </Transform>
 90                                     <Transform translation='12 0 0'>
 91                                          <Shape>
 92                                               <Appearance>
 93                                                    <Material diffuseColor='0 0 0'/>
 94                                               </Appearance>
 95                                               <Cylinder height='3radius='.1'/>
 96                                          </Shape>
 97                                     </Transform>
 98                                     <Transform translation='3 0 0'>
 99                                          <Shape>
100                                               <Appearance>
101                                                    <Material diffuseColor='0 0 0'/>
102                                               </Appearance>
103                                               <Cylinder height='3radius='.1'/>
104                                          </Shape>
105                                     </Transform>
106                                </Group>
107                                <Group DEF='RightDetails'>
108                                     <Transform translation='-3 0 0'>
109                                          <Shape>
110                                               <Appearance>
111                                                    <Material diffuseColor='0 0 0'/>
112                                               </Appearance>
113                                               <Cylinder height='3radius='.1'/>
114                                          </Shape>
115                                     </Transform>
116                                     <Transform translation='-6 0 0'>
117                                          <Shape>
118                                               <Appearance>
119                                                    <Material diffuseColor='0 0 0'/>
120                                               </Appearance>
121                                               <Cylinder height='3radius='.1'/>
122                                          </Shape>
123                                     </Transform>
124                                     <Transform translation='-9 0 0'>
125                                          <Shape>
126                                               <Appearance>
127                                                    <Material diffuseColor='0 0 0'/>
128                                               </Appearance>
129                                               <Cylinder height='3radius='.1'/>
130                                          </Shape>
131                                     </Transform>
132                                     <Transform translation='-12 0 0'>
133                                          <Shape>
134                                               <Appearance>
135                                                    <Material diffuseColor='0 0 0'/>
136                                               </Appearance>
137                                               <Cylinder height='3radius='.1'/>
138                                          </Shape>
139                                     </Transform>
140                                </Group>
141                           </Transform>
142                      </Transform>
143                      <Transform rotation='0 0 1 1.571translation='0 25 0'>
144                           <Shape>
145                                <Cylinder height='12radius='.2'/>
146                                <Appearance>
147                                     <Material/>
148                                </Appearance>
149                           </Shape>
150 
                         <!-- Transform Details-2 is a DEF node that has 2 USE nodes: USE_1, USE_2 -->
                         <Transform DEF='Details-2rotation='0 0 1 1.571translation='.5 0 0'>
151                                <Group DEF='LeftDetails-2'>
152                                     <Transform translation='6 0 0'>
153                                          <Shape>
154                                               <Appearance>
155                                                    <Material diffuseColor='0 0 0'/>
156                                               </Appearance>
157                                               <Cylinder radius='.1'/>
158                                          </Shape>
159                                     </Transform>
160                                     <Transform translation='3 0 0'>
161                                          <Shape>
162                                               <Appearance>
163                                                    <Material diffuseColor='0 0 0'/>
164                                               </Appearance>
165                                               <Cylinder radius='.1'/>
166                                          </Shape>
167                                     </Transform>
168                                </Group>
169                                <Group DEF='RightDetails-2'>
170                                     <Transform translation='-3 0 0'>
171                                          <Shape>
172                                               <Appearance>
173                                                    <Material diffuseColor='0 0 0'/>
174                                               </Appearance>
175                                               <Cylinder radius='.1'/>
176                                          </Shape>
177                                     </Transform>
178                                     <Transform translation='-6 0 0'>
179                                          <Shape>
180                                               <Appearance>
181                                                    <Material diffuseColor='0 0 0'/>
182                                               </Appearance>
183                                               <Cylinder radius='.1'/>
184                                          </Shape>
185                                     </Transform>
186                                </Group>
187                           </Transform>
188                      </Transform>
189                      <Transform rotation='0 0 1 1.571translation='0 35 0'>
190                           <Shape>
191                                <Cylinder height='12radius='.2'/>
192                                <Appearance>
193                                     <Material/>
194                                </Appearance>
195                           </Shape>
196                           <Transform USE='Details-2'/>
197                      </Transform>
198                      <Transform rotation='0 0 1 1.571translation='0 42 0'>
199                           <Shape DEF='mastro'>
200                                <Appearance>
201                                     <Material diffuseColor='.8 .8 .8'/>
202                                </Appearance>
203                                <Cylinder height='12radius='.2'/>
204                           </Shape>
205                           <Transform USE='Details-2'/>
206                      </Transform>
207                      <Transform rotation='0 0 1 1.571translation='0 45 0'>
208                           <Shape>
209                                <Cylinder height='4radius='.1'/>
210                                <Appearance>
211                                     <Material/>
212                                </Appearance>
213                           </Shape>
214                      </Transform>
215                 </Transform>
216            </Transform>
217            <!-- Bridges -->
218 
          <!-- Transform Bridge is a DEF node that has 2 USE nodes: USE_1, USE_2 -->
          <Transform DEF='Bridge'>
219                 <Transform translation='0 6.5 -18'>
220 
                    <!-- Shape Plataf is a DEF node that has 1 USE node: USE_1 -->
                    <Shape DEF='Plataf'>
221                           <Box size='16 .3 10'/>
222                           <Appearance>
223                                <Material/>
224                           </Appearance>
225                      </Shape>
226                 </Transform>
227                 <Transform translation='0 4.5 -17'>
228                      <Shape USE='Plataf'/>
229                 </Transform>
230                 <Transform rotation='0 1 0 1.571translation='0 6 -22'>
231                      <Transform DEF='RotWindowsrotation='0 0 1 -0.4'>
232                           <Shape DEF='GlassWin'>
233                                <Box size='.2 1 15'/>
234                                <Appearance>
235                                     <Material diffuseColor='0 1 0transparency='.7'/>
236                                </Appearance>
237                           </Shape>
238                      </Transform>
239                 </Transform>
240                 <Transform translation='-7.5 6 -17'>
241                      <Transform rotation='0 0 1 0.4'>
242                           <Shape>
243                                <Box size='.2 1 10'/>
244                                <Appearance>
245                                     <Material diffuseColor='0 1 0transparency='.7'/>
246                                </Appearance>
247                           </Shape>
248                      </Transform>
249                 </Transform>
250                 <Transform>
251                      <Transform translation='7.5 6 -17'>
252                           <Transform rotation='0 0 1 -0.4'>
253                                <Shape>
254                                     <Box size='.2 1 10'/>
255                                     <Appearance>
256                                          <Material diffuseColor='0 1 0transparency='.7'/>
257                                     </Appearance>
258                                </Shape>
259                           </Transform>
260                      </Transform>
261                 </Transform>
262                 <Transform rotation='0 1 0 1.571translation='-7.5 5 -17'>
263                      <Shape>
264                           <Box size='10 1 .3'/>
265                           <Appearance>
266                                <Material/>
267                           </Appearance>
268                      </Shape>
269                 </Transform>
270                 <Transform translation='0 5 -21.8'>
271                      <Shape DEF='WallsForWindows'>
272                           <Box size='15 1 .3'/>
273                           <Appearance>
274                                <Material/>
275                           </Appearance>
276                      </Shape>
277                 </Transform>
278                 <Transform rotation='0 1 0 1.571translation='7.5 5 -17'>
279                      <Shape>
280                           <Box size='9.8 1 .3'/>
281                           <Appearance>
282                                <Material/>
283                           </Appearance>
284                      </Shape>
285                 </Transform>
286                 <Transform translation='-7 5.6 -12.5'>
287                      <Shape>
288                           <Box size='2 2 1'/>
289                           <Appearance>
290                                <Material/>
291                           </Appearance>
292                      </Shape>
293                 </Transform>
294                 <Transform translation='7 5.6 -12.5'>
295                      <Shape>
296                           <Box size='2 2 1'/>
297                           <Appearance>
298                                <Material/>
299                           </Appearance>
300                      </Shape>
301                 </Transform>
302            </Transform>
303            <Transform DEF='Bridge2translation='0 2 1'>
304                 <Transform USE='Bridge'/>
305            </Transform>
306            <Transform DEF='SternBridgerotation='0 1 0 3.142translation='0 .5 0'>
307                 <Transform USE='Bridge'/>
308            </Transform>
309            <!-- Antenna -->
310            <Transform DEF='AntenaSuporttranslation='7 8 3'>
311                 <Shape>
312                      <Appearance>
313                           <Material/>
314                      </Appearance>
315                      <Box size='13 4 8'/>
316                 </Shape>
317                 <Transform rotation='0 0 1 0.5translation='0 -3 0'>
318                      <Shape>
319                           <Box size='12 4 8'/>
320                           <Appearance>
321                                <Material/>
322                           </Appearance>
323                      </Shape>
324                 </Transform>
325            </Transform>
326            <Transform translation='9.5 12 3'>
327                 <Shape>
328                      <Appearance>
329                           <Material/>
330                      </Appearance>
331                      <Cylinder height='4radius='2'/>
332                 </Shape>
333                 <Shape>
334                      <Cylinder height='8radius='.5'/>
335                      <Appearance>
336                           <Material/>
337                      </Appearance>
338                 </Shape>
339                 <Transform scale='2 2 2translation='1 4 0'>
340                      <Transform>
341                           <Group>
342 
                              <!-- ROUTE information for AntRot node:  [from AntPathInt.value_changed to set_rotation ] -->
                              <Transform DEF='AntRotscale='2.5 .3 1'>
343                                     <Shape>
344                                          <Extrusion creaseAngle='0.95crossSection='1 0 .92 -.38 .71 -.71 .38 -.92 0 -1 -.38 -.92 -.71 -.71 -.92 -.38 -1 0solid='falsespine='0 0 0 0 6 0'/>
345                                          <Appearance>
346                                               <Material diffuseColor='0 0 0transparency='0.7'/>
347                                               <ImageTexture   url=' "antenaback.gif " "https://www.web3d.org/x3d/content/examples/Savage/ShipsMilitary/CarrierIndependenceUnitedStates/antenaback.gif " '/>
348                                          </Appearance>
349                                     </Shape>
350                                </Transform>
351 
                              <!-- ROUTE information for CLOCK node:  [from fraction_changed to AntPathInt.set_fraction ] -->
                              <TimeSensor DEF='CLOCKcycleInterval='4.0loop='true'/>
352 
                              <!-- ROUTE information for AntPathInt node:  [from CLOCK.fraction_changed to set_fraction ] [from value_changed to AntRot.set_rotation ] -->
                              <OrientationInterpolator DEF='AntPathIntkey='0.0 0.5 1.0keyValue='0.0 1.0 0.0 0.0 0.0 1.0 0.0 3.14 0.0 1.0 0.0 3.14'/>
353                           </Group>
354                      </Transform>
355                 </Transform>
356            </Transform>
357            <!-- Radar Bulbs -->
358            <Transform DEF='FrontRadarrotation='0 1 0 3.142scale='.8 .8 .8translation='0 12 -13'>
359                 <Transform DEF='RadarBulbs'>
360                      <Transform DEF='CentralBulbtranslation='0 0 5'>
361                           <Shape>
362                                <Appearance>
363                                     <Material diffuseColor='1 1 1'/>
364                                </Appearance>
365                                <Box size='6 1 10'/>
366                           </Shape>
367                           <Transform translation='0 0 5'>
368                                <Shape>
369                                     <Cylinder height='1radius='3'/>
370                                     <Appearance>
371                                          <Material diffuseColor='1 1 1'/>
372                                     </Appearance>
373                                </Shape>
374                           </Transform>
375                           <Transform>
376                                <Transform translation='0 2 5.5'>
377                                     <Shape>
378                                          <Cylinder height='3radius='2'/>
379                                          <Appearance>
380                                               <Material diffuseColor='1 1 1'/>
381                                          </Appearance>
382                                     </Shape>
383                                     <Transform translation='0 1.7 0'>
384                                          <Shape>
385                                               <Appearance>
386                                                    <Material diffuseColor='1 1 1'/>
387                                               </Appearance>
388                                               <Sphere radius='2'/>
389                                          </Shape>
390                                     </Transform>
391                                </Transform>
392                           </Transform>
393                      </Transform>
394                      <Transform DEF='LeftBulbrotation='0 1 0 .9scale='.8 .8 .8translation='2 0 8'>
395                           <Shape>
396                                <Appearance>
397                                     <Material diffuseColor='1 1 1'/>
398                                </Appearance>
399                                <Box size='6 1 10'/>
400                           </Shape>
401                           <Transform translation='0 0 5'>
402                                <Shape>
403                                     <Cylinder height='1radius='3'/>
404                                     <Appearance>
405                                          <Material diffuseColor='1 1 1'/>
406                                     </Appearance>
407                                </Shape>
408                           </Transform>
409                           <Transform>
410                                <Transform translation='0 2 5.5'>
411                                     <Shape>
412                                          <Cylinder height='3radius='2'/>
413                                          <Appearance>
414                                               <Material diffuseColor='1 1 1'/>
415                                          </Appearance>
416                                     </Shape>
417                                     <Transform translation='0 1.7 0'>
418                                          <Shape>
419                                               <Appearance>
420                                                    <Material diffuseColor='1 1 1'/>
421                                               </Appearance>
422                                               <Sphere radius='2'/>
423                                          </Shape>
424                                     </Transform>
425                                </Transform>
426                           </Transform>
427                      </Transform>
428                      <Transform DEF='RightBulbrotation='0 1 0 -1.0scale='.7 .7 .7translation='-1 0 6'>
429                           <Shape>
430                                <Appearance>
431                                     <Material diffuseColor='1 1 1'/>
432                                </Appearance>
433                                <Box size='6 1 10'/>
434                           </Shape>
435                           <Transform translation='0 0 5'>
436                                <Shape>
437                                     <Cylinder height='1radius='3'/>
438                                     <Appearance>
439                                          <Material diffuseColor='1 1 1'/>
440                                     </Appearance>
441                                </Shape>
442                           </Transform>
443                           <Transform>
444                                <Transform translation='0 2 5.5'>
445                                     <Shape>
446                                          <Cylinder height='3radius='2'/>
447                                          <Appearance>
448                                               <Material diffuseColor='1 1 1'/>
449                                          </Appearance>
450                                     </Shape>
451                                     <Transform translation='0 1.7 0'>
452                                          <Shape>
453                                               <Appearance>
454                                                    <Material diffuseColor='1 1 1'/>
455                                               </Appearance>
456                                               <Sphere radius='2'/>
457                                          </Shape>
458                                     </Transform>
459                                </Transform>
460                           </Transform>
461                      </Transform>
462                      <Transform DEF='Antennatranslation='0 0 5'>
463                           <Transform translation='0 4 -0.5'>
464                                <Shape>
465                                     <Cylinder height='7radius='2'/>
466                                     <Appearance>
467                                          <Material diffuseColor='1 1 1'/>
468                                     </Appearance>
469                                </Shape>
470                                <Transform translation='0 6.5 0'>
471                                     <Shape>
472                                          <Appearance>
473                                               <Material/>
474                                          </Appearance>
475                                          <Sphere radius='.5'/>
476                                     </Shape>
477                                </Transform>
478                           </Transform>
479                           <Transform>
480                                <Transform translation='0 8 -0.5'>
481                                     <Shape>
482                                          <Cylinder height='5radius='.5'/>
483                                          <Appearance>
484                                               <Material diffuseColor='1 1 1'/>
485                                          </Appearance>
486                                     </Shape>
487                                </Transform>
488                           </Transform>
489                           <Transform rotation='1 0 0 0.9translation='0 11 -.5'>
490                                <Shape>
491                                     <Box size='10 .5 8'/>
492                                     <Appearance>
493                                          <Material/>
494                                     </Appearance>
495                                </Shape>
496                           </Transform>
497                      </Transform>
498                 </Transform>
499            </Transform>
500            <!-- Details over th main structure -->
501            <Transform DEF='MoreStrucrotation='0 1 0 1.571translation='0 13 -5'>
502                 <Shape>
503                      <Appearance>
504                           <Material/>
505                      </Appearance>
506                      <Box size='13 4 8'/>
507                 </Shape>
508            </Transform>
509            < ROUTE  fromNode='CLOCK' fromField='fraction_changed' toNode='AntPathInt' toField='set_fraction'/>
510            < ROUTE  fromNode='AntPathInt' fromField='value_changed' toNode='AntRot' toField='set_rotation'/>
511       </Scene>
512  </X3D>
<!--

<!--
Event Graph ROUTE Table shows event connections.
-->
<!-- to top DEF nodes index: AntenaSuport, Antenna, AntPathInt, AntRot, Bridge, Bridge2, CentralBulb, CLOCK, Details, Details-2, FrontRadar, GlassWin, LeftBulb, LeftDetails, LeftDetails-2, MainStruc, MastPrinc, mastro, MoreStruc, Plataf, RadarBulbs, RightBulb, RightDetails, RightDetails-2, RotWindows, SternBridge, WallsForWindows

Index for Viewpoint nodes: Viewpoint_1, Viewpoint_2, Viewpoint_3, Viewpoint_4, Viewpoint_5, Viewpoint_6
-->
X3D Tooltips element index: Appearance, Background, Box, Coordinate, Cylinder, Extrusion, FontStyle, Group, head, ImageTexture, IndexedFaceSet, Material, meta, OrientationInterpolator, ROUTE, Scene, Shape, Sphere, Text, TimeSensor, Transform, Viewpoint, WorldInfo, X3D, plus documentation for accessType definitions, type definitions, XML data types, and field types

Event Graph ROUTE Table entries with 2 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.

CLOCK
TimeSensor
fraction_changed
SFFloat

ROUTE
event to
(1)
AntPathInt
OrientationInterpolator
set_fraction
SFFloat
then
 
 
 
AntPathInt
OrientationInterpolator
value_changed
SFRotation

ROUTE
event to
(2)
AntRot
Transform
set_rotation
SFRotation

Additional guidance on X3D animation can be found in the 10-Step Animation Design Process and Event Tracing hint sheets. Have fun with X3D! 😀

-->
<!-- Online at
https://www.web3d.org/x3d/content/examples/Savage/ShipsMilitary/CarrierIndependenceUnitedStates/TowerFinalIndex.html -->
<!-- Version control at
https://sourceforge.net/p/x3d/code/HEAD/tree/www.web3d.org/x3d/content/examples/Savage/ShipsMilitary/CarrierIndependenceUnitedStates/TowerFinal.x3d -->

<!-- Color-coding legend: X3D terminology <X3dNode  DEF='idNamefield='value'/> matches XML terminology <XmlElement  DEF='idNameattribute='value'/>
(Light-blue background: event-based behavior node or statement) (Grey background inside box: inserted documentation) (Magenta background: X3D Extensibility)
-->

to top <!-- For additional help information about X3D scenes, please see X3D Tooltips, X3D Resources, and X3D Scene Authoring Hints. -->