{ "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":"DicassExample.x3d"
          },
          {
            "@name":"description",
            "@content":"AN/SSQ-62B/C/D/E Directional Command Activated Sonobuoy System (DICASS) Sonobuoy"
          },
          {
            "@name":"coordinateSystem",
            "@content":"x=East, z=North, y=Up"
          },
          {
            "@name":"creator",
            "@content":"Don Brutzman"
          },
          {
            "@name":"created",
            "@content":"30 January 2003"
          },
          {
            "@name":"modified",
            "@content":"20 October 2019"
          },
          {
            "@name":"warning",
            "@content":"under development, updating script code to X3D"
          },
          {
            "@name":"reference",
            "@content":"DICASS-an-ssq-62.pdf"
          },
          {
            "@name":"reference",
            "@content":"https://www.fas.org/man/dod-101/sys/ship/weaps/an-ssq-62.htm"
          },
          {
            "@name":"reference",
            "@content":"NAVY TRAINING SYSTEM PLAN FOR THE NAVY CONSOLIDATED SONOBUOYS N88-NTSP-A-50-8910B/A SEPTEMBER 1998"
          },
          {
            "@name":"reference",
            "@content":"ntsp-Sonobuoy.pdf"
          },
          {
            "@name":"reference",
            "@content":"https://www.fas.org/man/dod-101/sys/ship/weaps/docs/ntsp-Sonobuoy.pdf"
          },
          {
            "@name":"reference",
            "@content":"http://www.avtechtra.navy.mil/pdf/Sonobuoys_a.PDF"
          },
          {
            "@name":"reference",
            "@content":"http://www.ultra-scs.com/sonobuoys/dicass.htm"
          },
          {
            "@name":"reference",
            "@content":"http://www.ultra-ussg.com/company/sonobuoy_history.cfm"
          },
          {
            "@name":"subject",
            "@content":"DICASS sonobuoy"
          },
          {
            "@name":"identifier",
            "@content":"https://www.web3d.org/x3d/content/examples/Savage/CommunicationsAndSensors/Sonobuoys/DicassExample.x3d"
          },
          {
            "@name":"generator",
            "@content":"X3D-Edit 3.3, https://www.web3d.org/x3d/tools/X3D-Edit"
          },
          {
            "@name":"license",
            "@content":"../../license.html"
          },
          {
            "@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":"DicassExample.x3d"
            }
          },
          { "ExternProtoDeclare":
            {
              "@name":"DICASS",
              "@appinfo":"AN/SSQ-62B/C/D/E Directional Command Activated Sonobuoy System (DICASS) Sonobuoy",
              "@url":["DicassPrototype.x3d#DICASS","https://www.web3d.org/x3d/content/examples/Savage/CommunicationsAndSensors/Sonobuoys/DicassPrototype.x3d#DICASS","DicassPrototype.wrl#DICASS","https://www.web3d.org/x3d/content/examples/Savage/CommunicationsAndSensors/Sonobuoys/DicassPrototype.wrl#DICASS"],
              "field": [
                {
                  "@name":"ID",
                  "@accessType":"inputOutput",
                  "@appinfo":"identifier label for this buoy",
                  "@type":"MFString"
                },
                {
                  "@name":"version",
                  "@accessType":"initializeOnly",
                  "@appinfo":"default value: AN/SSQ-62B",
                  "@type":"SFString"
                },
                {
                  "@name":"initialPositionXZ",
                  "@accessType":"initializeOnly",
                  "@appinfo":"local surface coordinates X=North Z=East",
                  "@type":"SFVec2f"
                },
                {
                  "@name":"orderedPositionXZ",
                  "@accessType":"inputOnly",
                  "@appinfo":"local surface coordinates X=North Z=East",
                  "@type":"SFVec2f"
                },
                {
                  "@name":"initialDepth",
                  "@accessType":"initializeOnly",
                  "@appinfo":"meters depth use negative numbers for subsurface",
                  "@type":"SFFloat"
                },
                {
                  "@name":"orderedDepth",
                  "@accessType":"inputOnly",
                  "@appinfo":"meters depth use negative numbers for subsurface",
                  "@type":"SFFloat"
                },
                {
                  "@name":"bindViewpoint",
                  "@accessType":"inputOnly",
                  "@appinfo":"trigger event to bind/unbind viewpoint",
                  "@type":"SFBool"
                },
                {
                  "@name":"location_changed",
                  "@accessType":"outputOnly",
                  "@appinfo":"local coordinates X=North Y=altitude Z=East",
                  "@type":"SFVec3f"
                },
                {
                  "@name":"maxRange",
                  "@accessType":"initializeOnly",
                  "@appinfo":"maximum audible sonar detection range meters",
                  "@type":"SFFloat"
                },
                {
                  "@name":"pingDuration",
                  "@accessType":"outputOnly",
                  "@appinfo":"pingDuration corresponds to maxRange at 1500m/sec sound speed",
                  "@type":"SFTime"
                },
                {
                  "@name":"soundSpeed",
                  "@accessType":"initializeOnly",
                  "@appinfo":"in-water sound speed m/s, default value 1500",
                  "@documentation":"https://en.wikipedia.org/wiki/Speed_of_sound#Seawater",
                  "@type":"SFFloat"
                },
                {
                  "@name":"startPing",
                  "@accessType":"inputOnly",
                  "@appinfo":"trigger event to start single ping",
                  "@type":"SFBool"
                },
                {
                  "@name":"startContinuousPings",
                  "@accessType":"inputOnly",
                  "@appinfo":"trigger event to start continuous ping sequence",
                  "@type":"SFBool"
                },
                {
                  "@name":"linkText",
                  "@accessType":"inputOutput",
                  "@appinfo":"Can add linkable text for further information",
                  "@type":"MFString"
                },
                {
                  "@name":"linkUrl",
                  "@accessType":"inputOutput",
                  "@appinfo":"url for linkable text",
                  "@type":"MFString"
                },
                {
                  "@name":"linkTargetWindow",
                  "@accessType":"inputOutput",
                  "@appinfo":"target window for linkable text",
                  "@type":"MFString"
                }
              ]
            }
          },
          {
            "#comment":"Rendered scene begins here"
          },
          { "Background":
            {
              "@DEF":"AquaTealBackground",
              "@groundColor":[0.0,0.25,0.25],
              "@skyColor":[0,1,1]
            }
          },
          { "NavigationInfo":
            {
              "@speed":100,
              "@type":["EXAMINE","FLY","ANY"]
            }
          },
          { "ProtoInstance":
            {
              "@name":"DICASS",
              "@DEF":"DicassExample",
              "fieldValue": [
                {
                  "@name":"ID",
                  "@value":["DicassExample"]
                },
                {
                  "@name":"initialPositionXZ",
                  "@value":[0,0]
                },
                {
                  "@name":"initialDepth",
                  "@value":-1
                },
                {
                  "@name":"linkText",
                  "@value":["click for online SAVAGE Archive"]
                },
                {
                  "@name":"linkUrl",
                  "@value":["https://www.web3d.org/x3d/content/examples/Savage/CommunicationsAndSensors/Sonobuoys/index.html"]
                },
                {
                  "@name":"linkTargetWindow",
                  "@value":["target=_blank"]
                }
              ]
            }
          },
          {
            "#comment":"Interface to test DICASS buoy"
          },
          { "Transform":
            {
              "@translation":[0,0,2000],
              "-children":[
                { "Viewpoint":
                  {
                    "@description":"DICASS 2 km"
                  }
                },
                { "Transform":
                  {
                    "@translation":[-3.5,-3,0],
                    "-children":[
                      { "Shape":
                        {
                          "-geometry":
                            { "Text":
                              {
                                "@string":["single ping"],
                                "-fontStyle":
                                  { "FontStyle":
                                    {
                                      "@justify":["MIDDLE","MIDDLE"],
                                      "@size":0.9
                                    }
                                  }
                              }
                            },
                          "-appearance":
                            { "Appearance":
                              {
                                "-material":
                                  { "Material":
                                    {
                                      "@DEF":"InterfaceMaterial",
                                      "@diffuseColor":[0.8,0.5,0.1]
                                    }
                                  }
                              }
                            }
                        }
                      },
                      { "TouchSensor":
                        {
                          "@DEF":"SinglePingTouch",
                          "@description":"Single Ping TouchSensor"
                        }
                      },
                      { "ROUTE":
                        {
                          "@fromField":"isActive",
                          "@fromNode":"SinglePingTouch",
                          "@toField":"startPing",
                          "@toNode":"DicassExample"
                        }
                      }
                    ]
                  }
                },
                { "Transform":
                  {
                    "@translation":[2.5,-3,0],
                    "-children":[
                      { "Shape":
                        {
                          "-geometry":
                            { "Text":
                              {
                                "@string":["continuous pings"],
                                "-fontStyle":
                                  { "FontStyle":
                                    {
                                      "@justify":["MIDDLE","MIDDLE"],
                                      "@size":0.9
                                    }
                                  }
                              }
                            },
                          "-appearance":
                            { "Appearance":
                              {
                                "-material":
                                  { "Material":
                                    {
                                      "@USE":"InterfaceMaterial"
                                    }
                                  }
                              }
                            }
                        }
                      },
                      { "TouchSensor":
                        {
                          "@DEF":"ContinuousPingTouch",
                          "@description":"Continuous Ping TouchSensor"
                        }
                      },
                      { "ROUTE":
                        {
                          "@fromField":"isActive",
                          "@fromNode":"ContinuousPingTouch",
                          "@toField":"startContinuousPings",
                          "@toNode":"DicassExample"
                        }
                      }
                    ]
                  }
                }
              ]
            }
          }
        ]
    }
  }
}