{ "X3D": {
    "encoding":"UTF-8",
    "@profile":"Immersive",
    "@version":"3.0",
    "@xsd:noNamespaceSchemaLocation":"https://www.web3d.org/specifications/x3d-3.0.xsd",
    "JSON schema":"https://www.web3d.org/specifications/x3d-4.0-JSONSchema.autogenerated.json",
    "head": {
        "meta": [
          {
            "@name":"title",
            "@content":"Figure15_16ExtrudedLipstickWithAxes.x3d"
          },
          {
            "@name":"creator",
            "@content":"Figure 15.16, 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/ch15/15fig16.htm"
          },
          {
            "@name":"translator",
            "@content":"Don Brutzman"
          },
          {
            "@name":"created",
            "@content":"20 August 2000"
          },
          {
            "@name":"modified",
            "@content":"20 October 2019"
          },
          {
            "@name":"description",
            "@content":"A lipstick shape created by rotating a circular cross section about the X axis as it is extruded."
          },
          {
            "@name":"identifier",
            "@content":"https://www.web3d.org/x3d/content/examples/Vrml2Sourcebook/Chapter15Extrusion/Figure15_16ExtrudedLipstickWithAxes.x3d"
          },
          {
            "@name":"generator",
            "@content":"X3D-Edit 3.3, 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":"Computational cost of Extrusion compared to IndexedFaceSet: quicker to download, takes time to calculate polygonal faces and normals during initial loading, equally fast at run time."
          },
          {
            "#comment":"Authoring capabilities of Extrusion compared to IndexedFaceSet: can be more complicated to express, but also can provide great detail with much less effort."
          },
          {
            "#comment":"First position and rotate viewpoint into positive-X-Y-Z octant, looking at object center"
          },
          { "WorldInfo":
            {
              "@title":"Figure15_16ExtrudedLipstickWithAxes.x3d"
            }
          },
          { "Viewpoint":
            {
              "@centerOfRotation":[0,2,0],
              "@description":"Lipstick using extrusion orientation",
              "@orientation":[-0.24424,0.96442,0.10117,0.811341],
              "@position":[10,5,10],
              "-children":[
                {
                  "#comment":"local lookat point: 0 2 0"
                }
              ]
            }
          },
          { "Shape":
            {
              "-appearance":
                { "Appearance":
                  {
                    "-material":
                      { "Material":
                        {
                          "@diffuseColor":[1,0,0.3],
                          "@emissiveColor":[0.1,0.03,0.03],
                          "@shininess":0.4,
                          "@specularColor":[0.4,0.4,0.5]
                        }
                      }
                  }
                },
              "-geometry":
                { "Extrusion":
                  {
                    "@creaseAngle":1.57,
                    "@crossSection":[1.00,0.00,0.92,-0.38,0.71,-0.71,0.38,-0.92,0.00,-1.00,-0.38,-0.92,-0.71,-0.71,-0.92,-0.38,-1.00,-0.0,-0.92,0.38,-0.71,0.71,-0.38,0.92,0.00,1.00,0.38,0.92,0.71,0.71,0.92,0.38,1.00,0.00],
                    "@orientation":[0.0,1.0,0.0,0.0,1.0,0.0,0.0,0.785],
                    "@spine":[0,0,0,0,4,0]
                  }
                }
            }
          },
          {
            "#comment":"Adding this Inline reference to another scene superimposes X3D/VRML coordinate system axes."
          },
          { "Transform":
            {
              "@scale":[5,5,5],
              "-children":[
                { "Inline":
                  {
                    "@DEF":"CoordinateAxes",
                    "@url":["../../X3dForWebAuthors/Chapter03Grouping/CoordinateAxes.x3d","https://www.web3d.org/x3d/content/examples/X3dForWebAuthors/Chapter03Grouping/CoordinateAxes.x3d","../../X3dForWebAuthors/Chapter03Grouping/CoordinateAxes.wrl","https://www.web3d.org/x3d/content/examples/X3dForWebAuthors/Chapter03Grouping/CoordinateAxes.wrl","https://www.web3d.org/x3d/content/examples/Savage/Tools/Authoring/CoordinateAxes.x3d","https://www.web3d.org/x3d/content/examples/Savage/Tools/Authoring/CoordinateAxes.wrl"]
                  }
                }
              ]
            }
          }
        ]
    }
  }
}