X3D Model Documentation: NavigationAidsExample.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=' NavigationAidsExample.x3d '/>
  6            <meta name='descriptioncontent='Navigation Aids Example, using two of each Prototype: Range Light, Lighted Buoy, Light.'/>
  7            <meta name='creatorcontent='Planet 9 Studios, Inc., San Francisco, CA'/>
  8            <meta name='producercontent='Christian Greuel, Director of Art and Production'/>
  9            <meta name='referencecontent='http://www.planet9.com'/>
 10            <meta name='referencecontent='IHO S-57: http://www.caris.com/s-57'/>
 11            <meta name='translatorcontent='Xj3D Format Converter'/>
 12            <meta name='createdcontent='17 August 2006'/>
 13            <meta name='translatedcontent='18 August 2006'/>
 14            <meta name='modifiedcontent='20 October 2019'/>
 15            <meta name='licensecontent='../../license.html'/>
 16            <meta name='identifiercontent=' https://www.web3d.org/x3d/content/examples/Savage/HarborEquipment/NavigationAids/NavigationAidsExample.x3d '/>
 17       </head>
<!--

<!--
Event Graph ROUTE Table shows event connections.
-->
<!-- to top DEF nodes index: LightedBuoyPort, LightedBuoyStarboard, LightPort, LightStarboard, RangeLightFront, RangeLightRear

Index for Viewpoint nodes: Viewpoint_1, Viewpoint_2, Viewpoint_3, Viewpoint_4

Index for ExternProtoDeclare definitions: Light, LightedBuoy, RangeLight
-->
 18       <Scene>
 19            <WorldInfo title='NavigationAidsExample.x3d'/>
 20            <ExternProtoDeclare name='RangeLight'   url=' "RangeLightPrototype.x3d#RangeLight" "https://www.web3d.org/x3d/content/examples/Savage/HarborEquipment/NavigationAids/RangeLightPrototype.x3d#RangeLight" "RangeLightPrototype.wrl#RangeLight" "https://www.web3d.org/x3d/content/examples/Savage/HarborEquipment/NavigationAids/RangeLightPrototype.wrl#RangeLight" '>
 21                 <!-- NOTE: Beacon light points due North (+Z) and is only visible from that side. -->
 22                 <field name='LightTypetype='SFInt32accessType='inputOutput'/>
 23                 <!-- 0=LightOff, 1=LightOn, 2=LightFlashing(NotImplemented) -->
 24                 <field name='LightGlowtype='SFVec3faccessType='inputOutput'/>
 25                 <!-- XYZ Scale of Light Glow Effect (suggest Z=1.0) -->
 26            </ExternProtoDeclare>
 27            <ExternProtoDeclare name='LightedBuoy'   url=' "LightedBuoyPrototype.x3d#LightedBuoy" "https://www.web3d.org/x3d/content/examples/Savage/HarborEquipment/NavigationAids/LightedBuoyPrototype.x3d#LightedBuoy" "LightedBuoyPrototype.wrl#LightedBuoy" "https://www.web3d.org/x3d/content/examples/Savage/HarborEquipment/NavigationAids/LightedBuoyPrototype.wrl#LightedBuoy" '>
 28                 <!-- NOTE: CATLAM = Catagory of Lateral Marker (Reference: IHO S-57) -->
 29                 <field name='Catlamtype='SFInt32accessType='inputOutput'/>
 30                 <!-- 0=None(Unlikely), 1=Green(Port), 2=Red(Starboard) -->
 31                 <field name='LightTypetype='SFInt32accessType='inputOutput'/>
 32                 <!-- 0=LightOff, 1=LightOn, 2=LightFlashing(NotImplemented) -->
 33                 <field name='LightGlowtype='SFVec3faccessType='inputOutput'/>
 34                 <!-- XYZ Scale of Light Glow Effect (suggest Z=1.0) -->
 35                 <field name='Numbertype='SFInt32accessType='inputOutput'/>
 36                 <!-- Not Implemented -->
 37            </ExternProtoDeclare>
 38            <ExternProtoDeclare name='Light'   url=' "LightPrototype.x3d#Light" "https://www.web3d.org/x3d/content/examples/Savage/HarborEquipment/NavigationAids/LightPrototype.x3d#Light" "LightPrototype.wrl#Light" "https://www.web3d.org/x3d/content/examples/Savage/HarborEquipment/NavigationAids/LightPrototype.wrl#Light" '>
 39                 <!-- NOTE: CATLAM = Catagory of Lateral Marker (Reference: IHO S-57) -->
 40                 <field name='Catlamtype='SFInt32accessType='inputOutput'/>
 41                 <!-- 0=None(Unlikely), 1=Green(Port), 2=Red(Starboard) -->
 42                 <field name='LightTypetype='SFInt32accessType='inputOutput'/>
 43                 <!-- 0=LightOff, 1=LightOn, 2=LightFlashing(NotImplemented) -->
 44                 <field name='LightGlowtype='SFVec3faccessType='inputOutput'/>
 45                 <!-- XYZ Scale of Light Glow Effect (suggest Z=1.0) -->
 46                 <field name='PileTypetype='SFInt32accessType='inputOutput'/>
 47                 <!-- 0=NoPile(Unlikely), 1=SinglePile, 2=MultiPile -->
 48                 <field name='Numbertype='SFInt32accessType='inputOutput'/>
 49                 <!-- Not Implemented -->
 50            </ExternProtoDeclare>
 51            <NavigationInfo avatarSize='5.0 1.6 0.75'/>
 52            <Viewpoint description='On Range LinefieldOfView='0.6024orientation='1.0 0.0 0.0 0.0position='0.0 5.0 50.0'/>
 53            <Viewpoint description='Left of Range LinefieldOfView='0.6024orientation='1.0 0.0 0.0 0.0position='-7.0 5.0 50.0'/>
 54            <Viewpoint description='Right of Range LinefieldOfView='0.6024orientation='1.0 0.0 0.0 0.0position='7.0 5.0 50.0'/>
 55            <Viewpoint description="Bird's EyefieldOfView='0.6024orientation='0.668 0.7377 0.09804 -0.3928position='-30.0 30.0 100.0'/>
 56            <Transform DEF='RangeLightFrontrotation='0.0 -1.0 0.0 -3.14159translation='0.0 0.0 -25.0'>
 57                 <!-- Rotate to face South -->
 58                 <ProtoInstance name='RangeLight'>
 59                      <fieldValue name='LightTypevalue='1'/>
 60                      <!-- LightOn -->
 61                      <fieldValue name='LightGlowvalue='4.0 4.0 1.0'/>
 62                      <!-- Glow effect scaled four times wide (XY only) -->
 63                 </ProtoInstance>
 64            </Transform>
 65            <Transform DEF='RangeLightRearrotation='0.0 -1.0 0.0 -3.14159translation='0.0 5.0 -50.0'>
 66                 <!-- Rotate to face South -->
 67                 <ProtoInstance name='RangeLight'>
 68                      <fieldValue name='LightTypevalue='1'/>
 69                      <!-- LightOn -->
 70                      <fieldValue name='LightGlowvalue='4.0 4.0 1.0'/>
 71                      <!-- Glow effect scaled four times wide (XY only) -->
 72                 </ProtoInstance>
 73            </Transform>
 74            <Transform DEF='LightedBuoyPorttranslation='-10.0 0.0 0.0'>
 75                 <ProtoInstance name='LightedBuoy'>
 76                      <fieldValue name='Catlamvalue='1'/>
 77                      <!-- Green (Port) -->
 78                      <fieldValue name='LightTypevalue='1'/>
 79                      <!-- LightOn -->
 80                      <fieldValue name='LightGlowvalue='1.0 1.0 1.0'/>
 81                      <!-- Glow effect scaled four times wide (XY only) -->
 82                      <fieldValue name='Numbervalue='0'/>
 83                 </ProtoInstance>
 84            </Transform>
 85            <Transform DEF='LightedBuoyStarboardtranslation='10.0 0.0 0.0'>
 86                 <ProtoInstance name='LightedBuoy'>
 87                      <fieldValue name='Catlamvalue='2'/>
 88                      <!-- Red (Starboard) -->
 89                      <fieldValue name='LightTypevalue='1'/>
 90                      <!-- LightOn -->
 91                      <fieldValue name='LightGlowvalue='1.0 1.0 1.0'/>
 92                      <!-- Glow effect scaled four times wide (XY only) -->
 93                      <fieldValue name='Numbervalue='0'/>
 94                 </ProtoInstance>
 95            </Transform>
 96            <Transform DEF='LightPorttranslation='-10.0 0.0 25.0'>
 97                 <ProtoInstance name='Light'>
 98                      <fieldValue name='Catlamvalue='1'/>
 99                      <!-- Green (Port) -->
