{ "X3D": {
    "encoding":"UTF-8",
    "@profile":"Interchange",
    "@version":"3.0",
    "@xsd:noNamespaceSchemaLocation":"http://www.web3d.org/specifications/x3d-3.0.xsd",
    "JSON schema":"http://www.web3d.org/specifications/x3d-3.3-JSONSchema.json",
    "head": {
        "meta": [
          {
            "@name":"title",
            "@content":"Figure20.04HeadlightSpheres.x3d"
          },
          {
            "@name":"creator",
            "@content":"Figure 20.4, The VRML 2.0 Sourcebook, Copyright [1997] By Andrea L. Ames, David R. Nadeau, and John L. Moreland"
          },
          {
            "@name":"reference",
            "@content":"http://www.wiley.com/legacy/compbooks/vrml2sbk/ch20/20fig04.htm"
          },
          {
            "@name":"translator",
            "@content":"Don Brutzman"
          },
          {
            "@name":"created",
            "@content":"16 August 2000"
          },
          {
            "@name":"modified",
            "@content":"25 March 2012"
          },
          {
            "@name":"description",
            "@content":"A sphere world illuminated by the headlight. Also see Figures 20.4, 20.6a, 20.6b, 20.7, 20.8 for comparison."
          },
          {
            "@name":"reference",
            "@content":"Figure20.06aPointLightSpheres.x3d"
          },
          {
            "@name":"reference",
            "@content":"Figure20.06bPointLightSpheresIntensity.x3d"
          },
          {
            "@name":"reference",
            "@content":"Figure20.07PointLightSpheresAttenuation.x3d"
          },
          {
            "@name":"reference",
            "@content":"Figure20.08PointLightSpheresSmallRadius.x3d"
          },
          {
            "@name":"identifier",
            "@content":"http://www.web3d.org/x3d/content/examples/Vrml2Sourcebook/Chapter20-Lighting/Figure20.04HeadlightSpheres.x3d"
          },
          {
            "@name":"generator",
            "@content":"X3D-Edit 3.3, https://savage.nps.edu/X3D-Edit"
          },
          {
            "@name":"license",
            "@content":"../../license.html"
          },
          {
            "@name":"translated",
            "@content":"19 March 2017"
          },
          {
            "@name":"generator",
            "@content":"X3dToJson.xslt, http://www.web3d.org/x3d/stylesheets/X3dToJson.html"
          },
          {
            "@name":"warning",
            "@content":"An experimental version of X3D JSON encoding is used for this scene.  Status online at http://www.web3d.org/wiki/index.php/X3D_JSON_Encoding"
          }
        ]
    },
    "Scene": {
        "-children":[
          { "Viewpoint":
            {
              "@description":"Spheres",
              "@position":[0,0,30]
            }
          },
          {
            "#comment":"Try viewing this with headlight false. NavigationInfo lets you specify the default setting. Most browsers let you select headlight on/off."
          },
          {
            "#comment":"Headlight field of the NavigationInfo node is usually on by default, in order to ensure that all encountered geometry is visibly rendered. The headlight can be overridden if another parent scene Inlines this scene."
          },
          { "Transform":
            {
              "@translation":[-7.5,-7.5,0.0],
              "-children":[
                { "Group":
                  {
                    "@DEF":"BallRow",
                    "-children":[
                      { "Shape":
                        {
                          "@DEF":"Ball",
                          "-appearance":
                            { "Appearance":
                              {
                                "-material":
                                  { "Material":
                                    {
                                      "@diffuseColor":[1,0.5,0.1]
                                    }
                                  }
                              }
                            },
                          "-geometry":
                            { "Sphere":
                              {
                              }
                            }
                        }
                      },
                      { "Transform":
                        {
                          "@translation":[3,0,0],
                          "-children":[
                            { "Shape":
                              {
                                "@USE":"Ball"
                              }
                            }
                          ]
                        }
                      },
                      { "Transform":
                        {
                          "@translation":[6,0,0],
                          "-children":[
                            { "Shape":
                              {
                                "@USE":"Ball"
                              }
                            }
                          ]
                        }
                      },
                      { "Transform":
                        {
                          "@translation":[9,0,0],
                          "-children":[
                            { "Shape":
                              {
                                "@USE":"Ball"
                              }
                            }
                          ]
                        }
                      },
                      { "Transform":
                        {
                          "@translation":[12,0,0],
                          "-children":[
                            { "Shape":
                              {
                                "@USE":"Ball"
                              }
                            }
                          ]
                        }
                      },
                      { "Transform":
                        {
                          "@translation":[15,0,0],
                          "-children":[
                            { "Shape":
                              {
                                "@USE":"Ball"
                              }
                            }
                          ]
                        }
                      }
                    ]
                  }
                },
                { "Transform":
                  {
                    "@translation":[0,3,0],
                    "-children":[
                      { "Group":
                        {
                          "@USE":"BallRow"
                        }
                      }
                    ]
                  }
                },
                { "Transform":
                  {
                    "@translation":[0,6,0],
                    "-children":[
                      { "Group":
                        {
                          "@USE":"BallRow"
                        }
                      }
                    ]
                  }
                },
                { "Transform":
                  {
                    "@translation":[0,9,0],
                    "-children":[
                      { "Group":
                        {
                          "@USE":"BallRow"
                        }
                      }
                    ]
                  }
                },
                { "Transform":
                  {
                    "@translation":[0,12,0],
                    "-children":[
                      { "Group":
                        {
                          "@USE":"BallRow"
                        }
                      }
                    ]
                  }
                },
                { "Transform":
                  {
                    "@translation":[0,15,0],
                    "-children":[
                      { "Group":
                        {
                          "@USE":"BallRow"
                        }
                      }
                    ]
                  }
                }
              ]
            }
          }
        ]
    }
  }
}