{ "X3D": {
    "encoding":"UTF-8",
    "@profile":"Immersive",
    "@version":"3.2",
    "@xsd:noNamespaceSchemaLocation":"https://www.web3d.org/specifications/x3d-3.2.xsd",
    "JSON schema":"https://www.web3d.org/specifications/x3d-4.0-JSONSchema.autogenerated.json",
    "head": {
        "component": [
          {
            "@name":"Navigation",
            "@level":3
          }
        ],
        "meta": [
          {
            "@name":"title",
            "@content":"ViewpointGroupTest.x3d"
          },
          {
            "@name":"description",
            "@content":"Test browser support for ViewpointGroup node"
          },
          {
            "@name":"created",
            "@content":"28 February 2009"
          },
          {
            "@name":"modified",
            "@content":"20 October 2019"
          },
          {
            "@name":"creator",
            "@content":"Don Brutzman"
          },
          {
            "@name":"identifier",
            "@content":"https://www.web3d.org/x3d/content/examples/Basic/development/ViewpointGroupTest.x3d"
          },
          {
            "@name":"generator",
            "@content":"X3D-Edit 3.3, https://www.web3d.org/x3d/tools/X3D-Edit"
          },
          {
            "@name":"license",
            "@content":"../license.html"
          },
          {
            "@name":"translated",
            "@content":"20 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":"ViewpointGroupTest.x3d"
            }
          },
          { "Viewpoint":
            {
              "@description":"Entry view 10m"
            }
          },
          { "ViewpointGroup":
            {
              "@description":"Side views",
              "-children":[
                { "Viewpoint":
                  {
                    "@description":"Side view 8m",
                    "@position":[0,0,8]
                  }
                },
                { "Viewpoint":
                  {
                    "@description":"Side view 4m",
                    "@position":[0,0,4]
                  }
                }
              ]
            }
          },
          { "ViewpointGroup":
            {
              "@description":"Top views",
              "-children":[
                { "ViewpointGroup":
                  {
                    "@description":"Nested ViewpointGroup",
                    "-children":[
                      { "Viewpoint":
                        {
                          "@description":"Top down 8m",
                          "@orientation":[1,0,0,-1.57],
                          "@position":[0,8,0]
                        }
                      },
                      { "Viewpoint":
                        {
                          "@description":"Top down 4m",
                          "@orientation":[1,0,0,-1.57],
                          "@position":[0,4,0]
                        }
                      }
                    ]
                  }
                }
              ]
            }
          },
          { "Transform":
            {
              "@translation":[0,-1.5,0],
              "-children":[
                { "Shape":
                  {
                    "-geometry":
                      { "Text":
                        {
                          "@string":["Check viewpoint list for","nested ViewpointGroup entries"],
                          "-fontStyle":
                            { "FontStyle":
                              {
                                "@justify":["MIDDLE","MIDDLE"]
                              }
                            }
                        }
                      },
                    "-appearance":
                      { "Appearance":
                        {
                          "-material":
                            { "Material":
                              {
                                "@diffuseColor":[0.3,0.6,0.9]
                              }
                            }
                        }
                      }
                  }
                }
              ]
            }
          },
          { "Transform":
            {
              "@translation":[0,1.5,0],
              "-children":[
                { "Shape":
                  {
                    "-geometry":
                      { "Cylinder":
                        {
                        }
                      },
                    "-appearance":
                      { "Appearance":
                        {
                          "-material":
                            { "Material":
                              {
                                "@diffuseColor":[0.9,0.6,0.3]
                              }
                            }
                        }
                      }
                  }
                }
              ]
            }
          }
        ]
    }
  }
}