{ "X3D": {
    "encoding":"UTF-8",
    "@profile":"Immersive",
    "@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":"Figure24.7VirtualTV.x3d"
          },
          {
            "@name":"creator",
            "@content":"Figure 24.7, 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/ch24/24fig07.htm"
          },
          {
            "@name":"translator",
            "@content":"Don Brutzman"
          },
          {
            "@name":"created",
            "@content":"3 October 2000"
          },
          {
            "@name":"modified",
            "@content":"13 October 2015"
          },
          {
            "@name":"description",
            "@content":"A virtual television."
          },
          {
            "@name":"identifier",
            "@content":"http://www.web3d.org/x3d/content/examples/Vrml2Sourcebook/Chapter24-Sound/Figure24.7VirtualTV.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":"Mandelbrot zoom video by San Diego Supercomputer Center",
              "@position":[0,0,8]
            }
          },
          { "NavigationInfo":
            {
              "@type":["WALK","EXAMINE","ANY"]
            }
          },
          { "Group":
            {
              "-children":[
                { "Shape":
                  {
                    "-geometry":
                      { "Box":
                        {
                          "@size":[5,3.5,2]
                        }
                      },
                    "-appearance":
                      { "Appearance":
                        {
                          "-material":
                            { "Material":
                              {
                                "@diffuseColor":[0.3,0.3,0.3]
                              }
                            }
                        }
                      }
                  }
                },
                { "Shape":
                  {
                    "-appearance":
                      { "Appearance":
                        {
                          "-texture":
                            { "ImageTexture":
                              {
                                "@repeatS":false,
                                "@repeatT":false,
                                "@url":["tvcntrl.jpg","http://www.web3d.org/x3d/content/examples/Vrml2Sourcebook/Chapter24-Sound/tvcntrl.jpg"]
                              }
                            }
                        }
                      },
                    "-geometry":
                      { "IndexedFaceSet":
                        {
                          "@coordIndex":[0,1,2,3],
                          "-coord":
                            { "Coordinate":
                              {
                                "@point":[1.75,-1.5,1.01,2.40,-1.5,1.01,2.40,1.5,1.01,1.75,1.5,1.01]
                              }
                            },
                          "-texCoord":
                            { "TextureCoordinate":
                              {
                                "@DEF":"SquareTexCoordMapping",
                                "@point":[0,0,1,0,1,1,0,1]
                              }
                            }
                        }
                      }
                  }
                },
                { "Shape":
                  {
                    "-appearance":
                      { "Appearance":
                        {
                          "-texture":
                            { "MovieTexture":
                              {
                                "@DEF":"TV",
                                "@description":"Mandelbrot Zoom video",
                                "@loop":true,
                                "@repeatS":false,
                                "@repeatT":false,
                                "@url":["tv.mpg","http://www.web3d.org/x3d/content/examples/Vrml2Sourcebook/Chapter24-Sound/tv.mpg"]
                              }
                            }
                        }
                      },
                    "-geometry":
                      { "IndexedFaceSet":
                        {
                          "@coordIndex":[0,1,2,3],
                          "-coord":
                            { "Coordinate":
                              {
                                "@point":[-2.35,-1.5,1.01,1.65,-1.5,1.01,1.65,1.5,1.01,-2.35,1.5,1.01]
                              }
                            },
                          "-texCoord":
                            { "TextureCoordinate":
                              {
                                "@USE":"SquareTexCoordMapping"
                              }
                            }
                        }
                      }
                  }
                },
                { "Sound":
                  {
                    "@maxBack":100,
                    "@maxFront":100,
                    "@minBack":30,
                    "@minFront":30,
                    "-source":
                      { "MovieTexture":
                        {
                          "@USE":"TV"
                        }
                      }
                  }
                },
                { "TouchSensor":
                  {
                    "@DEF":"Touch",
                    "@description":"Touch TV to begin playing"
                  }
                }
              ]
            }
          },
          { "ROUTE":
            {
              "@fromField":"touchTime",
              "@fromNode":"Touch",
              "@toField":"set_startTime",
              "@toNode":"TV"
            }
          }
        ]
    }
  }
}