{ "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":"CutPlane.x3d"
          },
          {
            "@name":"description",
            "@content":"Cutting plane demo where users can drag two slice interfaces to show the cross sections of a volume. Select and drag cross-section to see changes."
          },
          {
            "@name":"creator",
            "@content":"David R. Nadeau"
          },
          {
            "@name":"translator",
            "@content":"Don Brutzman"
          },
          {
            "@name":"translator",
            "@content":"Mariah Valentina Quesada Brutzman"
          },
          {
            "@name":"created",
            "@content":"1 July 1998"
          },
          {
            "@name":"translated",
            "@content":"2 February 2014"
          },
          {
            "@name":"modified",
            "@content":"7 December 2024"
          },
          {
            "@name":"Image",
            "@content":"CutPlane.png"
          },
          {
            "@name":"reference",
            "@content":"originals/cutplane.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/mt0008.htm"
          },
          {
            "@name":"reference",
            "@content":"http://www.sdsc.edu/~moreland/courses/Siggraph98/vrml97/slides/mt0498.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/CutPlane.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":[
          {
            "#comment":"This sliding cutting plane world illustrates the use of the 'SlidingPlane' prototype node defined in the external file 'cut.wrl'. That node creates a plane that slides back and forth, changing the texture on it based upon the plane's X position."
          },
          { "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"
                }
              ]
            }
          },
          { "ExternProtoDeclare":
            {
              "@name":"SlidingPlane",
              "@url":["Cut.x3d#SlidingPlane","https://www.web3d.org/x3d/content/examples/Vrml2Sourcebook/Siggraph98Course/Cut.x3d#SlidingPlane","Cut.wrl#SlidingPlane","https://www.web3d.org/x3d/content/examples/Vrml2Sourcebook/Siggraph98Course/Cut.wrl#SlidingPlane"],
              "field": [
                {
                  "@name":"textures",
                  "@accessType":"initializeOnly",
                  "@type":"MFNode"
                },
                {
                  "@name":"minMaxX",
                  "@accessType":"initializeOnly",
                  "@type":"SFVec2f"
                },
                {
                  "@name":"initialX",
                  "@accessType":"initializeOnly",
                  "@type":"SFFloat"
                }
              ]
            }
          },
          { "WorldInfo":
            {
              "@info":["Copyright (c) 1997, David R. Nadeau"],
              "@title":"Cutting Plane"
            }
          },
          { "Viewpoint":
            {
              "@description":"Entry view",
              "@orientation":[0.0,1.0,0.0,0.785],
              "@position":[4.0,0.4,2.5]
            }
          },
          { "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,4,5,6,7,-1,8,9,10,11,-1],
                    "@solid":false,
                    "@texCoordIndex":[0,1,2,3,-1,1,2,3,0,-1,4,5,6,7,-1],
                    "-texCoord":
                      { "TextureCoordinate":
                        {
                          "@point":[0.0,0.0,0.0,8.0,4.0,8.0,4.0,0.0,0.0,0.0,4.0,0.0,4.0,4.0,0.0,4.0]
                        }
                      },
                    "-coord":
                      { "Coordinate":
                        {
                          "@point":[-1.0,-1.0,0.0,-1.0,-1.0,-4.0,-1.0,1.0,-4.0,-1.0,1.0,0.0,-1.0,-1.0,0.0,1.0,-1.0,0.0,1.0,-1.0,-4.0,-1.0,-1.0,-4.0,-1.0,-1.0,-4.0,1.0,-1.0,-4.0,1.0,1.0,-4.0,-1.0,1.0,-4.0]
                        }
                      }
                  }
                }
            }
          },
          { "Transform":
            {
              "@rotation":[0.0,1.0,0.0,1.571],
              "@translation":[-1.0,1.3,-2.0],
              "-children":[
                { "Shape":
                  {
                    "-appearance":
                      { "Appearance":
                        {
                        }
                      },
                    "-geometry":
                      { "Text":
                        {
                          "@string":["Time (seconds)"],
                          "-fontStyle":
                            { "FontStyle":
                              {
                                "@justify":["MIDDLE","MIDDLE"],
                                "@size":0.4,
                                "@style":"BOLD"
                              }
                            }
                        }
                      }
                  }
                }
              ]
            }
          },
          {
            "#comment":"Create two moving cutting planes, one initially at the front and the other initially at the back."
          },
          { "ProtoInstance":
            {
              "@name":"SlidingPlane",
              "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"]
                      }
                    }
                  ]
                },
                {
                  "@name":"minMaxX",
                  "@value":[0.0,4.0]
                },
                {
                  "@name":"initialX",
                  "@value":0.0
                }
              ]
            }
          },
          { "ProtoInstance":
            {
              "@name":"SlidingPlane",
              "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"]
                      }
                    }
                  ]
                },
                {
                  "@name":"minMaxX",
                  "@value":[0.0,4.0]
                },
                {
                  "@name":"initialX",
                  "@value":3.6
                }
              ]
            }
          }
        ]
    }
  }
}