{ "X3D": {
    "encoding":"UTF-8",
    "@profile":"Interchange",
    "@version":"4.0",
    "@xsd:noNamespaceSchemaLocation":"https://www.web3d.org/specifications/x3d-4.0.xsd",
    "JSON schema":"https://www.web3d.org/specifications/x3d-4.0-JSONSchema.autogenerated.json",
    "head": {
        "component": [
          {
            "@name":"Shape",
            "@level":2
          }
        ],
        "meta": [
          {
            "@name":"title",
            "@content":"PhysicalMaterialNormalMap.x3d"
          },
          {
            "@name":"reference",
            "@content":"PhysicalMaterialNormalMap.blend"
          },
          {
            "@name":"description",
            "@content":"Example of PhysicalMaterial node to give appearance of brass metal, converted from Blender source. This example material uses normal map defined by ImageTexture to show indentations. This file was generated from a Blender scene exported to glTF, then converted to X3D by Castle Model Viewer. Additional editing by X3D-Edit to achieve conformance with X3D V4"
          },
          {
            "@name":"creator",
            "@content":"Vincent Marchetti"
          },
          {
            "@name":"created",
            "@content":"13 December 2025"
          },
          {
            "@name":"modified",
            "@content":"20 December 2025"
          },
          {
            "@name":"generator",
            "@content":"Blender 4.2 https://www.blender.org"
          },
          {
            "@name":"generator",
            "@content":"castle-model-viewer, https://castle-engine.io/castle-model-viewer"
          },
          {
            "@name":"generator",
            "@content":"X3D-Edit 4.0, https://www.web3d.org/x3d/tools/X3D-Edit"
          },
          {
            "@name":"source",
            "@content":"PhysicalMaterialNormalMap.glb"
          },
          {
            "@name":"identifier",
            "@content":"https://www.web3d.org/x3d/content/examples/X3dForAdvancedModeling/Conversions/PhysicalMaterialNormalMap.x3d"
          },
          {
            "@name":"license",
            "@content":"https://www.web3d.org/x3d/content/examples/license.html"
          },
          {
            "@name":"translated",
            "@content":"20 December 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":[
          { "Transform":
            {
              "@DEF":"CastleEncoded_Shape_IndexedFaceSet46001",
              "-children":[
                { "Group":
                  {
                    "@DEF":"CastleEncoded_Shape_IndexedFaceSet46001_2",
                    "-children":[
                      { "Transform":
                        {
                          "@scale":[0.4,0.4,0.4],
                          "-children":[
                            { "Shape":
                              {
                                "@DEF":"CastleEncoded_Shape_IndexedFaceSet46001_Primitive0",
                                "@bboxSize":[16,9,0],
                                "-appearance":
                                  { "Appearance":
                                    {
                                      "@DEF":"dimpled_brass",
                                      "@alphaMode":"OPAQUE",
                                      "-material":
                                        { "PhysicalMaterial":
                                          {
                                            "@baseColor":[0.7529,0.5332,0.1559],
                                            "@metallic":0.80179,
                                            "@normalTextureMapping":"TEXCOORD_0",
                                            "@roughness":0.1491,
                                            "-normalTexture":[
                                              { "ImageTexture":
                                                {
                                                  "@DEF":"normal_map_dimples",
                                                  "@url":["normal_map_dimples.png","http://www.example.com/normal_map_dimples.png"],
                                                  "-textureProperties":
                                                    { "TextureProperties":
                                                      {
                                                        "@generateMipMaps":true,
                                                        "@magnificationFilter":"AVG_PIXEL",
                                                        "@minificationFilter":"AVG_PIXEL_AVG_MIPMAP"
                                                      }
                                                    }
                                                }
                                              }
                                            ]
                                          }
                                        }
                                    }
                                  },
                                "-geometry":
                                  { "IndexedTriangleSet":
                                    {
                                      "@index":[0,1,3,0,3,2],
                                      "@solid":false,
                                      "-coord":
                                        { "Coordinate":
                                          {
                                            "@point":[-8,-4.5,0,8,-4.5,0,-8,4.5,0,8,4.5,0]
                                          }
                                        },
                                      "-texCoord":
                                        { "MultiTextureCoordinate":
                                          {
                                            "-texCoord":[
                                              { "TextureCoordinate":
                                                {
                                                  "@mapping":"TEXCOORD_0",
                                                  "@point":[4,1,0,1,4,-1.25,0,-1.25]
                                                }
                                              }
                                            ]
                                          }
                                        }
                                    }
                                  }
                              }
                            }
                          ]
                        }
                      }
                    ]
                  }
                }
              ]
            }
          }
        ]
    }
  }
}