{ "X3D": {
    "encoding":"UTF-8",
    "@profile":"Immersive",
    "@version":"3.0",
    "@xsd:noNamespaceSchemaLocation":"http://www.web3d.org/specifications/x3d-3.0.xsd",
    "JSON schema":"http://www.web3d.org/specifications/x3d-3.3-JSONSchema.json",
    "head": {
        "meta": [
          {
            "@name":"title",
            "@content":"Figure28.2AnchorLoadAnotherWorld.x3d"
          },
          {
            "@name":"creator",
            "@content":"Figure 28.2, The VRML 2.0 Sourcebook, Copyright [1997] By Andrea L. Ames, David R. Nadeau, and John L. Moreland"
          },
          {
            "@name":"reference",
            "@content":"http://www.wiley.com/legacy/compbooks/vrml2sbk/ch28/28fig02.htm"
          },
          {
            "@name":"translator",
            "@content":"Don Brutzman"
          },
          {
            "@name":"created",
            "@content":"6 October 2000"
          },
          {
            "@name":"modified",
            "@content":"15 January 2011"
          },
          {
            "@name":"description",
            "@content":"Anchor parameter/target demonstrations: click left text to load another scene in the same window, or click right text to load another scene in a new window."
          },
          {
            "@name":"identifier",
            "@content":"http://www.web3d.org/x3d/content/examples/Vrml2Sourcebook/Chapter28-Anchor/Figure28.2AnchorLoadAnotherWorld.x3d"
          },
          {
            "@name":"generator",
            "@content":"X3D-Edit 3.3, https://savage.nps.edu/X3D-Edit"
          },
          {
            "@name":"license",
            "@content":"../../license.html"
          },
          {
            "@name":"translated",
            "@content":"19 March 2017"
          },
          {
            "@name":"generator",
            "@content":"X3dToJson.xslt, http://www.web3d.org/x3d/stylesheets/X3dToJson.html"
          },
          {
            "@name":"warning",
            "@content":"An experimental version of X3D JSON encoding is used for this scene.  Status online at http://www.web3d.org/wiki/index.php/X3D_JSON_Encoding"
          }
        ]
    },
    "Scene": {
        "-children":[
          { "Viewpoint":
            {
              "@description":"Forward view",
              "@position":[0,1.6,5]
            }
          },
          { "Viewpoint":
            {
              "@DEF":"RIGHT_CORNER_DEF_NAME",
              "@description":"Right corner view",
              "@orientation":[0,1,0,0.611],
              "@position":[3.5,1.6,3.5]
            }
          },
          { "Viewpoint":
            {
              "@DEF":"LEFT_CORNER_DEF_NAME",
              "@description":"Left corner view",
              "@orientation":[0,1,0,-0.611],
              "@position":[-3.5,1.6,3.5]
            }
          },
          { "NavigationInfo":
            {
              "@avatarSize":[2,1,0.5],
              "@headlight":false,
              "@speed":2,
              "@type":["EXAMINE","WALK","ANY"]
            }
          },
          { "Inline":
            {
              "@url":["../Chapter25-LevelOfDetail/Figure25.12DungeonRoomsWithSlidingDoors.x3d","http://www.web3d.org/x3d/content/examples/Vrml2Sourcebook/Chapter25-LevelOfDetail/Figure25.12DungeonRoomsWithSlidingDoors.x3d","../Chapter25-LevelOfDetail/Figure25.12DungeonRoomsWithSlidingDoors.wrl","http://www.web3d.org/x3d/content/examples/Vrml2Sourcebook/Chapter25-LevelOfDetail/Figure25.12DungeonRoomsWithSlidingDoors.wrl"]
            }
          },
          { "Anchor":
            {
              "@description":"Replace this scene by loading a new world",
              "@url":["../../Basic/course/HelloX3dAuthors.x3d","http://www.web3d.org/x3d/content/examples/Basic/course/HelloX3dAuthors.x3d","../../Basic/course/HelloX3dAuthors.wrl","http://www.web3d.org/x3d/content/examples/Basic/course/HelloX3dAuthors.wrl"],
              "-children":[
                { "Transform":
                  {
                    "@translation":[-1.75,0.6,0.15],
                    "-children":[
                      { "Collision":
                        {
                          "@enabled":false,
                          "-children":[
                            { "Shape":
                              {
                                "-geometry":
                                  { "Text":
                                    {
                                      "@string":["Click for","new world in","same window"],
                                      "-fontStyle":
                                        { "FontStyle":
                                          {
                                            "@DEF":"TextFontStyle",
                                            "@justify":["MIDDLE","MIDDLE"],
                                            "@size":0.2
                                          }
                                        }
                                    }
                                  },
                                "-appearance":
                                  { "Appearance":
                                    {
                                      "@DEF":"TextAppearance",
                                      "-material":
                                        { "Material":
                                          {
                                            "@diffuseColor":[0.1,0.8,0.8],
                                            "@emissiveColor":[0,0.4,0.4],
                                            "@shininess":0.4,
                                            "@specularColor":[0.8,0.8,0.8]
                                          }
                                        }
                                    }
                                  }
                              }
                            },
                            { "Transform":
                              {
                                "@DEF":"BackingBoxForText",
                                "@translation":[0,-0.175,-0.1],
                                "-children":[
                                  { "Shape":
                                    {
                                      "-geometry":
                                        { "Box":
                                          {
                                            "@size":[1.2,0.75,0.02]
                                          }
                                        },
                                      "-appearance":
                                        { "Appearance":
                                          {
                                            "-material":
                                              { "Material":
                                                {
                                                  "@diffuseColor":[0.9,0.9,0.9],
                                                  "@emissiveColor":[0.9,0.9,0.9]
                                                }
                                              }
                                          }
                                        }
                                    }
                                  }
                                ]
                              }
                            }
                          ]
                        }
                      }
                    ]
                  }
                }
              ]
            }
          },
          {
            "#comment":"Anchor parameter target=_blank launches browser results into a new window"
          },
          { "Anchor":
            {
              "@description":"Pop up a new world in a different window",
              "@parameter":["target=_blank"],
              "@url":["../../Basic/course/HelloX3dAuthors.x3d","http://www.web3d.org/x3d/content/examples/Basic/course/HelloX3dAuthors.x3d","../../Basic/course/HelloX3dAuthors.wrl","http://www.web3d.org/x3d/content/examples/Basic/course/HelloX3dAuthors.wrl"],
              "-children":[
                { "Transform":
                  {
                    "@translation":[1.75,0.6,0.15],
                    "-children":[
                      { "Collision":
                        {
                          "@enabled":false,
                          "-children":[
                            { "Shape":
                              {
                                "-geometry":
                                  { "Text":
                                    {
                                      "@string":["Click for","new world in","new window"],
                                      "-fontStyle":
                                        { "FontStyle":
                                          {
                                            "@USE":"TextFontStyle"
                                          }
                                        }
                                    }
                                  },
                                "-appearance":
                                  { "Appearance":
                                    {
                                      "@USE":"TextAppearance"
                                    }
                                  }
                              }
                            },
                            { "Transform":
                              {
                                "@USE":"BackingBoxForText"
                              }
                            }
                          ]
                        }
                      }
                    ]
                  }
                }
              ]
            }
          }
        ]
    }
  }
}