{ "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":"TexturePlane.x3d"
          },
          {
            "@name":"description",
            "@content":"Animating textured plane: this world illustrates the use of the TexturePlane prototype node defined in an external file. That node creates a textured square whose texture changes based upon an input fraction. This world animates that fraction to cause the texture to animate."
          },
          {
            "@name":"creator",
            "@content":"David R. Nadeau"
          },
          {
            "@name":"translator",
            "@content":"Don Brutzman"
          },
          {
            "@name":"created",
            "@content":"1 July 1998"
          },
          {
            "@name":"translated",
            "@content":"2 February 2014"
          },
          {
            "@name":"modified",
            "@content":"7 December 2024"
          },
          {
            "@name":"Image",
            "@content":"TexturePlane.png"
          },
          {
            "@name":"MovingImage",
            "@content":"TexturePlaneAnimation.mp4"
          },
          {
            "@name":"reference",
            "@content":"originals/texplane.wrl"
          },
          {
            "@name":"reference",
            "@content":"http://www.siggraph.org/s98"
          },
          {
            "@name":"reference",
            "@content":"http://www.siggraph.org/s98/conference/courses/18.html"
          },
          {
            "@name":"reference",
            "@content":"http://www.sdsc.edu/~moreland/courses/Siggraph98/vrml97/slides/mt0497.htm"
          },
          {
            "@name":"reference",
            "@content":"http://www.sdsc.edu/~moreland/courses/Siggraph98/vrml97/vrml97.htm"
          },
          {
            "@name":"reference",
            "@content":"https://www.web3d.org/x3d/content/examples/X3dResources.html"
          },
          {
            "@name":"identifier",
            "@content":"https://www.web3d.org/x3d/content/examples/Vrml2Sourcebook/Siggraph98Course/TexturePlane.x3d"
          },
          {
            "@name":"generator",
            "@content":"Vrml97ToX3dNist, http://ovrt.nist.gov/v2_x3d.html"
          },
          {
            "@name":"generator",
            "@content":"X3D-Edit, 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":[
          { "ExternProtoDeclare":
            {
              "@name":"TexturePlane",
              "@url":["Cut.x3d#TexturePlane","https://www.web3d.org/x3d/content/examples/Vrml2Sourcebook/Siggraph98Course/Cut.x3d#TexturePlane","Cut.wrl#TexturePlane","https://www.web3d.org/x3d/content/examples/Vrml2Sourcebook/Siggraph98Course/Cut.wrl#TexturePlane"],
              "field": [
                {
                  "@name":"textures",
                  "@accessType":"initializeOnly",
                  "@type":"MFNode"
                },
                {
                  "@name":"set_fraction",
                  "@accessType":"inputOnly",
                  "@type":"SFFloat"
                }
              ]
            }
          },
          { "WorldInfo":
            {
              "@info":["Copyright (c) 1997, David R. Nadeau"],
              "@title":"Animating textured plane"
            }
          },
          { "Viewpoint":
            {
              "@description":"Entry view",
              "@position":[0.0,0.0,3.0]
            }
          },
          { "NavigationInfo":
            {
            }
          },
          { "Background":
            {
              "@skyAngle":[1.57,1.87],
              "@skyColor":[0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.1,0.3]
            }
          },
          { "Shape":
            {
              "-appearance":
                { "Appearance":
                  {
                    "-textureTransform":
                      { "TextureTransform":
                        {
                          "@translation":[0.5,0.5]
                        }
                      },
                    "-texture":
                      { "ImageTexture":
                        {
                          "@url":["grill.png","https://www.web3d.org/x3d/content/examples/Vrml2Sourcebook/Siggraph98Course/grill.png"]
                        }
                      }
                  }
                },
              "-geometry":
                { "IndexedFaceSet":
                  {
                    "@coordIndex":[0,1,2,3,-1],
                    "@solid":false,
                    "@texCoordIndex":[0,1,2,3,-1],
                    "-texCoord":
                      { "TextureCoordinate":
                        {
                          "@point":[0.0,0.0,4.0,0.0,4.0,4.0,0.0,4.0]
                        }
                      },
                    "-coord":
                      { "Coordinate":
                        {
                          "@point":[-1.0,-1.0,-0.05,1.0,-1.0,-0.05,1.0,1.0,-0.05,-1.0,1.0,-0.05]
                        }
                      }
                  }
                }
            }
          },
          { "ProtoInstance":
            {
              "@name":"TexturePlane",
              "@DEF":"Plane",
              "fieldValue": [
                {
                  "@name":"textures",
                  "-children":[
                    { "ImageTexture":
                      {
                        "@url":["cp1.png","https://www.web3d.org/x3d/content/examples/Vrml2Sourcebook/Siggraph98Course/cp1.png"]
                      }
                    },
                    { "ImageTexture":
                      {
                        "@url":["cp2.png","https://www.web3d.org/x3d/content/examples/Vrml2Sourcebook/Siggraph98Course/cp2.png"]
                      }
                    },
                    { "ImageTexture":
                      {
                        "@url":["cp3.png","https://www.web3d.org/x3d/content/examples/Vrml2Sourcebook/Siggraph98Course/cp3.png"]
                      }
                    },
                    { "ImageTexture":
                      {
                        "@url":["cp4.png","https://www.web3d.org/x3d/content/examples/Vrml2Sourcebook/Siggraph98Course/cp4.png"]
                      }
                    },
                    { "ImageTexture":
                      {
                        "@url":["cp5.png","https://www.web3d.org/x3d/content/examples/Vrml2Sourcebook/Siggraph98Course/cp5.png"]
                      }
                    },
                    { "ImageTexture":
                      {
                        "@url":["cp6.png","https://www.web3d.org/x3d/content/examples/Vrml2Sourcebook/Siggraph98Course/cp6.png"]
                      }
                    },
                    { "ImageTexture":
                      {
                        "@url":["cp7.png","https://www.web3d.org/x3d/content/examples/Vrml2Sourcebook/Siggraph98Course/cp7.png"]
                      }
                    },
                    { "ImageTexture":
                      {
                        "@url":["cp8.png","https://www.web3d.org/x3d/content/examples/Vrml2Sourcebook/Siggraph98Course/cp8.png"]
                      }
                    },
                    { "ImageTexture":
                      {
                        "@url":["cp9.png","https://www.web3d.org/x3d/content/examples/Vrml2Sourcebook/Siggraph98Course/cp9.png"]
                      }
                    },
                    { "ImageTexture":
                      {
                        "@url":["cp10.png","https://www.web3d.org/x3d/content/examples/Vrml2Sourcebook/Siggraph98Course/cp10.png"]
                      }
                    }
                  ]
                }
              ]
            }
          },
          { "TimeSensor":
            {
              "@DEF":"Clock",
              "@cycleInterval":3.0,
              "@loop":true,
              "@startTime":1.0
            }
          },
          { "ROUTE":
            {
              "@fromField":"fraction_changed",
              "@fromNode":"Clock",
              "@toField":"set_fraction",
              "@toNode":"Plane"
            }
          }
        ]
    }
  }
}