{ "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":"WellDeck.x3d"
          },
          {
            "@name":"creator",
            "@content":"LT Patricia Sweat USN"
          },
          {
            "@name":"description",
            "@content":"Large Deck Amphibious Ship: USS BOXER (LHD 4)"
          },
          {
            "@name":"identifier",
            "@content":"https://www.web3d.org/x3d/content/examples/Savage/ShipsMilitary/LargeDeckAmphibBoxerUnitedStates/WellDeck.x3d"
          },
          {
            "@name":"created",
            "@content":"20 August 2004"
          },
          {
            "@name":"modified",
            "@content":"28 January 2024"
          },
          {
            "@name":"generator",
            "@content":"X3D-Edit 3.2, https://www.web3d.org/x3d/tools/X3D-Edit"
          },
          {
            "@name":"license",
            "@content":"../../license.html"
          },
          {
            "@name":"translated",
            "@content":"26 March 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":"WellDeck.x3d"
            }
          },
          { "Viewpoint":
            {
              "@description":"Sterngate",
              "@orientation":[0.58,-0.64,-0.504,2.3848],
              "@position":[-58.6,14.8,-28.4]
            }
          },
          { "Transform":
            {
              "@rotation":[0,0,1,1]
            }
          },
          { "Group":
            {
              "@DEF":"Patty_Sweat",
              "-children":[
                { "Transform":
                  {
                    "@DEF":"WellDeck_Open",
                    "-children":[
                      { "CylinderSensor":
                        {
                          "@DEF":"WellDoorSensor1",
                          "@description":"click and drag to rotate",
                          "@maxAngle":1.57
                        }
                      },
                      { "Transform":
                        {
                          "-children":[
                            { "Transform":
                              {
                                "@DEF":"WellDoorTransform1",
                                "-children":[
                                  { "Shape":
                                    {
                                      "-geometry":
                                        { "Extrusion":
                                          {
                                            "@crossSection":[-16.5,-10,16.5,-10,11.5,-21,-11.5,-21,-16.5,-10],
                                            "@scale":[1,1,1,1],
                                            "@spine":[-0.4,5,0,0.1,5,0]
                                          }
                                        },
                                      "-appearance":
                                        { "Appearance":
                                          {
                                            "-material":
                                              { "Material":
                                                {
                                                  "@DEF":"GREY",
                                                  "@ambientIntensity":1,
                                                  "@diffuseColor":[0.8,0.8,0.8]
                                                }
                                              }
                                          }
                                        }
                                    }
                                  }
                                ]
                              }
                            }
                          ]
                        }
                      }
                    ]
                  }
                },
                { "ROUTE":
                  {
                    "@fromField":"rotation_changed",
                    "@fromNode":"WellDoorSensor1",
                    "@toField":"set_rotation",
                    "@toNode":"WellDoorTransform1"
                  }
                },
                { "Transform":
                  {
                    "-children":[
                      { "CylinderSensor":
                        {
                          "@DEF":"WellDoorSensor",
                          "@description":"click and drag to rotate",
                          "@maxAngle":1.57
                        }
                      },
                      { "Transform":
                        {
                          "@DEF":"WellDoorTransform",
                          "-children":[
                            { "Transform":
                              {
                                "-children":[
                                  { "Shape":
                                    {
                                      "-geometry":
                                        { "Extrusion":
                                          {
                                            "@creaseAngle":0.7,
                                            "@crossSection":[-21.3,0,0,0,21.3,0,16.5,-10,-16.5,-10,-21.3,0],
                                            "@scale":[1,1,1,1],
                                            "@solid":false,
                                            "@spine":[-0.4,5,0,0.1,5,0]
                                          }
                                        },
                                      "-appearance":
                                        { "Appearance":
                                          {
                                            "-material":
                                              { "Material":
                                                {
                                                  "@diffuseColor":[1,0,0]
                                                }
                                              }
                                          }
                                        }
                                    }
                                  }
                                ]
                              }
                            }
                          ]
                        }
                      }
                    ]
                  }
                },
                { "ROUTE":
                  {
                    "@fromField":"rotation_changed",
                    "@fromNode":"WellDoorSensor",
                    "@toField":"set_rotation",
                    "@toNode":"WellDoorTransform"
                  }
                }
              ]
            }
          },
          { "ExternProtoDeclare":
            {
              "@name":"ViewPositionOrientation",
              "@appinfo":"ViewPositionOrientation provides provides console output of local position and orientation as user navigates",
              "@url":["../../../Savage/Tools/Authoring/ViewPositionOrientationPrototype.x3d#ViewPositionOrientation","https://www.web3d.org/x3d/content/examples/Savage/Tools/Authoring/ViewPositionOrientationPrototype.x3d#ViewPositionOrientation","../../../Savage/Tools/Authoring/ViewPositionOrientationPrototype.wrl#ViewPositionOrientation","https://www.web3d.org/x3d/content/examples/Savage/Tools/Authoring/ViewPositionOrientationPrototype.wrl#ViewPositionOrientation"],
              "field": [
                {
                  "@name":"enabled",
                  "@accessType":"inputOutput",
                  "@appinfo":"Whether or not ViewPositionOrientation sends output to console.",
                  "@type":"SFBool"
                },
                {
                  "@name":"traceEnabled",
                  "@accessType":"initializeOnly",
                  "@appinfo":"Output internal trace messages for debugging this node - developer use only can be ignored.",
                  "@type":"SFBool"
                },
                {
                  "@name":"set_traceEnabled",
                  "@accessType":"inputOnly",
                  "@appinfo":"Ability to turn output tracing on/off at runtime.",
                  "@type":"SFBool"
                },
                {
                  "@name":"position_changed",
                  "@accessType":"outputOnly",
                  "@appinfo":"Output local position.",
                  "@type":"SFVec3f"
                },
                {
                  "@name":"orientation_changed",
                  "@accessType":"outputOnly",
                  "@appinfo":"Output local orientation.",
                  "@type":"SFRotation"
                },
                {
                  "@name":"outputViewpointString",
                  "@accessType":"outputOnly",
                  "@appinfo":"MFString value of new Viewpoint",
                  "@type":"MFString"
                }
              ]
            }
          },
          { "ProtoInstance":
            {
              "@name":"ViewPositionOrientation",
              "@DEF":"ConsoleOutputViewPositionOrientation",
              "fieldValue": [
                {
                  "@name":"enabled",
                  "@value":false
                }
              ]
            }
          }
        ]
    }
  }
}