{ "X3D": {
    "encoding":"UTF-8",
    "@profile":"Interchange",
    "@version":"3.3",
    "@xsd:noNamespaceSchemaLocation":"https://www.web3d.org/specifications/x3d-3.3.xsd",
    "JSON schema":"https://www.web3d.org/specifications/x3d-4.0-JSONSchema.autogenerated.json",
    "head": {
        "meta": [
          {
            "@name":"title",
            "@content":"Arches.x3d"
          },
          {
            "@name":"description",
            "@content":"Transform group example: gazebo made of arches. This example illustrates the use of Transform grouping nodes and their translation, rotation, and scale features."
          },
          {
            "@name":"creator",
            "@content":"David R. Nadeau"
          },
          {
            "@name":"translator",
            "@content":"Don Brutzman"
          },
          {
            "@name":"created",
            "@content":"1 July 1998"
          },
          {
            "@name":"translated",
            "@content":"2 February 2014"
          },
          {
            "@name":"modified",
            "@content":"20 October 2019"
          },
          {
            "@name":"reference",
            "@content":"originals/arches.wrl"
          },
          {
            "@name":"reference",
            "@content":"http://www.siggraph.org/s98"
          },
          {
            "@name":"reference",
            "@content":"http://www.siggraph.org/s98/conference/courses/18.html"
          },
          {
            "@name":"reference",
            "@content":"http://www.sdsc.edu/~moreland/courses/Siggraph98/vrml97/slides/mt0069.htm"
          },
          {
            "@name":"reference",
            "@content":"http://www.sdsc.edu/~moreland/courses/Siggraph98/vrml97/vrml97.htm"
          },
          {
            "@name":"reference",
            "@content":"https://www.web3d.org/x3d/content/examples/X3dResources.html"
          },
          {
            "@name":"identifier",
            "@content":"https://www.web3d.org/x3d/content/examples/Vrml2Sourcebook/Siggraph98Course/Arches.x3d"
          },
          {
            "@name":"generator",
            "@content":"Vrml97ToX3dNist, http://ovrt.nist.gov/v2_x3d.html"
          },
          {
            "@name":"generator",
            "@content":"X3D-Edit, https://www.web3d.org/x3d/tools/X3D-Edit"
          },
          {
            "@name":"license",
            "@content":"../license.html"
          },
          {
            "@name":"translated",
            "@content":"17 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":[
          {
            "#comment":"First, an Arch is created in a group. The Arch includes of left and right columns, each positioned using a Transform group and its translation field."
          },
          {
            "#comment":"Next, each Arch group includes a horizontal box spanning the two columns. The box is translated up to the top of the columns using a Transform group node."
          },
          {
            "#comment":"The angled top of each Arch is created using two boxes, each rotated about the Z axis to tilt them. A translation then positions the tilted boxes at the top of the archway."
          },
          {
            "#comment":"Next, the entire Arch group is instanced multiple times, rotating each instance to create a circle of archs forming a gazeebo-like structure."
          },
          {
            "#comment":"Finally a base for the structure is added."
          },
          { "WorldInfo":
            {
              "@title":"Arches.x3d"
            }
          },
          { "Transform":
            {
              "@DEF":"Arch",
              "-children":[
                { "Transform":
                  {
                    "@translation":[-2.0,-1.0,0.0],
                    "-children":[
                      { "Shape":
                        {
                          "@DEF":"Column",
                          "-appearance":
                            { "Appearance":
                              {
                                "@DEF":"White",
                                "-material":
                                  { "Material":
                                    {
                                    }
                                  }
                              }
                            },
                          "-geometry":
                            { "Cylinder":
                              {
                                "@bottom":false,
                                "@height":6.0,
                                "@radius":0.3,
                                "@top":false
                              }
                            }
                        }
                      }
                    ]
                  }
                },
                { "Transform":
                  {
                    "@translation":[2.0,-1.0,0.0],
                    "-children":[
                      { "Shape":
                        {
                          "@USE":"Column"
                        }
                      }
                    ]
                  }
                },
                { "Transform":
                  {
                    "@translation":[0.0,2.05,0.0],
                    "-children":[
                      { "Shape":
                        {
                          "-appearance":
                            { "Appearance":
                              {
                                "@USE":"White"
                              }
                            },
                          "-geometry":
                            { "Box":
                              {
                                "@size":[4.6,0.4,0.6]
                              }
                            }
                        }
                      }
                    ]
                  }
                },
                { "Transform":
                  {
                    "@rotation":[0.0,0.0,1.0,0.524],
                    "@translation":[-1.15,3.12,0.0],
                    "-children":[
                      { "Shape":
                        {
                          "@DEF":"Roof",
                          "-appearance":
                            { "Appearance":
                              {
                                "@USE":"White"
                              }
                            },
                          "-geometry":
                            { "Box":
                              {
                                "@size":[2.86,0.4,0.6]
                              }
                            }
                        }
                      }
                    ]
                  }
                },
                { "Transform":
                  {
                    "@rotation":[0.0,0.0,1.0,-0.524],
                    "@translation":[1.15,3.12,0.0],
                    "-children":[
                      { "Shape":
                        {
                          "@USE":"Roof"
                        }
                      }
                    ]
                  }
                }
              ]
            }
          },
          { "Transform":
            {
              "@rotation":[0.0,1.0,0.0,0.785],
              "-children":[
                { "Transform":
                  {
                    "@USE":"Arch"
                  }
                }
              ]
            }
          },
          { "Transform":
            {
              "@rotation":[0.0,1.0,0.0,-0.785],
              "-children":[
                { "Transform":
                  {
                    "@USE":"Arch"
                  }
                }
              ]
            }
          },
          { "Transform":
            {
              "@rotation":[0.0,1.0,0.0,1.571],
              "-children":[
                { "Transform":
                  {
                    "@USE":"Arch"
                  }
                }
              ]
            }
          },
          { "Transform":
            {
              "@translation":[0.0,-4.125,0.0],
              "-children":[
                { "Shape":
                  {
                    "-appearance":
                      { "Appearance":
                        {
                          "@USE":"White"
                        }
                      },
                    "-geometry":
                      { "Cylinder":
                        {
                          "@bottom":false,
                          "@height":0.25,
                          "@radius":3.0
                        }
                      }
                  }
                }
              ]
            }
          },
          { "Transform":
            {
              "@translation":[0.0,-4.375,0.0],
              "-children":[
                { "Shape":
                  {
                    "-appearance":
                      { "Appearance":
                        {
                          "@USE":"White"
                        }
                      },
                    "-geometry":
                      { "Cylinder":
                        {
                          "@height":0.25,
                          "@radius":4.0
                        }
                      }
                  }
                }
              ]
            }
          }
        ]
    }
  }
}