{ "X3D": {
    "encoding":"UTF-8",
    "@profile":"Interchange",
    "@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":"GolfRange.x3d"
          },
          {
            "@name":"description",
            "@content":"Display two practice ranges for golf"
          },
          {
            "@name":"creator",
            "@content":"Ms Ng, Hwee Ping"
          },
          {
            "@name":"created",
            "@content":"6 September 2004"
          },
          {
            "@name":"modified",
            "@content":"20 October 2019"
          },
          {
            "@name":"identifier",
            "@content":"https://www.web3d.org/x3d/content/examples/Savage/Buildings/ZenCondominium/GolfRange.x3d"
          },
          {
            "@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":"GolfRange.x3d"
            }
          },
          { "Group":
            {
              "@DEF":"Range",
              "-children":[
                { "Transform":
                  {
                    "@translation":[0,0,-10],
                    "-children":[
                      { "Shape":
                        {
                          "-geometry":
                            { "Box":
                              {
                                "@size":[10,0.1,8]
                              }
                            },
                          "-appearance":
                            { "Appearance":
                              {
                                "-material":
                                  { "Material":
                                    {
                                      "@diffuseColor":[0.6,0,0],
                                      "@transparency":0.1
                                    }
                                  },
                                "-texture":
                                  { "ImageTexture":
                                    {
                                      "@url":["grass_1.jpg","https://www.web3d.org/x3d/content/examples/Savage/Buildings/ZenCondominium/grass_1.jpg"]
                                    }
                                  }
                              }
                            }
                        }
                      }
                    ]
                  }
                },
                { "Transform":
                  {
                    "@translation":[0,3,-6],
                    "-children":[
                      { "Group":
                        {
                          "@DEF":"Golf_Gate_Breadth",
                          "-children":[
                            { "Shape":
                              {
                                "-appearance":
                                  { "Appearance":
                                    {
                                      "-children":[
                                        {
                                          "#comment":"no material, use emissive texturing. Not really a video, just a .jpg image."
                                        }
                                      ],
                                      "-texture":
                                        { "ImageTexture":
                                          {
                                            "@DEF":"Grill_Material",
                                            "@url":["grill.png","https://www.web3d.org/x3d/content/examples/Savage/Buildings/ZenCondominium/grill.png"]
                                          }
                                        },
                                      "-textureTransform":
                                        { "TextureTransform":
                                          {
                                            "@center":[0.5,0.5],
                                            "@rotation":0.785,
                                            "@scale":[32,8]
                                          }
                                        }
                                    }
                                  },
                                "-geometry":
                                  { "IndexedFaceSet":
                                    {
                                      "@coordIndex":[0,1,2,3],
                                      "@solid":false,
                                      "@texCoordIndex":[0,1,2,3],
                                      "-coord":
                                        { "Coordinate":
                                          {
                                            "@point":[-5,-3,0.1,5,-3,0.1,5,3,0.1,-5,3,0.1]
                                          }
                                        },
                                      "-texCoord":
                                        { "TextureCoordinate":
                                          {
                                            "@point":[0,0,1,0,1,1,0,1]
                                          }
                                        }
                                    }
                                  }
                              }
                            },
                            { "Shape":
                              {
                                "@DEF":"Post",
                                "-geometry":
                                  { "Cylinder":
                                    {
                                      "@height":6,
                                      "@radius":0.1
                                    }
                                  }
                              }
                            },
                            { "Transform":
                              {
                                "@translation":[-5,0,0],
                                "-children":[
                                  { "Shape":
                                    {
                                      "@USE":"Post"
                                    }
                                  }
                                ]
                              }
                            },
                            { "Transform":
                              {
                                "@translation":[5,0,0],
                                "-children":[
                                  { "Shape":
                                    {
                                      "@USE":"Post"
                                    }
                                  }
                                ]
                              }
                            }
                          ]
                        }
                      }
                    ]
                  }
                },
                { "Transform":
                  {
                    "@translation":[0,3,-14],
                    "-children":[
                      { "Group":
                        {
                          "@USE":"Golf_Gate_Breadth"
                        }
                      }
                    ]
                  }
                },
                { "Transform":
                  {
                    "@rotation":[0,1,0,-1.57],
                    "@translation":[-5,3,-10],
                    "-children":[
                      { "Group":
                        {
                          "@DEF":"Golf_Gate_Length",
                          "-children":[
                            { "Shape":
                              {
                                "-appearance":
                                  { "Appearance":
                                    {
                                      "-children":[
                                        {
                                          "#comment":"no material, use emissive texturing. Not really a video, just a .jpg image."
                                        }
                                      ],
                                      "-texture":
                                        { "ImageTexture":
                                          {
                                            "@USE":"Grill_Material"
                                          }
                                        },
                                      "-textureTransform":
                                        { "TextureTransform":
                                          {
                                            "@center":[0.5,0.5],
                                            "@rotation":0.785,
                                            "@scale":[32,8]
                                          }
                                        }
                                    }
                                  },
                                "-geometry":
                                  { "IndexedFaceSet":
                                    {
                                      "@DEF":"Screen",
                                      "@coordIndex":[0,1,2,3],
                                      "@solid":false,
                                      "@texCoordIndex":[0,1,2,3],
                                      "-coord":
                                        { "Coordinate":
                                          {
                                            "@point":[-4,-3,0.1,4,-3,0.1,4,3,0.1,-4,3,0.1]
                                          }
                                        },
                                      "-texCoord":
                                        { "TextureCoordinate":
                                          {
                                            "@point":[0,0,1,0,1,1,0,1]
                                          }
                                        }
                                    }
                                  }
                              }
                            },
                            { "Transform":
                              {
                                "@translation":[-4,0,0],
                                "-children":[
                                  { "Shape":
                                    {
                                      "@USE":"Post"
                                    }
                                  }
                                ]
                              }
                            },
                            { "Transform":
                              {
                                "@translation":[4,0,0],
                                "-children":[
                                  { "Shape":
                                    {
                                      "@USE":"Post"
                                    }
                                  }
                                ]
                              }
                            },
                            { "Transform":
                              {
                                "@translation":[-2.5,0,0],
                                "-children":[
                                  { "Shape":
                                    {
                                      "@USE":"Post"
                                    }
                                  }
                                ]
                              }
                            },
                            { "Transform":
                              {
                                "@translation":[2.5,0,0],
                                "-children":[
                                  { "Shape":
                                    {
                                      "@USE":"Post"
                                    }
                                  }
                                ]
                              }
                            }
                          ]
                        }
                      }
                    ]
                  }
                },
                { "Transform":
                  {
                    "@rotation":[1,0,0,1.57],
                    "@translation":[0,6,-10],
                    "-children":[
                      { "Group":
                        {
                          "@DEF":"Golf_Gate_Top",
                          "-children":[
                            { "Shape":
                              {
                                "-appearance":
                                  { "Appearance":
                                    {
                                      "-children":[
                                        {
                                          "#comment":"no material, use emissive texturing. Not really a video, just a .jpg image."
                                        }
                                      ],
                                      "-texture":
                                        { "ImageTexture":
                                          {
                                            "@USE":"Grill_Material"
                                          }
                                        },
                                      "-textureTransform":
                                        { "TextureTransform":
                                          {
                                            "@center":[0.5,0.5],
                                            "@rotation":0.785,
                                            "@scale":[32,8]
                                          }
                                        }
                                    }
                                  },
                                "-geometry":
                                  { "IndexedFaceSet":
                                    {
                                      "@coordIndex":[0,1,2,3],
                                      "@solid":false,
                                      "@texCoordIndex":[0,1,2,3],
                                      "-coord":
                                        { "Coordinate":
                                          {
                                            "@point":[-5,-4,0.1,5,-4,0.1,5,4,0.1,-5,4,0.1]
                                          }
                                        },
                                      "-texCoord":
                                        { "TextureCoordinate":
                                          {
                                            "@point":[0,0,1,0,1,1,0,1]
                                          }
                                        }
                                    }
                                  }
                              }
                            }
                          ]
                        }
                      }
                    ]
                  }
                }
              ]
            }
          },
          { "Transform":
            {
              "@translation":[0,0,7],
              "-children":[
                { "Group":
                  {
                    "@USE":"Range"
                  }
                }
              ]
            }
          },
          { "Viewpoint":
            {
              "@description":"Mini Golf Range",
              "@orientation":[-0.154,0.966,0.207,1.9863],
              "@position":[29.3,15.4,-16.6]
            }
          }
        ]
    }
  }
}