{ "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":"GeometryPrimitiveNodesImageTexture.x3d"
          },
          {
            "@name":"description",
            "@content":"Geometry Primitive Nodes: Shape, Box, Cone, Cylinder, Sphere, Text, FontStyle, with ImageTexture applied"
          },
          {
            "@name":"creator",
            "@content":"Don Brutzman"
          },
          {
            "@name":"created",
            "@content":"25 March 2005"
          },
          {
            "@name":"modified",
            "@content":"20 October 2019"
          },
          {
            "@name":"rights",
            "@content":"Copyright (c) Don Brutzman and Leonard Daly, 2005"
          },
          {
            "@name":"identifier",
            "@content":"https://www.web3d.org/x3d/content/examples/X3dForWebAuthors/Chapter05AppearanceMaterialTextures/GeometryPrimitiveNodesImageTexture.x3d"
          },
          {
            "@name":"reference",
            "@content":"https://www.web3d.org/x3d/content/examples/X3dForWebAuthors/Chapter02GeometryPrimitives/GeometryPrimitiveNodes-White.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":"GeometryPrimitiveNodesImageTexture.x3d"
            }
          },
          { "Background":
            {
              "@skyColor":[1,1,1]
            }
          },
          { "Transform":
            {
              "@translation":[-5,0,0],
              "-children":[
                { "Shape":
                  {
                    "@DEF":"DefaultShape",
                    "-geometry":
                      { "Box":
                        {
                          "@DEF":"DefaultBox"
                        }
                      },
                    "-appearance":
                      { "Appearance":
                        {
                          "@DEF":"DefaultAppearance",
                          "-material":
                            { "Material":
                              {
                                "@diffuseColor":[1,0.2,0.2]
                              }
                            },
                          "-texture":
                            { "ImageTexture":
                              {
                                "@DEF":"earth-topo",
                                "@url":["../Chapter01TechnicalOverview/earth-topo.png","../Chapter01TechnicalOverview/earth-topo.jpg","../Chapter01TechnicalOverview/earth-topo-small.gif","https://www.web3d.org/x3d/content/examples/Basic/earth-topo.png","https://www.web3d.org/x3d/content/examples/Basic/earth-topo.jpg","https://www.web3d.org/x3d/content/examples/Basic/earth-topo-small.gif"]
                              }
                            }
                        }
                      }
                  }
                }
              ]
            }
          },
          { "Transform":
            {
              "@translation":[-2.5,0,0],
              "-children":[
                { "Shape":
                  {
                    "-geometry":
                      { "Cone":
                        {
                          "@DEF":"DefaultCone"
                        }
                      },
                    "-appearance":
                      { "Appearance":
                        {
                          "-material":
                            { "Material":
                              {
                                "@diffuseColor":[0.2,1,0.2]
                              }
                            },
                          "-texture":
                            { "ImageTexture":
                              {
                                "@USE":"earth-topo"
                              }
                            }
                        }
                      }
                  }
                }
              ]
            }
          },
          { "Transform":
            {
              "-children":[
                { "Shape":
                  {
                    "-geometry":
                      { "Cylinder":
                        {
                          "@DEF":"DefaultCylinder"
                        }
                      },
                    "-appearance":
                      { "Appearance":
                        {
                          "-material":
                            { "Material":
                              {
                                "@diffuseColor":[0.2,0.2,1]
                              }
                            },
                          "-texture":
                            { "ImageTexture":
                              {
                                "@USE":"earth-topo"
                              }
                            }
                        }
                      }
                  }
                }
              ]
            }
          },
          {
            "#comment":"let's uh, rotate the earth to see North America"
          },
          { "Transform":
            {
              "@rotation":[0,1,0,-1.57],
              "@translation":[2.5,0,0],
              "-children":[
                { "Shape":
                  {
                    "-geometry":
                      { "Sphere":
                        {
                          "@DEF":"DefaultSphere"
                        }
                      },
                    "-appearance":
                      { "Appearance":
                        {
                          "-material":
                            { "Material":
                              {
                                "@diffuseColor":[1,1,0.2]
                              }
                            },
                          "-texture":
                            { "ImageTexture":
                              {
                                "@USE":"earth-topo"
                              }
                            }
                        }
                      }
                  }
                }
              ]
            }
          },
          { "Transform":
            {
              "@translation":[5,0,0],
              "-children":[
                { "Shape":
                  {
                    "-geometry":
                      { "Text":
                        {
                          "@DEF":"DefaultText",
                          "@length":[0],
                          "@string":["Learn","X3D!"],
                          "-fontStyle":
                            { "FontStyle":
                              {
                                "@DEF":"DefaultFontStyle",
                                "@justify":["MIDDLE","MIDDLE"]
                              }
                            }
                        }
                      },
                    "-appearance":
                      { "Appearance":
                        {
                          "-material":
                            { "Material":
                              {
                                "@DEF":"DefaultMaterial",
                                "@ambientIntensity":0.33,
                                "@diffuseColor":[0.237059,0.096273,0.215625],
                                "@shininess":0.13,
                                "@specularColor":[0.311358,0.387879,0.387879]
                              }
                            }
                        }
                      }
                  }
                }
              ]
            }
          }
        ]
    }
  }
}