<?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 name='titlecontent='NavigationAidsExample.x3d'/>
<meta name='descriptioncontent='Navigation Aids Example, using two of each Prototype: Range Light, Lighted Buoy, Light.'/>
<meta name='creatorcontent='Planet 9 Studios, Inc., San Francisco, CA'/>
<meta name='producercontent='Christian Greuel, Director of Art and Production'/>
<meta name='referencecontent=' http://www.planet9.com '/>
<meta name='referencecontent=' IHO S-57: http://www.caris.com/s-57 '/>
<meta name='translatorcontent='Xj3D Format Converter'/>
<meta name='createdcontent='17 August 2006'/>
<meta name='translatedcontent='18 August 2006'/>
<meta name='modifiedcontent='20 October 2019'/>
<meta name='licensecontent=' ../../license.html'/>
<meta name='identifiercontent=' https://savage.nps.edu/Savage/HarborEquipment/NavigationAids/NavigationAidsExample.x3d '/>
</head>
<!--

Index for ExternProtoDeclare definitions: Light, LightedBuoy, RangeLight

Index for DEF nodes: LightedBuoyPort, LightedBuoyStarboard, LightPort, LightStarboard, RangeLightFront, RangeLightRear

Index for Viewpoint nodes: Viewpoint_1, Viewpoint_2, Viewpoint_3, Viewpoint_4
-->
<Scene>
<WorldInfo title='NavigationAidsExample.x3d'/>
<ExternProtoDeclare name='RangeLight'
  url=' "RangeLightPrototype.x3d#RangeLight" "https://savage.nps.edu/Savage/HarborEquipment/NavigationAids/RangeLightPrototype.x3d#RangeLight" "RangeLightPrototype.wrl#RangeLight" "https://savage.nps.edu/Savage/HarborEquipment/NavigationAids/RangeLightPrototype.wrl#RangeLight" ' >
<!-- NOTE: Beacon light points due North (+Z) and is only visible from that side. here!!! -->
<field name='LightTypetype='SFInt32accessType='inputOutput'/>
<!-- 0=LightOff, 1=LightOn, 2=LightFlashing(NotImplemented) here!!! -->
<field name='LightGlowtype='SFVec3faccessType='inputOutput'/>
<!-- XYZ Scale of Light Glow Effect (suggest Z=1.0) here!!! -->
</ExternProtoDeclare>
<ExternProtoDeclare name='LightedBuoy'
  url=' "LightedBuoyPrototype.x3d#LightedBuoy" "https://savage.nps.edu/Savage/HarborEquipment/NavigationAids/LightedBuoyPrototype.x3d#LightedBuoy" "LightedBuoyPrototype.wrl#LightedBuoy" "https://savage.nps.edu/Savage/HarborEquipment/NavigationAids/LightedBuoyPrototype.wrl#LightedBuoy" ' >
<!-- NOTE: CATLAM = Catagory of Lateral Marker (Reference: IHO S-57) here!!! -->
<field name='Catlamtype='SFInt32accessType='inputOutput'/>
<!-- 0=None(Unlikely), 1=Green(Port), 2=Red(Starboard) here!!! -->
<field name='LightTypetype='SFInt32accessType='inputOutput'/>
<!-- 0=LightOff, 1=LightOn, 2=LightFlashing(NotImplemented) here!!! -->
<field name='LightGlowtype='SFVec3faccessType='inputOutput'/>
<!-- XYZ Scale of Light Glow Effect (suggest Z=1.0) here!!! -->
<field name='Numbertype='SFInt32accessType='inputOutput'/>
<!-- Not Implemented here!!! -->
</ExternProtoDeclare>
<ExternProtoDeclare name='Light'
  url=' "LightPrototype.x3d#Light" "https://savage.nps.edu/Savage/HarborEquipment/NavigationAids/LightPrototype.x3d#Light" "LightPrototype.wrl#Light" "https://savage.nps.edu/Savage/HarborEquipment/NavigationAids/LightPrototype.wrl#Light" ' >
