{ "X3D": {
    "encoding":"UTF-8",
    "@profile":"Immersive",
    "@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":"LODExample.x3d"
          },
          {
            "@name":"description",
            "@content":"Example for LOD node"
          },
          {
            "@name":"creator",
            "@content":"Leonard Daly and Don Brutzman"
          },
          {
            "@name":"created",
            "@content":"14 November 2005"
          },
          {
            "@name":"modified",
            "@content":"16 December 2023"
          },
          {
            "@name":"reference",
            "@content":"https://github.com/create3000/x_ite/issues/38"
          },
          {
            "@name":"reference",
            "@content":"https://X3dGraphics.com"
          },
          {
            "@name":"reference",
            "@content":"https://www.web3d.org/x3d/content/examples/X3dResources.html"
          },
          {
            "@name":"rights",
            "@content":"Copyright 2006, Daly Realism and Don Brutzman"
          },
          {
            "@name":"subject",
            "@content":"X3D book, X3D graphics, X3D-Edit, http://www.x3dGraphics.com"
          },
          {
            "@name":"identifier",
            "@content":"https://www.web3d.org/x3d/content/examples/X3dForWebAuthors/Chapter03Grouping/LODExample.x3d"
          },
          {
            "@name":"generator",
            "@content":"X3D-Edit 4.0, 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":[
          { "Background":
            {
              "@skyColor":[1,1,1]
            }
          },
          { "NavigationInfo":
            {
              "@type":["FLY","ANY"]
            }
          },
          { "Viewpoint":
            {
              "@description":"Book View - Near, all shapes shown",
              "@orientation":[0.866,-0.497,0.058,-0.59],
              "@position":[1.2,1.98,3.4]
            }
          },
          { "Viewpoint":
            {
              "@description":"Book View - Farther, texture shown",
              "@orientation":[0.866,-0.497,0.058,-0.59],
              "@position":[1.47,2.43,4.18]
            }
          },
          { "Viewpoint":
            {
              "@description":"Book View - Farthest, nothing shown",
              "@position":[0,0,12]
            }
          },
          { "LOD":
            {
              "@range":[5,9],
              "-children":[
                { "Group":
                  {
                    "@DEF":"View3dModelAtCloseRange",
                    "-children":[
                      { "Shape":
                        {
                          "-appearance":
                            { "Appearance":
                              {
                                "-material":
                                  { "Material":
                                    {
                                      "@diffuseColor":[1,0,0]
                                    }
                                  }
                              }
                            },
                          "-geometry":
                            { "Box":
                              {
                              }
                            }
                        }
                      },
                      { "Shape":
                        {
                          "-appearance":
                            { "Appearance":
                              {
                                "-material":
                                  { "Material":
                                    {
                                      "@diffuseColor":[0,0,1]
                                    }
                                  }
                              }
                            },
                          "-geometry":
                            { "Sphere":
                              {
                                "@radius":1.4
                              }
                            }
                        }
                      }
                    ]
                  }
                },
                { "Group":
                  {
                    "@DEF":"View2dImageAtLongerRange",
                    "-children":[
                      { "Shape":
                        {
                          "-appearance":
                            { "Appearance":
                              {
                                "-material":
                                  { "Material":
                                    {
                                    }
                                  },
                                "-children":[
                                  {
                                    "#comment":"https://github.com/create3000/x_ite/issues/38"
                                  }
                                ],
                                "-texture":
                                  { "ImageTexture":
                                    {
                                      "@url":["LOD.jpg","https://www.web3d.org/x3d/content/examples/X3dForWebAuthors/Chapter03Grouping/LOD.jpg"]
                                    }
                                  }
                              }
                            },
                          "-geometry":
                            { "Box":
                              {
                              }
                            }
                        }
                      }
                    ]
                  }
                },
                { "WorldInfo":
                  {
                    "@info":["Not visible at farthest range"]
                  }
                }
              ]
            }
          }
        ]
    }
  }
}