{ "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": {
        "unit": [
          {
            "@name":"InchesToMeters",
            "@category":"length",
            "@conversionFactor":0.0254
          }
        ],
        "meta": [
          {
            "@name":"title",
            "@content":"ShayDPixelBobbleHeadBoxSiggraph2017.x3d"
          },
          {
            "@name":"warning",
            "@content":"Some X3D players may still have difficulty with the unit element and need to be upgraded."
          },
          {
            "@name":"description",
            "@content":"BobbleHead Box for Shay D Pixel from SIGGRAPH 2017. Box measures 3.75 x 3.75 x 6.5 cubic inches overall. Thanks Mario for signature!"
          },
          {
            "@name":"creator",
            "@content":"Don Brutzman"
          },
          {
            "@name":"artist",
            "@content":"Mario Nagamura"
          },
          {
            "@name":"created",
            "@content":"11 October 2017"
          },
          {
            "@name":"modified",
            "@content":"22 March 2020"
          },
          {
            "@name":"Image",
            "@content":"images/BobbleHeadAtopBox.jpg"
          },
          {
            "@name":"Image",
            "@content":"images/BobbleHeadOblique.jpg"
          },
          {
            "@name":"Image",
            "@content":"images/Siggraph2017GoldenTicketInHand.jpg"
          },
          {
            "@name":"Video",
            "@content":"https://www.youtube.com/embed/vzkaKhrQk60"
          },
          {
            "@name":"reference",
            "@content":"http://blog.siggraph.org/2017/07/3-siggraph-2017-mug-hacks.html"
          },
          {
            "@name":"reference",
            "@content":"../GeometricShapes/CubeWithLabeledSides.x3d"
          },
          {
            "@name":"TODO",
            "@content":"X3DOM Player Issue, Viewpoint PgDn/PgUp/Home/End https://github.com/x3dom/x3dom/issues/777"
          },
          {
            "@name":"identifier",
            "@content":"https://www.web3d.org/x3d/content/examples/X3dForAdvancedModeling/ShayDPixel/ShayDPixelBobbleHeadBoxSiggraph2017.x3d"
          },
          {
            "@name":"generator",
            "@content":"X3D-Edit 3.3, https://www.web3d.org/x3d/tools/X3D-Edit"
          },
          {
            "@name":"license",
            "@content":"Attribution-NonCommercial-ShareAlike 4.0 International (CC BY-NC-SA 4.0) https://creativecommons.org/licenses/by-nc-sa/4.0"
          },
          {
            "@name":"translated",
            "@content":"31 August 2025"
          },
          {
            "@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":"ShayDPixelBobbleHeadBoxSiggraph2017.x3d"
            }
          },
          { "Background":
            {
              "@skyColor":[0.1,0.1,0.1]
            }
          },
          { "Group":
            {
              "@DEF":"Front",
              "-children":[
                { "Viewpoint":
                  {
                    "@DEF":"FrontView",
                    "@description":"Front view",
                    "@orientation":[0,1,0,1.57],
                    "@position":[12,0,0]
                  }
                },
                { "Shape":
                  {
                    "-geometry":
                      { "IndexedFaceSet":
                        {
                          "@coordIndex":[0,1,2,3],
                          "@texCoordIndex":[0,1,2,3],
                          "-children":[
                            {
                              "#comment":"dimensions 3.75\" x 3.75\" x 6.5\""
                            }
                          ],
                          "-coord":
                            { "Coordinate":
                              {
                                "@DEF":"Points",
                                "@point":[1.875,3.25,1.875,1.875,-3.25,1.875,1.875,-3.25,-1.875,1.875,3.25,-1.875,-1.875,3.25,1.875,-1.875,-3.25,1.875,-1.875,-3.25,-1.875,-1.875,3.25,-1.875]
                              }
                            },
                          "-texCoord":
                            { "TextureCoordinate":
                              {
                                "@DEF":"DefaultTextureCoordinate",
                                "@point":[0,0,1,0,1,1,0,1]
                              }
                            }
                        }
                      },
                    "-appearance":
                      { "Appearance":
                        {
                          "-texture":
                            { "ImageTexture":
                              {
                                "@url":["images/BoxFrontSigned.jpg","https://www.web3d.org/x3d/content/examples/X3dForAdvancedModeling/ShayDPixel/images/BoxFrontSigned.jpg"]
                              }
                            },
                          "-children":[
                            {
                              "#comment":"Possible variation: experiment with indices to as alternative to TextureTransform rotations"
                            }
                          ],
                          "-textureTransform":
                            { "TextureTransform":
                              {
                                "@DEF":"RotateRight90",
                                "@rotation":-1.57
                              }
                            }
                        }
                      }
                  }
                }
              ]
            }
          },
          { "Group":
            {
              "@DEF":"LeftSide",
              "-children":[
                { "Viewpoint":
                  {
                    "@DEF":"LeftSideView",
                    "@description":"Left side view",
                    "@orientation":[0,1,0,3.1416],
                    "@position":[0,0,-12]
                  }
                },
                { "Shape":
                  {
                    "-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":["images/BoxLeftSide.jpg","https://www.web3d.org/x3d/content/examples/X3dForAdvancedModeling/ShayDPixel/images/BoxLeftSide.jpg"]
                              }
                            },
                          "-textureTransform":
                            { "TextureTransform":
                              {
                                "@USE":"RotateRight90"
                              }
                            }
                        }
                      }
                  }
                }
              ]
            }
          },
          { "Group":
            {
              "@DEF":"Back",
              "-children":[
                { "Viewpoint":
                  {
                    "@DEF":"BackView",
                    "@description":"Back view",
                    "@orientation":[0,1,0,-1.57],
                    "@position":[-12,0,0]
                  }
                },
                { "Shape":
                  {
                    "-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":["images/BoxBack.jpg","https://www.web3d.org/x3d/content/examples/X3dForAdvancedModeling/ShayDPixel/images/BoxBack.jpg"]
                              }
                            },
                          "-textureTransform":
                            { "TextureTransform":
                              {
                                "@USE":"RotateRight90"
                              }
                            }
                        }
                      }
                  }
                }
              ]
            }
          },
          { "Group":
            {
              "@DEF":"RightSide",
              "-children":[
                { "Viewpoint":
                  {
                    "@DEF":"RightSideView",
                    "@description":"Right Side view",
                    "@position":[0,0,12]
                  }
                },
                { "Shape":
                  {
                    "-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":["images/BoxRightSide.jpg","https://www.web3d.org/x3d/content/examples/X3dForAdvancedModeling/ShayDPixel/images/BoxRightSide.jpg"]
                              }
                            },
                          "-textureTransform":
                            { "TextureTransform":
                              {
                                "@DEF":"Rotate180",
                                "@rotation":3.14159
                              }
                            }
                        }
                      }
                  }
                }
              ]
            }
          },
          { "Group":
            {
              "@DEF":"Bottom",
              "-children":[
                { "Viewpoint":
                  {
                    "@DEF":"BottomView",
                    "@description":"Bottom view",
                    "@orientation":[1,0,0,1.57],
                    "@position":[0,-12,0]
                  }
                },
                { "Shape":
                  {
                    "-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":["images/BoxBottom.jpg","https://www.web3d.org/x3d/content/examples/X3dForAdvancedModeling/ShayDPixel/images/BoxBottom.jpg"]
                              }
                            },
                          "-textureTransform":
                            { "TextureTransform":
                              {
                                "@USE":"Rotate180"
                              }
                            }
                        }
                      }
                  }
                }
              ]
            }
          },
          { "Group":
            {
              "@DEF":"Top",
              "-children":[
                { "Viewpoint":
                  {
                    "@DEF":"TopView",
                    "@description":"Top view",
                    "@orientation":[-0.5772,0.5772,0.57766,2.09394],
                    "@position":[0,12,0],
                    "-children":[
                      {
                        "#comment":"RotationCalculator composed orientation: 1.0 0.0 0.0 -1.57, 0.0 0.0 1.0 1.570796"
                      }
                    ]
                  }
                },
                { "Shape":
                  {
                    "-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":["images/BoxTop.jpg","https://www.web3d.org/x3d/content/examples/X3dForAdvancedModeling/ShayDPixel/images/BoxTop.jpg"]
                              }
                            },
                          "-children":[
                            {
                              "#comment":"no TextureTransform rotation"
                            }
                          ]
                        }
                      }
                  }
                }
              ]
            }
          }
        ]
    }
  }
}