qmuntal/gltf

View on GitHub
testdata/Box With Spaces/glTF/Box With Spaces.gltf

Summary

Maintainability
Test Coverage
{
    "asset" : {
        "copyright" : "CC0 by Ed Mackey, AGI",
        "generator" : "Khronos glTF Blender I/O v1.3.48",
        "version" : "2.0"
    },
    "scene" : 0,
    "scenes" : [
        {
            "name" : "Scene",
            "nodes" : [
                0
            ]
        }
    ],
    "nodes" : [
        {
            "mesh" : 0,
            "name" : "Cube"
        }
    ],
    "materials" : [
        {
            "emissiveFactor" : [
                0,
                0,
                0
            ],
            "name" : "Material",
            "normalTexture" : {
                "index" : 0,
                "texCoord" : 0
            },
            "pbrMetallicRoughness" : {
                "baseColorTexture" : {
                    "index" : 1,
                    "texCoord" : 0
                },
                "metallicRoughnessTexture" : {
                    "index" : 2,
                    "texCoord" : 0
                }
            }
        }
    ],
    "meshes" : [
        {
            "name" : "Cube",
            "primitives" : [
                {
                    "attributes" : {
                        "POSITION" : 0,
                        "NORMAL" : 1,
                        "TEXCOORD_0" : 2
                    },
                    "indices" : 3,
                    "material" : 0
                }
            ]
        }
    ],
    "textures" : [
        {
            "source" : 0
        },
        {
            "source" : 1
        },
        {
            "source" : 2
        }
    ],
    "images" : [
        {
            "mimeType" : "image/png",
            "name" : "Normal Map",
            "uri" : "Normal%20Map.png"
        },
        {
            "mimeType" : "image/png",
            "name" : "glTF Logo With Spaces",
            "uri" : "glTF%20Logo%20With%20Spaces.png"
        },
        {
            "mimeType" : "image/png",
            "name" : "Roughness Metallic",
            "uri" : "Roughness%20Metallic.png"
        }
    ],
    "accessors" : [
        {
            "bufferView" : 0,
            "componentType" : 5126,
            "count" : 24,
            "max" : [
                1,
                1,
                1
            ],
            "min" : [
                -1,
                -1,
                -1
            ],
            "type" : "VEC3"
        },
        {
            "bufferView" : 1,
            "componentType" : 5126,
            "count" : 24,
            "type" : "VEC3"
        },
        {
            "bufferView" : 2,
            "componentType" : 5126,
            "count" : 24,
            "type" : "VEC2"
        },
        {
            "bufferView" : 3,
            "componentType" : 5123,
            "count" : 36,
            "type" : "SCALAR"
        }
    ],
    "bufferViews" : [
        {
            "buffer" : 0,
            "byteLength" : 288,
            "byteOffset" : 0
        },
        {
            "buffer" : 0,
            "byteLength" : 288,
            "byteOffset" : 288
        },
        {
            "buffer" : 0,
            "byteLength" : 192,
            "byteOffset" : 576
        },
        {
            "buffer" : 0,
            "byteLength" : 72,
            "byteOffset" : 768
        }
    ],
    "buffers" : [
        {
            "byteLength" : 840,
            "uri" : "Box With Spaces.bin"
        }
    ]
}