Skip to content

Instantly share code, notes, and snippets.

@bertt
Created April 19, 2023 08:00
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save bertt/050cc314ac623f834f66a6e7040248a1 to your computer and use it in GitHub Desktop.
Save bertt/050cc314ac623f834f66a6e7040248a1 to your computer and use it in GitHub Desktop.
gltf_read_error
{
"extensions":{
"EXT_structural_metadata":{
"schema":{
"classes":{
"terrain":{
"description":"class description",
"name":"terrain",
"properties":{
"objectid":{
"componentType":"INT32",
"noData":2147483647,
"type":"SCALAR"
}
}
}
}
}
}
},
"asset":{
"copyright":"",
"generator":"SharpGLTF 1.0.0",
"version":"2.0"
},
"accessors":[
{
"name":"POSITION",
"bufferView":0,
"componentType":5126,
"count":5,
"max":[
10,
10,
0
],
"min":[
-10,
-10,
0
],
"type":"VEC3"
},
{
"bufferView":1,
"componentType":5123,
"count":6,
"type":"SCALAR"
},
{
"name":"TestAccessor",
"bufferView":2,
"componentType":5125,
"count":2,
"type":"SCALAR"
}
],
"bufferViews":[
{
"buffer":0,
"byteLength":60,
"byteStride":12,
"target":34962
},
{
"buffer":0,
"byteLength":12,
"byteOffset":60,
"target":34963
},
{
"buffer":1,
"byteLength":8
}
],
"buffers":[
{
"byteLength":72,
"uri":"$$$deepclone$$$_0.bin"
},
{
"byteLength":8,
"uri":"$$$deepclone$$$_1.bin"
}
],
"materials":[
{
"name":"Default",
"pbrMetallicRoughness":{
}
}
],
"meshes":[
{
"name":"mesh",
"primitives":[
{
"attributes":{
"POSITION":0
},
"indices":1,
"material":0
}
]
}
],
"nodes":[
{
"mesh":0
}
],
"scene":0,
"scenes":[
{
"nodes":[
0
]
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment