{ "X3D": {
    "encoding":"UTF-8",
    "@profile":"Immersive",
    "@version":"3.0",
    "@xsd:noNamespaceSchemaLocation":"https://www.web3d.org/specifications/x3d-3.0.xsd",
    "JSON schema":"https://www.web3d.org/specifications/x3d-4.0-JSONSchema.autogenerated.json",
    "head": {
        "meta": [
          {
            "@name":"title",
            "@content":"NavigationAidsExample.x3d"
          },
          {
            "@name":"description",
            "@content":"Navigation Aids Example, using two of each Prototype: Range Light, Lighted Buoy, Light."
          },
          {
            "@name":"creator",
            "@content":"Planet 9 Studios, Inc., San Francisco, CA"
          },
          {
            "@name":"producer",
            "@content":"Christian Greuel, Director of Art and Production"
          },
          {
            "@name":"reference",
            "@content":"http://www.planet9.com"
          },
          {
            "@name":"reference",
            "@content":"IHO S-57: http://www.caris.com/s-57"
          },
          {
            "@name":"translator",
            "@content":"Xj3D Format Converter"
          },
          {
            "@name":"created",
            "@content":"17 August 2006"
          },
          {
            "@name":"translated",
            "@content":"18 August 2006"
          },
          {
            "@name":"modified",
            "@content":"20 October 2019"
          },
          {
            "@name":"license",
            "@content":"../../license.html"
          },
          {
            "@name":"identifier",
            "@content":"https://www.web3d.org/x3d/content/examples/Savage/HarborEquipment/NavigationAids/NavigationAidsExample.x3d"
          },
          {
            "@name":"translated",
            "@content":"21 April 2026"
          },
          {
            "@name":"generator",
            "@content":"X3dToJson.xslt, https://www.web3d.org/x3d/stylesheets/X3dToJson.html"
          },
          {
            "@name":"reference",
            "@content":"X3D JSON encoding: https://www.web3d.org/wiki/index.php/X3D_JSON_Encoding"
          }
        ]
    },
    "Scene": {
        "-children":[
          { "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"],
              "-children":[
                {
                  "#comment":"NOTE: Beacon light points due North (+Z) and is only visible from that side."
                },
                {
                  "#comment":"0=LightOff, 1=LightOn, 2=LightFlashing(NotImplemented)"
                },
                {
                  "#comment":"XYZ Scale of Light Glow Effect (suggest Z=1.0)"
                }
              ],
              "field": [
                {
                  "@name":"LightType",
                  "@accessType":"inputOutput",
                  "@type":"SFInt32"
                },
                {
                  "@name":"LightGlow",
                  "@accessType":"inputOutput",
                  "@type":"SFVec3f"
                }
              ]
            }
          },
          { "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"],
              "-children":[
                {
                  "#comment":"NOTE: CATLAM = Catagory of Lateral Marker (Reference: IHO S-57)"
                },
                {
                  "#comment":"0=None(Unlikely), 1=Green(Port), 2=Red(Starboard)"
                },
                {
                  "#comment":"0=LightOff, 1=LightOn, 2=LightFlashing(NotImplemented)"
                },
                {
                  "#comment":"XYZ Scale of Light Glow Effect (suggest Z=1.0)"
                },
                {
                  "#comment":"Not Implemented"
                }
              ],
              "field": [
                {
                  "@name":"Catlam",
                  "@accessType":"inputOutput",
                  "@type":"SFInt32"
                },
                {
                  "@name":"LightType",
                  "@accessType":"inputOutput",
                  "@type":"SFInt32"
                },
                {
                  "@name":"LightGlow",
                  "@accessType":"inputOutput",
                  "@type":"SFVec3f"
                },
                {
                  "@name":"Number",
                  "@accessType":"inputOutput",
                  "@type":"SFInt32"
                }
              ]
            }
          },
          { "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"],
              "-children":[
                {
                  "#comment":"NOTE: CATLAM = Catagory of Lateral Marker (Reference: IHO S-57)"
                },
                {
                  "#comment":"0=None(Unlikely), 1=Green(Port), 2=Red(Starboard)"
                },
                {
                  "#comment":"0=LightOff, 1=LightOn, 2=LightFlashing(NotImplemented)"
                },
                {
                  "#comment":"XYZ Scale of Light Glow Effect (suggest Z=1.0)"
                },
                {
                  "#comment":"0=NoPile(Unlikely), 1=SinglePile, 2=MultiPile"
                },
                {
                  "#comment":"Not Implemented"
                }
              ],
              "field": [
                {
                  "@name":"Catlam",
                  "@accessType":"inputOutput",
                  "@type":"SFInt32"
                },
                {
                  "@name":"LightType",
                  "@accessType":"inputOutput",
                  "@type":"SFInt32"
                },
                {
                  "@name":"LightGlow",
                  "@accessType":"inputOutput",
                  "@type":"SFVec3f"
                },
                {
                  "@name":"PileType",
                  "@accessType":"inputOutput",
                  "@type":"SFInt32"
                },
                {
                  "@name":"Number",
                  "@accessType":"inputOutput",
                  "@type":"SFInt32"
                }
              ]
            }
          },
          { "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]
            }
          },
          { "Transform":
            {
              "@DEF":"RangeLightFront",
              "@rotation":[0.0,-1.0,0.0,-3.14159],
              "@translation":[0.0,0.0,-25.0],
              "-children":[
                {
                  "#comment":"Rotate to face South"
                },
                { "ProtoInstance":
                  {
                    "@name":"RangeLight",
                    "fieldValue": [
                      {
                        "@name":"LightType",
                        "@value":1
                      },
                      {
                        "@name":"LightGlow",
                        "@value":[4.0,4.0,1.0]
                      }
                    ],
                    "-children":[
                      {
                        "#comment":"LightOn"
                      },
                      {
                        "#comment":"Glow effect scaled four times wide (XY only)"
                      }
                    ]
                  }
                }
              ]
            }
          },
          { "Transform":
            {
              "@DEF":"RangeLightRear",
              "@rotation":[0.0,-1.0,0.0,-3.14159],
              "@translation":[0.0,5.0,-50.0],
              "-children":[
                {
                  "#comment":"Rotate to face South"
                },
                { "ProtoInstance":
                  {
                    "@name":"RangeLight",
                    "fieldValue": [
                      {
                        "@name":"LightType",
                        "@value":1
                      },
                      {
                        "@name":"LightGlow",
                        "@value":[4.0,4.0,1.0]
                      }
                    ],
                    "-children":[
                      {
                        "#comment":"LightOn"
                      },
                      {
                        "#comment":"Glow effect scaled four times wide (XY only)"
                      }
                    ]
                  }
                }
              ]
            }
          },
          { "Transform":
            {
              "@DEF":"LightedBuoyPort",
              "@translation":[-10.0,0.0,0.0],
              "-children":[
                { "ProtoInstance":
                  {
                    "@name":"LightedBuoy",
                    "fieldValue": [
                      {
                        "@name":"Catlam",
                        "@value":1
                      },
                      {
                        "@name":"LightType",
                        "@value":1
                      },
                      {
                        "@name":"LightGlow",
                        "@value":[1.0,1.0,1.0]
                      },
                      {
                        "@name":"Number",
                        "@value":0
                      }
                    ],
                    "-children":[
                      {
                        "#comment":"Green (Port)"
                      },
                      {
                        "#comment":"LightOn"
                      },
                      {
                        "#comment":"Glow effect scaled four times wide (XY only)"
                      }
                    ]
                  }
                }
              ]
            }
          },
          { "Transform":
            {
              "@DEF":"LightedBuoyStarboard",
              "@translation":[10.0,0.0,0.0],
              "-children":[
                { "ProtoInstance":
                  {
                    "@name":"LightedBuoy",
                    "fieldValue": [
                      {
                        "@name":"Catlam",
                        "@value":2
                      },
                      {
                        "@name":"LightType",
                        "@value":1
                      },
                      {
                        "@name":"LightGlow",
                        "@value":[1.0,1.0,1.0]
                      },
                      {
                        "@name":"Number",
                        "@value":0
                      }
                    ],
                    "-children":[
                      {
                        "#comment":"Red (Starboard)"
                      },
                      {
                        "#comment":"LightOn"
                      },
                      {
                        "#comment":"Glow effect scaled four times wide (XY only)"
                      }
                    ]
                  }
                }
              ]
            }
          },
          { "Transform":
            {
              "@DEF":"LightPort",
              "@translation":[-10.0,0.0,25.0],
              "-children":[
                { "ProtoInstance":
                  {
                    "@name":"Light",
                    "fieldValue": [
                      {
                        "@name":"Catlam",
                        "@value":1
                      },
                      {
                        "@name":"LightType",
                        "@value":1
                      },
                      {
                        "@name":"LightGlow",
                        "@value":[2.0,2.0,2.0]
                      },
                      {
                        "@name":"PileType",
                        "@value":1
                      },
                      {
                        "@name":"Number",
                        "@value":0
                      }
                    ],
                    "-children":[
                      {
                        "#comment":"Green (Port)"
                      },
                      {
                        "#comment":"LightOn"
                      },
                      {
                        "#comment":"Glow effect scaled four times wide (XY only)"
                      },
                      {
                        "#comment":"Single Pile"
                      }
                    ]
                  }
                }
              ]
            }
          },
          { "Transform":
            {
              "@DEF":"LightStarboard",
              "@translation":[10.0,0.0,25.0],
              "-children":[
                { "ProtoInstance":
                  {
                    "@name":"Light",
                    "fieldValue": [
                      {
                        "@name":"Catlam",
                        "@value":2
                      },
                      {
                        "@name":"LightType",
                        "@value":1
                      },
                      {
                        "@name":"LightGlow",
                        "@value":[2.0,2.0,2.0]
                      },
                      {
                        "@name":"PileType",
                        "@value":2
                      },
                      {
                        "@name":"Number",
                        "@value":0
                      }
                    ],
                    "-children":[
                      {
                        "#comment":"Red (Starboard)"
                      },
                      {
                        "#comment":"LightOn"
                      },
                      {
                        "#comment":"Glow effect scaled four times wide (XY only)"
                      },
                      {
                        "#comment":"Multi Pile"
                      }
                    ]
                  }
                }
              ]
            }
          }
        ]
    }
  }
}