#X3D V3.0 utf8 # X3D-to-ClassicVRML XSL translation autogenerated by X3dToVrml97.xslt # https://www.web3d.org/x3d/content/X3dToVrml97.xslt # Generated using XSLT processor: Saxonica PROFILE Immersive # [X3D] version=3.0 # [X3D] noNamespaceSchemaLocation=https://www.web3d.org/specifications/x3d-3.0.xsd # [head] META "title" "NavigationAidsExample.x3d" META "description" "Navigation Aids Example, using two of each Prototype: Range Light, Lighted Buoy, Light." META "creator" "Planet 9 Studios, Inc., San Francisco, CA" META "producer" "Christian Greuel, Director of Art and Production" META "reference" "http://www.planet9.com" META "reference" "IHO S-57: http://www.caris.com/s-57" META "translator" "Xj3D Format Converter" META "created" "17 August 2006" META "translated" "18 August 2006" META "modified" "20 October 2019" META "license" "../../license.html" META "identifier" "https://savage.nps.edu/Savage/HarborEquipment/NavigationAids/NavigationAidsExample.x3d" # [Scene] ========== ========== ========== WorldInfo { title "NavigationAidsExample.x3d" } EXTERNPROTO RangeLight [ # NOTE: Beacon light points due North (+Z) and is only visible from that side. inputOutput SFInt32 LightType # 0=LightOff, 1=LightOn, 2=LightFlashing(NotImplemented) inputOutput SFVec3f LightGlow # XYZ Scale of Light Glow Effect (suggest Z=1.0) ][ "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" ] EXTERNPROTO LightedBuoy [ # NOTE: CATLAM = Catagory of Lateral Marker (Reference: IHO S-57) inputOutput SFInt32 Catlam # 0=None(Unlikely), 1=Green(Port), 2=Red(Starboard) inputOutput SFInt32 LightType # 0=LightOff, 1=LightOn, 2=LightFlashing(NotImplemented) inputOutput SFVec3f LightGlow # XYZ Scale of Light Glow Effect (suggest Z=1.0) inputOutput SFInt32 Number # Not Implemented ][ "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" ] EXTERNPROTO Light [ # NOTE: CATLAM = Catagory of Lateral Marker (Reference: IHO S-57) inputOutput SFInt32 Catlam # 0=None(Unlikely), 1=Green(Port), 2=Red(Starboard) inputOutput SFInt32 LightType # 0=LightOff, 1=LightOn, 2=LightFlashing(NotImplemented) inputOutput SFVec3f LightGlow # XYZ Scale of Light Glow Effect (suggest Z=1.0) inputOutput SFInt32 PileType # 0=NoPile(Unlikely), 1=SinglePile, 2=MultiPile inputOutput SFInt32 Number # Not Implemented ][ "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" ] 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's Eye" fieldOfView 0.6024 orientation 0.668 0.7377 0.09804 -0.3928 position -30.0 30.0 100.0 } DEF RangeLightFront Transform { rotation 0.0 -1.0 0.0 -3.14159 translation 0.0 0.0 -25.0 children [ # Rotate to face South RangeLight { LightType 1 LightGlow 4.0 4.0 1.0 } ] } DEF RangeLightRear Transform { rotation 0.0 -1.0 0.0 -3.14159 translation 0.0 5.0 -50.0 children [ # Rotate to face South RangeLight { LightType 1 LightGlow 4.0 4.0 1.0 } ] } DEF LightedBuoyPort Transform { translation -10.0 0.0 0.0 children [ LightedBuoy { Catlam 1 LightType 1 LightGlow 1.0 1.0 1.0 Number 0 } ] } DEF LightedBuoyStarboard Transform { translation 10.0 0.0 0.0 children [ LightedBuoy { Catlam 2 LightType 1 LightGlow 1.0 1.0 1.0 Number 0 } ] } DEF LightPort Transform { translation -10.0 0.0 25.0 children [ Light { Catlam 1 LightType 1 LightGlow 2.0 2.0 2.0 PileType 1 Number 0 } ] } DEF LightStarboard Transform { translation 10.0 0.0 25.0 children [ Light { Catlam 2 LightType 1 LightGlow 2.0 2.0 2.0 PileType 2 Number 0 } ] }