{ "X3D": {
    "encoding":"UTF-8",
    "@profile":"Interactive",
    "@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.09GlowingOrbArchwaysExhibit.x3d"
          },
          {
            "@name":"creator",
            "@content":"Figure 20.9, 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/20fig09.htm"
          },
          {
            "@name":"translators",
            "@content":"Don Brutzman and Colleen Case"
          },
          {
            "@name":"created",
            "@content":"4 November 2000"
          },
          {
            "@name":"modified",
            "@content":"13 October 2015"
          },
          {
            "@name":"description",
            "@content":"A glowing sphere within a gothic building."
          },
          {
            "@name":"identifier",
            "@content":"http://www.web3d.org/x3d/content/examples/Vrml2Sourcebook/Chapter20-Lighting/Figure20.09GlowingOrbArchwaysExhibit.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":[
          { "Group":
            {
              "-children":[
                { "Inline":
                  {
                    "@DEF":"VAULT",
                    "@bboxCenter":[0,1,0],
                    "@bboxSize":[6,2,6],
                    "@url":["../Chapter13-PointsLinesFaces/Figure13.16VaultedCeiling.x3d","http://www.web3d.org/x3d/content/examples/Vrml2Sourcebook/Chapter13-PointsLinesFaces/Figure13.16VaultedCeiling.x3d","../Chapter13-PointsLinesFaces/Figure13.16VaultedCeiling.wrl","http://www.web3d.org/x3d/content/examples/Vrml2Sourcebook/Chapter13-PointsLinesFaces/Figure13.16VaultedCeiling.wrl"]
                  }
                },
                { "Transform":
                  {
                    "@translation":[-8.25,0.0,-8.25],
                    "-children":[
                      { "Shape":
                        {
                          "-geometry":
                            { "ElevationGrid":
                              {
                                "@creaseAngle":0.2,
                                "@height":[0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0],
                                "@solid":false,
                                "@xDimension":12,
                                "@xSpacing":1.5,
                                "@zDimension":12,
                                "@zSpacing":1.5
                              }
                            },
                          "-appearance":
                            { "Appearance":
                              {
                                "-material":
                                  { "Material":
                                    {
                                      "@diffuseColor":[0.6,0.4,0]
                                    }
                                  }
                              }
                            }
                        }
                      }
                    ]
                  }
                },
                { "Transform":
                  {
                    "@DEF":"GLOBE_TRANSFORM",
                    "@translation":[0,1,0],
                    "-children":[
                      { "PointLight":
                        {
                          "@DEF":"GLOBELIGHT",
                          "@ambientIntensity":0.2,
                          "@color":[0.7,0.5,0],
                          "@radius":15
                        }
                      },
                      { "Shape":
                        {
                          "-appearance":
                            { "Appearance":
                              {
                                "-texture":
                                  { "ImageTexture":
                                    {
                                      "@url":["fire.jpg","http://www.web3d.org/x3d/content/examples/Vrml2Sourcebook/Chapter20-Lighting/fire.jpg"]
                                    }
                                  },
                                "-textureTransform":
                                  { "TextureTransform":
                                    {
                                      "@DEF":"FIRE_TEXTURETRANSFORM"
                                    }
                                  }
                              }
                            },
                          "-geometry":
                            { "Sphere":
                              {
                                "@radius":0.2
                              }
                            }
                        }
                      },
                      { "Viewpoint":
                        {
                          "@description":"hello orb",
                          "@position":[0,0,3]
                        }
                      },
                      { "TimeSensor":
                        {
                          "@DEF":"SPINCLOCK",
                          "@cycleInterval":30,
                          "@loop":true
                        }
                      },
                      { "ScalarInterpolator":
                        {
                          "@DEF":"TEXTURE_SPIN_INTERPOLATOR",
                          "@key":[0,0.5,1],
                          "@keyValue":[0,-3.14159,-6.28318]
                        }
                      },
                      { "ScalarInterpolator":
                        {
                          "@DEF":"LIGHT_INTENSITY_TWEAKER",
                          "@key":[0,0.2,0.35,0.5,0.65,0.85,0.95,1],
                          "@keyValue":[1,0.7,0.3,0.5,0.75,0.85,0.4,1]
                        }
                      }
                    ]
                  }
                },
                { "Shape":
                  {
                    "-appearance":
                      { "Appearance":
                        {
                          "@DEF":"WHITE",
                          "-material":
                            { "Material":
                              {
                                "@diffuseColor":[0.5,0.5,0.5],
                                "@emissiveColor":[0.1,0.1,0.1]
                              }
                            }
                        }
                      },
                    "-geometry":
                      { "IndexedFaceSet":
                        {
                          "@coordIndex":[0,1,4,-1,1,2,4,-1,2,3,4,-1,3,0,4,-1],
                          "-coord":
                            { "Coordinate":
                              {
                                "@point":[-0.12,0.03,0.12,0.12,0.03,0.12,0.12,0.03,-0.12,-0.12,0.03,-0.12,0.0,0.63,0.0]
                              }
                            }
                        }
                      }
                  }
                },
                { "Transform":
                  {
                    "@translation":[0,0.015,0],
                    "-children":[
                      { "Shape":
                        {
                          "-appearance":
                            { "Appearance":
                              {
                                "@USE":"WHITE"
                              }
                            },
                          "-geometry":
                            { "Box":
                              {
                                "@size":[0.4,0.03,0.4]
                              }
                            }
                        }
                      }
                    ]
                  }
                }
              ]
            }
          },
          { "ROUTE":
            {
              "@fromField":"fraction_changed",
              "@fromNode":"SPINCLOCK",
              "@toField":"set_fraction",
              "@toNode":"TEXTURE_SPIN_INTERPOLATOR"
            }
          },
          { "ROUTE":
            {
              "@fromField":"value_changed",
              "@fromNode":"TEXTURE_SPIN_INTERPOLATOR",
              "@toField":"set_rotation",
              "@toNode":"FIRE_TEXTURETRANSFORM"
            }
          },
          { "ROUTE":
            {
              "@fromField":"fraction_changed",
              "@fromNode":"SPINCLOCK",
              "@toField":"set_fraction",
              "@toNode":"LIGHT_INTENSITY_TWEAKER"
            }
          },
          { "ROUTE":
            {
              "@fromField":"value_changed",
              "@fromNode":"LIGHT_INTENSITY_TWEAKER",
              "@toField":"set_intensity",
              "@toNode":"GLOBELIGHT"
            }
          }
        ]
    }
  }
}