#author("2024-07-27T15:19:37+00:00","default:iseki","iseki")
#author("2024-07-27T15:19:55+00:00","default:iseki","iseki")
** GLB
*** Apple
- https://ft-lab.github.io/gltf.html

 {
    "asset":{
        "version":"2.0",
        "generator":"glTF Converter for Shade3D",
        "extras":{"title":"apple","author":"ft-lab","license":"CC BY-4.0 (https://creativecommons.org/licenses/by/4.0/)" }
    },
 
    "accessors":[
        {"bufferView":0, "componentType":5123,"count":1632,"type":"SCALAR"},
        {"bufferView":1, "componentType":5126,"count":355, "type":"VEC3"},
        {"bufferView":2, "componentType":5126,"count":355, "type":"VEC3","max":[0.05562,0.10034,0.05478],"min":[-0.05567,0.08408,-0.05571]},
        {"bufferView":3, "componentType":5126,"count":355, "type":"VEC2"},
        {"bufferView":4, "componentType":5126,"count":355, "type":"VEC2"},
        {"bufferView":5, "normalized":true,"componentType":5121,"count":355,"type":"VEC4"},
        {"bufferView":6, "componentType":5123,"count":684, "type":"SCALAR"},
        {"bufferView":7, "componentType":5126,"count":142, "type":"VEC3"},
        {"bufferView":8, "componentType":5126,"count":142, "type":"VEC3","max":[0.03199,0.12690,0.01354],"min":[-0.00284,0.08925,-0.00343]},
        {"bufferView":9, "componentType":5126,"count":142, "type":"VEC2"},
        {"bufferView":10,"componentType":5126,"count":142, "type":"VEC2"},
        {"bufferView":11,"normalized":true,"componentType":5121,"count":142,"type":"VEC4"},
        {"bufferView":12,"componentType":5123,"count":81,  "type":"SCALAR"},
        {"bufferView":13,"componentType":5126,"count":29,  "type":"VEC3"},
        {"bufferView":14,"componentType":5126,"count":29,  "type":"VEC3","max":[0.02029,0.11232,-0.0018],"min":[-0.01387,0.08637,-0.07974]},
        {"bufferView":15,"componentType":5126,"count":29, " type":"VEC2"}
    ],
 
    "bufferViews":[
        {"buffer":0, "byteOffset":0,     "byteLength":3264, "target":34963},    // 0
        {"buffer":0, "byteOffset":3264,  "byteLength":4260, "target":34962},    // 1
        {"buffer":0, "byteOffset":7524,  "byteLength":4260, "target":34962},    // 2
        {"buffer":0, "byteOffset":11784, "byteLength":2840, "target":34962},    // 3
        {"buffer":0, "byteOffset":14624, "byteLength":2840, "target":34962},    // 4
        {"buffer":0, "byteOffset":17464, "byteLength":1420, "target":34962},    // 5
        {"buffer":0, "byteOffset":18884, "byteLength":1368, "target":34963},    // 6
        {"buffer":0, "byteOffset":20252, "byteLength":1704, "target":34962},    // 7
        {"buffer":0, "byteOffset":21956, "byteLength":1704, "target":34962},    // 8
        {"buffer":0, "byteOffset":23660, "byteLength":1136, "target":34962},    // 9
        {"buffer":0, "byteOffset":24796, "byteLength":1136, "target":34962},    // 10
        {"buffer":0, "byteOffset":25932, "byteLength":568,  "target":34962},    // 11
        {"buffer":0, "byteOffset":26500, "byteLength":162,  "target":34963},    // 12
        {"buffer":0, "byteOffset":26664, "byteLength":348,  "target":34962},    // 13
        {"buffer":0, "byteOffset":27012, "byteLength":348,  "target":34962},    // 14
        {"buffer":0, "byteOffset":27360, "byteLength":232,  "target":34962},    // 15
        {"buffer":0, "byteOffset":27592, "byteLength":16118},                   // 16 HPEG
        {"buffer":0, "byteOffset":43710, "byteLength":15509},                   // 17 JPEG
        {"buffer":0, "byteOffset":59219, "byteLength":49420}                    // 18 JPEG
    ],
 
    "buffers":[
        {"byteLength":108639}
    ],
 
    "images":[
        {"bufferView":16, "mimeType":"image/jpeg"},
        {"bufferView":17, "mimeType":"image/jpeg"},
        {"bufferView":18, "mimeType":"image/jpeg"}
    ],
 
    "materials":[
        {
            "pbrMetallicRoughness":{
                "baseColorTexture":{"index":0},
                "metallicFactor":0.08999999612569809,
                "roughnessFactor":0.7099999785423279,
                "metallicRoughnessTexture":{"index":2}
            },
            "normalTexture":{"index":1},
            "name":"Apple_Body",
            "extensions":{}
        },
        {
            "pbrMetallicRoughness":{
                "baseColorTexture":{"index":0},
                "metallicFactor":0.0
            },
            "normalTexture":{"index":1},
            "name":"Apple_Branch",
            "extensions":{}
        },
        {
            "pbrMetallicRoughness":{
                "baseColorTexture":{"index":0},
                "metallicFactor":0.0
            },
            "normalTexture":{"index":1},
            "name":"Apple_Leaf_doubleSided",
            "doubleSided":true,
            "extensions":{}
        }
    ],
 
    "meshes":[
        {
            "name":"Apple",
            "primitives":[
                {
                    "attributes":{"POSITION":2,"NORMAL":1,"TEXCOORD_0":3,"TEXCOORD_1":4,"COLOR_0":5},
                    "indices":0,
                    "material":0
                }
            ]
        },
        {
            "name":"Branch",
            "primitives":[
                {
                    "attributes":{"POSITION":8,"NORMAL":7,"TEXCOORD_0":9,"TEXCOORD_1":10,"COLOR_0":11},
                    "indices":6,
                    "material":1
                }
            ]
        },
        {
            "name":"Leaf",
            "primitives":[
                {
                    "attributes": {"POSITION":14,"NORMAL":13,"TEXCOORD_0":15},
                    "indices":12,
                    "material":2
                }
            ]
        }
    ],
 
    "nodes":[
        {
            "children":[1,2,3],
            "name":"a<83>≪a<83? a<83><88>a<83><91>a<83>? a<83><88>"
        },
        {
            "mesh":0,
            "name":"Apple"
        },
        {
            "mesh":1,
            "name":"Branch"
        },
        {
            "mesh":2,
            "name":"Leaf"
        }
    ],
 
    "samplers":[
        {
            "minFilter":9729
        },
        {
            "minFilter":9729
        },
        {
            "minFilter":9729
        }
    ],
 
    "scenes":[
        {
            "nodes":[0]
        }
    ],
 
    "textures":[
        {
            "sampler":0,
            "source":0
        },
        {
            "sampler":1,
            "source":1
        },
        {
            "sampler":2,
            "source":2
        }
    ],
 
    "scene":0
 }

トップ   編集 差分 バックアップ 添付 複製 名前変更 リロード   新規 ページ一覧 検索 最終更新   ヘルプ   最終更新のRSS