{ "X3D": {
    "encoding":"UTF-8",
    "@profile":"Interchange",
    "@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":"NonplanarPolygons.x3d"
          },
          {
            "@name":"description",
            "@content":"Illustration of nonplanar polygons."
          },
          {
            "@name":"created",
            "@content":"22 May 2006"
          },
          {
            "@name":"modified",
            "@content":"20 October 2019"
          },
          {
            "@name":"creator",
            "@content":"Leonard Daly and Don Brutzman"
          },
          {
            "@name":"Image",
            "@content":"NonplanarPolygons.png"
          },
          {
            "@name":"reference",
            "@content":"https://X3dGraphics.com"
          },
          {
            "@name":"reference",
            "@content":"https://www.web3d.org/x3d/content/examples/X3dResources.html"
          },
          {
            "@name":"rights",
            "@content":"Copyright 2006, Daly Realism and Don Brutzman"
          },
          {
            "@name":"subject",
            "@content":"X3D book, X3D graphics, X3D-Edit, http://www.x3dGraphics.com"
          },
          {
            "@name":"identifier",
            "@content":"https://www.web3d.org/x3d/content/examples/X3dForWebAuthors/Chapter13GeometryTrianglesQuadrilaterals/NonplanarPolygons.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":[
          { "WorldInfo":
            {
              "@title":"NonplanarPolygons.x3d"
            }
          },
          { "Viewpoint":
            {
              "@description":"Initial"
            }
          },
          { "Viewpoint":
            {
              "@description":"Book View",
              "@orientation":[0,-1,0,0.1],
              "@position":[-0.71,-0.52,8.9]
            }
          },
          { "Background":
            {
              "@skyColor":[1,1,1]
            }
          },
          { "NavigationInfo":
            {
              "@headlight":false
            }
          },
          { "DirectionalLight":
            {
              "@direction":[0,-1,0]
            }
          },
          { "Transform":
            {
              "@translation":[0,2,0],
              "-children":[
                { "Transform":
                  {
                    "@translation":[-2,0,0],
                    "-children":[
                      { "Shape":
                        {
                          "@DEF":"SimplePoints",
                          "-appearance":
                            { "Appearance":
                              {
                                "@DEF":"Black",
                                "-material":
                                  { "Material":
                                    {
                                      "@diffuseColor":[0,0,0],
                                      "@specularColor":[1,0,0]
                                    }
                                  }
                              }
                            },
                          "-geometry":
                            { "PointSet":
                              {
                                "-coord":
                                  { "Coordinate":
                                    {
                                      "@DEF":"Points",
                                      "@point":[-1,-1,3,1,-2,3,1,-1,1,-1,-2,1]
                                    }
                                  }
                              }
                            }
                        }
                      },
                      { "Group":
                        {
                          "@DEF":"OutlineWithExaggeratedPoints",
                          "-children":[
                            { "Shape":
                              {
                                "-appearance":
                                  { "Appearance":
                                    {
                                      "@USE":"Black"
                                    }
                                  },
                                "-geometry":
                                  { "IndexedLineSet":
                                    {
                                      "@coordIndex":[0,1,2,3,0,-1],
                                      "-coord":
                                        { "Coordinate":
                                          {
                                            "@USE":"Points"
                                          }
                                        }
                                    }
                                  }
                              }
                            },
                            { "Transform":
                              {
                                "@translation":[-1,-1,3],
                                "-children":[
                                  { "Shape":
                                    {
                                      "-appearance":
                                        { "Appearance":
                                          {
                                            "@USE":"Black"
                                          }
                                        },
                                      "-geometry":
                                        { "Sphere":
                                          {
                                            "@DEF":"Ball",
                                            "@radius":0.1
                                          }
                                        }
                                    }
                                  }
                                ]
                              }
                            },
                            { "Transform":
                              {
                                "@translation":[1,-2,3],
                                "-children":[
                                  { "Shape":
                                    {
                                      "-appearance":
                                        { "Appearance":
                                          {
                                            "@USE":"Black"
                                          }
                                        },
                                      "-geometry":
                                        { "Sphere":
                                          {
                                            "@USE":"Ball"
                                          }
                                        }
                                    }
                                  }
                                ]
                              }
                            },
                            { "Transform":
                              {
                                "@translation":[1,-1,1],
                                "-children":[
                                  { "Shape":
                                    {
                                      "-appearance":
                                        { "Appearance":
                                          {
                                            "@USE":"Black"
                                          }
                                        },
                                      "-geometry":
                                        { "Sphere":
                                          {
                                            "@USE":"Ball"
                                          }
                                        }
                                    }
                                  }
                                ]
                              }
                            },
                            { "Transform":
                              {
                                "@translation":[-1,-2,1],
                                "-children":[
                                  { "Shape":
                                    {
                                      "-appearance":
                                        { "Appearance":
                                          {
                                            "@USE":"Black"
                                          }
                                        },
                                      "-geometry":
                                        { "Sphere":
                                          {
                                            "@USE":"Ball"
                                          }
                                        }
                                    }
                                  }
                                ]
                              }
                            }
                          ]
                        }
                      }
                    ]
                  }
                },
                { "Transform":
                  {
                    "@translation":[2,0,0],
                    "-children":[
                      { "Group":
                        {
                          "@USE":"OutlineWithExaggeratedPoints"
                        }
                      }
                    ]
                  }
                }
              ]
            }
          },
          { "Transform":
            {
              "@translation":[-2,0,0],
              "-children":[
                { "Shape":
                  {
                    "-geometry":
                      { "IndexedFaceSet":
                        {
                          "@coordIndex":[0,1,2,-1,2,3,0,-1],
                          "@creaseAngle":1.57,
                          "@solid":false,
                          "-coord":
                            { "Coordinate":
                              {
                                "@USE":"Points"
                              }
                            }
                        }
                      },
                    "-appearance":
                      { "Appearance":
                        {
                          "@DEF":"Look",
                          "-material":
                            { "Material":
                              {
                              }
                            }
                        }
                      }
                  }
                }
              ]
            }
          },
          { "Transform":
            {
              "@translation":[2,0,0],
              "-children":[
                { "Shape":
                  {
                    "-geometry":
                      { "IndexedFaceSet":
                        {
                          "@coordIndex":[0,1,3,-1,1,2,3,-1],
                          "@creaseAngle":1.57,
                          "@solid":false,
                          "-coord":
                            { "Coordinate":
                              {
                                "@USE":"Points"
                              }
                            }
                        }
                      },
                    "-appearance":
                      { "Appearance":
                        {
                          "@USE":"Look"
                        }
                      }
                  }
                }
              ]
            }
          }
        ]
    }
  }
}