{ "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":"Tread.x3d"
          },
          {
            "@name":"description",
            "@content":"This file builds a stair tread (a marble slab) and decorations for the tread (a sphere and pyramid at either end). The tread is used in the larger example doorway.wrl"
          },
          {
            "@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":"Doorway.x3d"
          },
          {
            "@name":"reference",
            "@content":"originals/tread.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/mt0383.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/Tread.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":"01 September 2025"
          },
          {
            "@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":"Tread.x3d"
            }
          },
          { "Shape":
            {
              "-appearance":
                { "Appearance":
                  {
                    "-textureTransform":
                      { "TextureTransform":
                        {
                          "@scale":[0.25,0.25]
                        }
                      },
                    "-material":
                      { "Material":
                        {
                          "@diffuseColor":[1.0,1.0,1.0]
                        }
                      },
                    "-texture":
                      { "ImageTexture":
                        {
                          "@url":["granit_g.jpg","https://www.web3d.org/x3d/content/examples/Vrml2Sourcebook/Siggraph98Course/granit_g.jpg"]
                        }
                      }
                  }
                },
              "-geometry":
                { "Box":
                  {
                    "@size":[10.0,0.4,2.0]
                  }
                }
            }
          },
          { "Transform":
            {
              "@translation":[-4.0,1.0,0.0],
              "-children":[
                { "Shape":
                  {
                    "@DEF":"Ball",
                    "-appearance":
                      { "Appearance":
                        {
                          "-material":
                            { "Material":
                              {
                                "@ambientIntensity":0.0,
                                "@diffuseColor":[1.0,1.0,1.0],
                                "@specularColor":[0.7,0.7,0.7]
                              }
                            },
                          "-texture":
                            { "ImageTexture":
                              {
                                "@DEF":"Marble",
                                "@url":["marble_g.jpg","https://www.web3d.org/x3d/content/examples/Vrml2Sourcebook/Siggraph98Course/marble_g.jpg"]
                              }
                            }
                        }
                      },
                    "-geometry":
                      { "Sphere":
                        {
                        }
                      }
                  }
                }
              ]
            }
          },
          { "Transform":
            {
              "@translation":[-4.0,2.0,0.0],
              "-children":[
                { "Shape":
                  {
                    "@DEF":"Pyramid",
                    "-appearance":
                      { "Appearance":
                        {
                          "-material":
                            { "Material":
                              {
                                "@ambientIntensity":0.0,
                                "@diffuseColor":[1.0,1.0,1.0],
                                "@specularColor":[0.7,0.7,0.7]
                              }
                            },
                          "-texture":
                            { "ImageTexture":
                              {
                                "@USE":"Marble"
                              }
                            }
                        }
                      },
                    "-geometry":
                      { "IndexedFaceSet":
                        {
                          "@coordIndex":[0,3,2,1,-1,0,1,4,-1,1,2,4,-1,2,3,4,-1,3,0,4,-1],
                          "@texCoordIndex":[3,4,5,6,-1,0,1,2,-1,0,1,2,-1,0,1,2,-1,0,1,2,-1],
                          "-texCoord":
                            { "TextureCoordinate":
                              {
                                "@point":[0.0,0.2,1.0,0.2,0.5,1.0,0.0,0.0,1.0,0.0,1.0,1.0,0.0,1.0]
                              }
                            },
                          "-coord":
                            { "Coordinate":
                              {
                                "@point":[-0.8,0.0,0.8,0.8,0.0,0.8,0.8,0.0,-0.8,-0.8,0.0,-0.8,0.0,4.0,0.0]
                              }
                            }
                        }
                      }
                  }
                }
              ]
            }
          },
          { "Transform":
            {
              "@translation":[4.0,1.0,0.0],
              "-children":[
                { "Shape":
                  {
                    "@USE":"Ball"
                  }
                }
              ]
            }
          },
          { "Transform":
            {
              "@translation":[4.0,2.0,0.0],
              "-children":[
                { "Shape":
                  {
                    "@USE":"Pyramid"
                  }
                }
              ]
            }
          }
        ]
    }
  }
}