100                      <fieldValue name='LightTypevalue='1'/>
101                      <!-- LightOn -->
102                      <fieldValue name='LightGlowvalue='2.0 2.0 2.0'/>
103                      <!-- Glow effect scaled four times wide (XY only) -->
104                      <fieldValue name='PileTypevalue='1'/>
105                      <!-- Single Pile -->
106                      <fieldValue name='Numbervalue='0'/>
107                 </ProtoInstance>
108            </Transform>
109            <Transform DEF='LightStarboardtranslation='10.0 0.0 25.0'>
110                 <ProtoInstance name='Light'>
111                      <fieldValue name='Catlamvalue='2'/>
112                      <!-- Red (Starboard) -->
113                      <fieldValue name='LightTypevalue='1'/>
114                      <!-- LightOn -->
115                      <fieldValue name='LightGlowvalue='2.0 2.0 2.0'/>
116                      <!-- Glow effect scaled four times wide (XY only) -->
117                      <fieldValue name='PileTypevalue='2'/>
118                      <!-- Multi Pile -->
119                      <fieldValue name='Numbervalue='0'/>
120                 </ProtoInstance>
121            </Transform>
122       </Scene>
123  </X3D>
<!--

<!--
Event Graph ROUTE Table shows event connections.
-->
<!-- to top DEF nodes index: LightedBuoyPort, LightedBuoyStarboard, LightPort, LightStarboard, RangeLightFront, RangeLightRear

Index for Viewpoint nodes: Viewpoint_1, Viewpoint_2, Viewpoint_3, Viewpoint_4

Index for ExternProtoDeclare definitions: Light, LightedBuoy, RangeLight
-->
X3D Tooltips element index: ExternProtoDeclare, field, fieldValue, head, meta, NavigationInfo, ProtoInstance, Scene, Transform, Viewpoint, WorldInfo, X3D, plus documentation for accessType definitions, type definitions, XML data types, and field types

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 58
ProtoInstance
RangeLight
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. 

line 67
ProtoInstance
RangeLight
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. 

line 75
ProtoInstance
LightedBuoy
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. 

line 86
ProtoInstance
LightedBuoy
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. 

line 97
ProtoInstance
Light
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. 

line 110
ProtoInstance
Light
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. 

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/HarborEquipment/NavigationAids/NavigationAidsExampleIndex.html -->
<!-- Version control at
https://sourceforge.net/p/x3d/code/HEAD/tree/www.web3d.org/x3d/content/examples/Savage/HarborEquipment/NavigationAids/NavigationAidsExample.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)
    <ProtoInstance name='ProtoName'> <field name='fieldName'/> </ProtoInstance> -->

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