<!-- NOTE: CATLAM = Catagory of Lateral Marker (Reference: IHO S-57) here!!! -->
<field name='Catlamtype='SFInt32accessType='inputOutput'/>
<!-- 0=None(Unlikely), 1=Green(Port), 2=Red(Starboard) here!!! -->
<field name='LightTypetype='SFInt32accessType='inputOutput'/>
<!-- 0=LightOff, 1=LightOn, 2=LightFlashing(NotImplemented) here!!! -->
<field name='LightGlowtype='SFVec3faccessType='inputOutput'/>
<!-- XYZ Scale of Light Glow Effect (suggest Z=1.0) here!!! -->
<field name='PileTypetype='SFInt32accessType='inputOutput'/>
<!-- 0=NoPile(Unlikely), 1=SinglePile, 2=MultiPile here!!! -->
<field name='Numbertype='SFInt32accessType='inputOutput'/>
<!-- Not Implemented here!!! -->
</ExternProtoDeclare>
<NavigationInfo avatarSize='5.0 1.6 0.75'/>
<Viewpoint description='On Range LinefieldOfView='0.6024orientation='1.0 0.0 0.0 0.0position='0.0 5.0 50.0'/>
<Viewpoint description='Left of Range LinefieldOfView='0.6024orientation='1.0 0.0 0.0 0.0position='-7.0 5.0 50.0'/>
<Viewpoint description='Right of Range LinefieldOfView='0.6024orientation='1.0 0.0 0.0 0.0position='7.0 5.0 50.0'/>
<Viewpoint description="Bird's EyefieldOfView='0.6024orientation='0.668 0.7377 0.09804 -0.3928position='-30.0 30.0 100.0'/>
<Transform DEF='RangeLightFrontrotation='0.0 -1.0 0.0 -3.14159translation='0.0 0.0 -25.0'>
<!-- Rotate to face South here!!! -->
<ProtoInstance name='RangeLight'>
<fieldValue name='LightTypevalue='1'/>
<!-- LightOn here!!! -->
<fieldValue name='LightGlowvalue='4.0 4.0 1.0'/>
<!-- Glow effect scaled four times wide (XY only) here!!! -->
</ProtoInstance>
</Transform>
<Transform DEF='RangeLightRearrotation='0.0 -1.0 0.0 -3.14159translation='0.0 5.0 -50.0'>
<!-- Rotate to face South here!!! -->
<ProtoInstance name='RangeLight'>
<fieldValue name='LightTypevalue='1'/>
<!-- LightOn here!!! -->
<fieldValue name='LightGlowvalue='4.0 4.0 1.0'/>
<!-- Glow effect scaled four times wide (XY only) here!!! -->
</ProtoInstance>
</Transform>
<Transform DEF='LightedBuoyPorttranslation='-10.0 0.0 0.0'>
<ProtoInstance name='LightedBuoy'>
<fieldValue name='Catlamvalue='1'/>
<!-- Green (Port) here!!! -->
<fieldValue name='LightTypevalue='1'/>
<!-- LightOn here!!! -->
<fieldValue name='LightGlowvalue='1.0 1.0 1.0'/>
<!-- Glow effect scaled four times wide (XY only) here!!! -->
<fieldValue name='Numbervalue='0'/>
</ProtoInstance>
</Transform>
<Transform DEF='LightedBuoyStarboardtranslation='10.0 0.0 0.0'>
<ProtoInstance name='LightedBuoy'>
<fieldValue name='Catlamvalue='2'/>
<!-- Red (Starboard) here!!! -->
<fieldValue name='LightTypevalue='1'/>
<!-- LightOn here!!! -->
<fieldValue name='LightGlowvalue='1.0 1.0 1.0'/>
<!-- Glow effect scaled four times wide (XY only) here!!! -->
<fieldValue name='Numbervalue='0'/>
</ProtoInstance>
</Transform>
<Transform DEF='LightPorttranslation='-10.0 0.0 25.0'>
<ProtoInstance name='Light'>
<fieldValue name='Catlamvalue='1'/>
<!-- Green (Port) here!!! -->
<fieldValue name='LightTypevalue='1'/>
<!-- LightOn here!!! -->
<fieldValue name='LightGlowvalue='2.0 2.0 2.0'/>
<!-- Glow effect scaled four times wide (XY only) here!!! -->
<fieldValue name='PileTypevalue='1'/>
<!-- Single Pile here!!! -->
<fieldValue name='Numbervalue='0'/>
</ProtoInstance>
</Transform>
<Transform DEF='LightStarboardtranslation='10.0 0.0 25.0'>
<ProtoInstance name='Light'>
<fieldValue name='Catlamvalue='2'/>
<!-- Red (Starboard) here!!! -->
<fieldValue name='LightTypevalue='1'/>
<!-- LightOn here!!! -->
<fieldValue name='LightGlowvalue='2.0 2.0 2.0'/>
<!-- Glow effect scaled four times wide (XY only) here!!! -->
<fieldValue name='PileTypevalue='2'/>
<!-- Multi Pile here!!! -->
<fieldValue name='Numbervalue='0'/>
</ProtoInstance>
</Transform>
</Scene>
</X3D>
<!--

Index for ExternProtoDeclare definitions: Light, LightedBuoy, RangeLight

Index for DEF nodes: LightedBuoyPort, LightedBuoyStarboard, LightPort, LightStarboard, RangeLightFront, RangeLightRear

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

<!-- Online at
https://savage.nps.edu/Savage/HarborEquipment/NavigationAids/NavigationAidsExampleIndex.html -->
<!-- Version control at
https://gitlab.nps.edu/Savage/Savage/HarborEquipment/NavigationAids/NavigationAidsExample.x3d -->

<!-- Color 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)
    <ProtoInstance name='ProtoName'> <field name='fieldName'/> </ProtoInstance> -->

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