<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE X3D PUBLIC "ISO//Web3D//DTD X3D 3.0//EN" "https://www.web3d.org/specifications/x3d-3.0.dtd">
<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'>
  <head>
    <meta content='NavigationAidsExample.x3d' name='title'/>
    <meta content='Navigation Aids Example, using two of each Prototype: Range Light, Lighted Buoy, Light.' name='description'/>
    <meta content='Planet 9 Studios, Inc., San Francisco, CA' name='creator'/>
    <meta content='Christian Greuel, Director of Art and Production' name='producer'/>
    <meta content='http://www.planet9.com' name='reference'/>
    <meta content='IHO S-57: http://www.caris.com/s-57' name='reference'/>
    <meta content='Xj3D Format Converter' name='translator'/>
    <meta content='17 August 2006' name='created'/>
    <meta content='18 August 2006' name='translated'/>
    <meta content='20 October 2019' name='modified'/>
    <meta content='../../license.html' name='license'/>
    <meta content='https://www.web3d.org/x3d/content/examples/Savage/HarborEquipment/NavigationAids/NavigationAidsExample.x3d' name='identifier'/>
  </head>
  <Scene>
    <WorldInfo title='NavigationAidsExample.x3d'/>
    <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"'>
      <!-- NOTE: Beacon light points due North (+Z) and is only visible from that side. -->
      <field accessType='inputOutput' name='LightType' type='SFInt32'/>
      <!-- 0=LightOff, 1=LightOn, 2=LightFlashing(NotImplemented) -->
      <field accessType='inputOutput' name='LightGlow' type='SFVec3f'/>
      <!-- XYZ Scale of Light Glow Effect (suggest Z=1.0) -->
    </ExternProtoDeclare>
    <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"'>
      <!-- NOTE: CATLAM = Catagory of Lateral Marker (Reference: IHO S-57) -->
      <field accessType='inputOutput' name='Catlam' type='SFInt32'/>
      <!-- 0=None(Unlikely), 1=Green(Port), 2=Red(Starboard) -->
      <field accessType='inputOutput' name='LightType' type='SFInt32'/>
      <!-- 0=LightOff, 1=LightOn, 2=LightFlashing(NotImplemented) -->
      <field accessType='inputOutput' name='LightGlow' type='SFVec3f'/>
      <!-- XYZ Scale of Light Glow Effect (suggest Z=1.0) -->
      <field accessType='inputOutput' name='Number' type='SFInt32'/>
      <!-- Not Implemented -->
    </ExternProtoDeclare>
    <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"'>
      <!-- NOTE: CATLAM = Catagory of Lateral Marker (Reference: IHO S-57) -->
      <field accessType='inputOutput' name='Catlam' type='SFInt32'/>
      <!-- 0=None(Unlikely), 1=Green(Port), 2=Red(Starboard) -->
      <field accessType='inputOutput' name='LightType' type='SFInt32'/>
      <!-- 0=LightOff, 1=LightOn, 2=LightFlashing(NotImplemented) -->
      <field accessType='inputOutput' name='LightGlow' type='SFVec3f'/>
      <!-- XYZ Scale of Light Glow Effect (suggest Z=1.0) -->
      <field accessType='inputOutput' name='PileType' type='SFInt32'/>
      <!-- 0=NoPile(Unlikely), 1=SinglePile, 2=MultiPile -->
      <field accessType='inputOutput' name='Number' type='SFInt32'/>
      <!-- Not Implemented -->
    </ExternProtoDeclare>
    <NavigationInfo avatarSize='5.0 1.6 0.75'/>
    <Viewpoint description='On Range Line' fieldOfView='0.6024' orientation='1.0 0.0 0.0 0.0' position='0.0 5.0 50.0'/>
    <Viewpoint description='Left of Range Line' fieldOfView='0.6024' orientation='1.0 0.0 0.0 0.0' position='-7.0 5.0 50.0'/>
    <Viewpoint description='Right of Range Line' fieldOfView='0.6024' orientation='1.0 0.0 0.0 0.0' position='7.0 5.0 50.0'/>
    <Viewpoint description='Bird&apos;s Eye' fieldOfView='0.6024' orientation='0.668 0.7377 0.09804 -0.3928' position='-30.0 30.0 100.0'/>
    <Transform DEF='RangeLightFront' rotation='0.0 -1.0 0.0 -3.14159' translation='0.0 0.0 -25.0'>
      <!-- Rotate to face South -->
      <ProtoInstance name='RangeLight'>
        <fieldValue name='LightType' value='1'/>
        <!-- LightOn -->
        <fieldValue name='LightGlow' value='4.0 4.0 1.0'/>
        <!-- Glow effect scaled four times wide (XY only) -->
      </ProtoInstance>
    </Transform>
    <Transform DEF='RangeLightRear' rotation='0.0 -1.0 0.0 -3.14159' translation='0.0 5.0 -50.0'>
      <!-- Rotate to face South -->
      <ProtoInstance name='RangeLight'>
        <fieldValue name='LightType' value='1'/>
        <!-- LightOn -->
        <fieldValue name='LightGlow' value='4.0 4.0 1.0'/>
        <!-- Glow effect scaled four times wide (XY only) -->
      </ProtoInstance>
    </Transform>
    <Transform DEF='LightedBuoyPort' translation='-10.0 0.0 0.0'>
      <ProtoInstance name='LightedBuoy'>
        <fieldValue name='Catlam' value='1'/>
        <!-- Green (Port) -->
        <fieldValue name='LightType' value='1'/>
        <!-- LightOn -->
        <fieldValue name='LightGlow' value='1.0 1.0 1.0'/>
        <!-- Glow effect scaled four times wide (XY only) -->
        <fieldValue name='Number' value='0'/>
      </ProtoInstance>
    </Transform>
    <Transform DEF='LightedBuoyStarboard' translation='10.0 0.0 0.0'>
      <ProtoInstance name='LightedBuoy'>
        <fieldValue name='Catlam' value='2'/>
        <!-- Red (Starboard) -->
        <fieldValue name='LightType' value='1'/>
        <!-- LightOn -->
        <fieldValue name='LightGlow' value='1.0 1.0 1.0'/>
        <!-- Glow effect scaled four times wide (XY only) -->
        <fieldValue name='Number' value='0'/>
      </ProtoInstance>
    </Transform>
    <Transform DEF='LightPort' translation='-10.0 0.0 25.0'>
      <ProtoInstance name='Light'>
        <fieldValue name='Catlam' value='1'/>
        <!-- Green (Port) -->
        <fieldValue name='LightType' value='1'/>
        <!-- LightOn -->
        <fieldValue name='LightGlow' value='2.0 2.0 2.0'/>
        <!-- Glow effect scaled four times wide (XY only) -->
        <fieldValue name='PileType' value='1'/>
        <!-- Single Pile -->
        <fieldValue name='Number' value='0'/>
      </ProtoInstance>
    </Transform>
    <Transform DEF='LightStarboard' translation='10.0 0.0 25.0'>
      <ProtoInstance name='Light'>
        <fieldValue name='Catlam' value='2'/>
        <!-- Red (Starboard) -->
        <fieldValue name='LightType' value='1'/>
        <!-- LightOn -->
        <fieldValue name='LightGlow' value='2.0 2.0 2.0'/>
        <!-- Glow effect scaled four times wide (XY only) -->
        <fieldValue name='PileType' value='2'/>
        <!-- Multi Pile -->
        <fieldValue name='Number' value='0'/>
      </ProtoInstance>
    </Transform>
  </Scene>
</X3D>