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

<!--
Event Graph ROUTE Table shows event connections.
-->
<!-- to top DEF nodes index: AntenaSuport, Antenna, AntPathInt, AntRot, bottomstruc, Bridge, Bridge2, CentralBulb, CLOCK, Details, Details-2, FrontRadar, GlassWin, LeftBulb, LeftDetails, LeftDetails-2, MainStruc, MastPrinc, mastro, midstruc, MoreStruc, Plataf, RadarBulbs, RightBulb, RightDetails, RightDetails-2, RotWindows, SternBridge, WallsForWindows
-->
X3D Tooltips element index: Appearance, Box, Cylinder, Extrusion, FontStyle, Group, head, Material, meta, OrientationInterpolator, ROUTE, Scene, Shape, Sphere, Text, TimeSensor, Transform, WorldInfo, X3D, plus documentation for accessType definitions, type definitions, XML data types, and field types

Event Graph ROUTE Table 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/CarrierSaratogaUnitedStates/BridgeLowResolutionIndex.html -->
<!-- Version control at
https://sourceforge.net/p/x3d/code/HEAD/tree/www.web3d.org/x3d/content/examples/Savage/ShipsMilitary/CarrierSaratogaUnitedStates/BridgeLowResolution.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. -->