{ "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":"X3d4Cube.x3d"
          },
          {
            "@name":"creator",
            "@content":"Don Brutzman"
          },
          {
            "@name":"creator",
            "@content":"Anita Havele"
          },
          {
            "@name":"created",
            "@content":"30 September 2020"
          },
          {
            "@name":"modified",
            "@content":"30 September 2020"
          },
          {
            "@name":"description",
            "@content":"Provides a cube-shaped model with interesting theme words for the Box of X3D Blog!"
          },
          {
            "@name":"reference",
            "@content":"https://www.web3d.org/x3d/content/examples/X3dForAdvancedModeling/GeometricShapes/CubeWithLabeledSides.x3d"
          },
          {
            "@name":"Image",
            "@content":"logo/X3d4CubeImages.png"
          },
          {
            "@name":"drawing",
            "@content":"logo/X3d4CubeImages.vsd"
          },
          {
            "@name":"drawing",
            "@content":"https://www.web3d.org/x3d/content/examples/Basic/Web3dOutreach/logo/TestBoxImages.vsd"
          },
          {
            "@name":"identifier",
            "@content":"https://www.web3d.org/x3d/content/examples/Basic/Web3dOutreach/X3d4Cube.x3d"
          },
          {
            "@name":"generator",
            "@content":"X3D-Edit 3.3, https://www.web3d.org/x3d/tools/X3D-Edit"
          },
          {
            "@name":"license",
            "@content":"../license.html"
          },
          {
            "@name":"translated",
            "@content":"20 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":"X3d4Cube.x3d"
            }
          },
          { "Background":
            {
              "@skyColor":[0.05,0.05,0.1]
            }
          },
          { "Group":
            {
              "-children":[
                { "Viewpoint":
                  {
                    "@description":"Front view",
                    "@orientation":[0,1,0,1.57],
                    "@position":[8,0,0]
                  }
                },
                { "Shape":
                  {
                    "@DEF":"Front",
                    "-geometry":
                      { "IndexedFaceSet":
                        {
                          "@coordIndex":[0,1,2,3],
                          "@texCoordIndex":[0,1,2,3],
                          "-coord":
                            { "Coordinate":
                              {
                                "@DEF":"Points",
                                "@point":[1,1,1,1,-1,1,1,-1,-1,1,1,-1,-1,1,1,-1,-1,1,-1,-1,-1,-1,1,-1]
                              }
                            },
                          "-texCoord":
                            { "TextureCoordinate":
                              {
                                "@DEF":"DefaultTextureCoordinate",
                                "@point":[0,0,1,0,1,1,0,1]
                              }
                            }
                        }
                      },
                    "-appearance":
                      { "Appearance":
                        {
                          "-texture":
                            { "ImageTexture":
                              {
                                "@url":["logo/frontGlTF.png","https://www.web3d.org/x3d/content/examples/X3dForAdvancedModeling/GeometricShapes/logo/frontGlTF.png","https://www.web3d.org/x3d/content/examples/Basic/Web3dOutreach/logo/frontGlTF.png"]
                              }
                            },
                          "-children":[
                            {
                              "#comment":"Possible variation: experiment with indices to as alternative to TextureTransform rotations"
                            }
                          ],
                          "-textureTransform":
                            { "TextureTransform":
                              {
                                "@DEF":"RotateRight",
                                "@rotation":-1.57
                              }
                            }
                        }
                      }
                  }
                },
                { "Viewpoint":
                  {
                    "@description":"Back view",
                    "@orientation":[0,1,0,-1.57],
                    "@position":[-8,0,0]
                  }
                },
                { "Shape":
                  {
                    "@DEF":"Back",
                    "-geometry":
                      { "IndexedFaceSet":
                        {
                          "@coordIndex":[7,6,5,4],
                          "@texCoordIndex":[0,1,2,3],
                          "-coord":
                            { "Coordinate":
                              {
                                "@USE":"Points"
                              }
                            },
                          "-texCoord":
                            { "TextureCoordinate":
                              {
                                "@USE":"DefaultTextureCoordinate"
                              }
                            }
                        }
                      },
                    "-appearance":
                      { "Appearance":
                        {
                          "-texture":
                            { "ImageTexture":
                              {
                                "@url":["logo/backWebGL.png","https://www.web3d.org/x3d/content/examples/X3dForAdvancedModeling/GeometricShapes/logo/backWebGL.png","https://www.web3d.org/x3d/content/examples/Basic/Web3dOutreach/logo/backWebGL.png"]
                              }
                            },
                          "-textureTransform":
                            { "TextureTransform":
                              {
                                "@USE":"RotateRight"
                              }
                            }
                        }
                      }
                  }
                },
                { "Viewpoint":
                  {
                    "@description":"Left view",
                    "@orientation":[0,1,0,3.1416],
                    "@position":[0,0,-8]
                  }
                },
                { "Shape":
                  {
                    "@DEF":"Left",
                    "-geometry":
                      { "IndexedFaceSet":
                        {
                          "@coordIndex":[3,2,6,7],
                          "@texCoordIndex":[0,1,2,3],
                          "-coord":
                            { "Coordinate":
                              {
                                "@USE":"Points"
                              }
                            },
                          "-texCoord":
                            { "TextureCoordinate":
                              {
                                "@USE":"DefaultTextureCoordinate"
                              }
                            }
                        }
                      },
                    "-appearance":
                      { "Appearance":
                        {
                          "-texture":
                            { "ImageTexture":
                              {
                                "@url":["logo/leftHTML5.png","https://www.web3d.org/x3d/content/examples/X3dForAdvancedModeling/GeometricShapes/logo/leftHTML5.png","https://www.web3d.org/x3d/content/examples/Basic/Web3dOutreach/logo/leftHTML5.png"]
                              }
                            },
                          "-textureTransform":
                            { "TextureTransform":
                              {
                                "@USE":"RotateRight"
                              }
                            }
                        }
                      }
                  }
                },
                { "Viewpoint":
                  {
                    "@description":"Right view",
                    "@position":[0,0,8]
                  }
                },
                { "Shape":
                  {
                    "@DEF":"Right",
                    "-geometry":
                      { "IndexedFaceSet":
                        {
                          "@coordIndex":[0,4,5,1],
                          "@texCoordIndex":[0,1,2,3],
                          "-coord":
                            { "Coordinate":
                              {
                                "@USE":"Points"
                              }
                            },
                          "-texCoord":
                            { "TextureCoordinate":
                              {
                                "@USE":"DefaultTextureCoordinate"
                              }
                            }
                        }
                      },
                    "-appearance":
                      { "Appearance":
                        {
                          "-texture":
                            { "ImageTexture":
                              {
                                "@url":["logo/rightWebAudio.png","https://www.web3d.org/x3d/content/examples/X3dForAdvancedModeling/GeometricShapes/logo/rightWebAudio.png","https://www.web3d.org/x3d/content/examples/Basic/Web3dOutreach/logo/rightWebAudio.png"]
                              }
                            },
                          "-textureTransform":
                            { "TextureTransform":
                              {
                                "@DEF":"Rotate180",
                                "@rotation":3.14159
                              }
                            }
                        }
                      }
                  }
                },
                { "Viewpoint":
                  {
                    "@description":"Top view",
                    "@orientation":[1,0,0,-1.57],
                    "@position":[0,8,0]
                  }
                },
                { "Shape":
                  {
                    "@DEF":"Top",
                    "-geometry":
                      { "IndexedFaceSet":
                        {
                          "@coordIndex":[0,3,7,4],
                          "@texCoordIndex":[0,1,2,3],
                          "-coord":
                            { "Coordinate":
                              {
                                "@USE":"Points"
                              }
                            },
                          "-texCoord":
                            { "TextureCoordinate":
                              {
                                "@USE":"DefaultTextureCoordinate"
                              }
                            }
                        }
                      },
                    "-appearance":
                      { "Appearance":
                        {
                          "-texture":
                            { "ImageTexture":
                              {
                                "@url":["logo/topX3D4.png","https://www.web3d.org/x3d/content/examples/X3dForAdvancedModeling/GeometricShapes/logo/topX3D4.png","https://www.web3d.org/x3d/content/examples/Basic/Web3dOutreach/logo/topX3D4.png"]
                              }
                            },
                          "-textureTransform":
                            { "TextureTransform":
                              {
                                "@DEF":"RotateLeft",
                                "@rotation":1.57
                              }
                            }
                        }
                      }
                  }
                },
                { "Viewpoint":
                  {
                    "@description":"Bottom view",
                    "@orientation":[1,0,0,1.57],
                    "@position":[0,-8,0]
                  }
                },
                { "Shape":
                  {
                    "@DEF":"Bottom",
                    "-geometry":
                      { "IndexedFaceSet":
                        {
                          "@coordIndex":[1,5,6,2],
                          "@texCoordIndex":[0,1,2,3],
                          "-coord":
                            { "Coordinate":
                              {
                                "@USE":"Points"
                              }
                            },
                          "-texCoord":
                            { "TextureCoordinate":
                              {
                                "@USE":"DefaultTextureCoordinate"
                              }
                            }
                        }
                      },
                    "-appearance":
                      { "Appearance":
                        {
                          "-texture":
                            { "ImageTexture":
                              {
                                "@url":["logo/bottomJoinWeb3D.png","https://www.web3d.org/x3d/content/examples/X3dForAdvancedModeling/GeometricShapes/logo/bottomJoinWeb3D.png","https://www.web3d.org/x3d/content/examples/Basic/Web3dOutreach/logo/bottomJoinWeb3D.png"]
                              }
                            },
                          "-textureTransform":
                            { "TextureTransform":
                              {
                                "@USE":"Rotate180"
                              }
                            }
                        }
                      }
                  }
                }
              ]
            }
          }
        ]
    }
  }
}