assimp/test/models/glTF2/issue_3269/texcoord_crash.gltf

611 lines
25 KiB
Plaintext
Raw Normal View History

2020-06-12 09:43:31 +00:00
{
"accessors" : [
{
"bufferView" : 0,
"componentType" : 5121,
"count" : 6,
"max" : [
3
],
"min" : [
0
],
"type" : "SCALAR"
},
{
"bufferView" : 1,
"componentType" : 5126,
"count" : 4,
"max" : [
1.2000000476837158,
1.2000001668930054,
-5.205485820169997e-08
],
"min" : [
0.19999980926513672,
0.20000004768371582,
-1.5933926533762133e-07
],
"type" : "VEC3"
},
{
"bufferView" : 2,
"componentType" : 5126,
"count" : 4,
"max" : [
-2.1316282072803006e-14,
1.0728441424134871e-07,
1.0
],
"min" : [
-2.1316282072803006e-14,
1.0728441424134871e-07,
1.0
],
"type" : "VEC3"
},
{
"name": "TopRight_TEXCOORD_0",
"bufferView" : 3,
"componentType" : 5126,
"count" : 4,
"max" : [
1.0,
0.3999999761581421
],
"min" : [
0.6000000238418579,
0.0
],
"type" : "VEC2"
},
{
"bufferView" : 4,
"componentType" : 5121,
"count" : 6,
"max" : [
3
],
"min" : [
0
],
"type" : "SCALAR"
},
{
"bufferView" : 5,
"componentType" : 5126,
"count" : 4,
"max" : [
-0.20000006258487701,
1.2000000476837158,
1.2601539367551595e-07
],
"min" : [
-1.2000001668930054,
0.19999974966049194,
-3.3740951721483725e-07
],
"type" : "VEC3"
},
{
"bufferView" : 6,
"componentType" : 5126,
"count" : 4,
"max" : [
1.7807019503379706e-07,
2.853547016457014e-07,
1.0
],
"min" : [
1.7807019503379706e-07,
2.853547016457014e-07,
1.0
],
"type" : "VEC3"
},
{
"name": "TopLeft_TEXCOORD_0",
"bufferView" : 7,
"componentType" : 5126,
"count" : 4,
"max" : [
0.3999999463558197,
0.3999999761581421
],
"min" : [
7.915305388905836e-08,
0.0
],
"type" : "VEC2"
},
{
"bufferView" : 8,
"componentType" : 5121,
"count" : 6,
"max" : [
3
],
"min" : [
0
],
"type" : "SCALAR"
},
{
"bufferView" : 9,
"componentType" : 5126,
"count" : 4,
"max" : [
1.2000001668930054,
-0.1999996304512024,
5.255118367131217e-07
],
"min" : [
0.2000000923871994,
-1.2000000476837158,
6.20869826661874e-08
],
"type" : "VEC3"
},
{
"bufferView" : 10,
"componentType" : 5126,
"count" : 4,
"max" : [
-1.7807025187721592e-07,
2.853545879588637e-07,
1.0
],
"min" : [
-1.7807025187721592e-07,
2.853545879588637e-07,
1.0
],
"type" : "VEC3"
},
{
"name": "BottomRight_TEXCOORD_0",
"bufferView" : 11,
"componentType" : 5126,
"count" : 4,
"max" : [
0.9999998807907104,
1.0
],
"min" : [
0.6000000834465027,
0.599999874830246
],
"type" : "VEC2"
},
{
"bufferView" : 12,
"componentType" : 5121,
"count" : 6,
"max" : [
3
],
"min" : [
0
],
"type" : "SCALAR"
},
{
"bufferView" : 13,
"componentType" : 5126,
"count" : 4,
"max" : [
1.0000001192092896,
1.0000001192092896,
-0.052591003477573395
],
"min" : [
-1.0000001192092896,
-1.0000001192092896,
-0.05259115248918533
],
"type" : "VEC3"
},
{
"bufferView" : 14,
"componentType" : 5126,
"count" : 4,
"max" : [
1.0658142730467397e-14,
-7.450581307466564e-08,
-1.0
],
"min" : [
1.0658142730467397e-14,
-7.450581307466564e-08,
-1.0
],
"type" : "VEC3"
},
{
"bufferView" : 15,
"componentType" : 5121,
"count" : 6,
"max" : [
3
],
"min" : [
0
],
"type" : "SCALAR"
},
{
"bufferView" : 16,
"componentType" : 5126,
"count" : 4,
"max" : [
-0.19999969005584717,
-0.2000000774860382,
5.255118367131217e-07
],
"min" : [
-1.2000000476837158,
-1.2000001668930054,
6.208701108789683e-08
],
"type" : "VEC3"
},
{
"bufferView" : 17,
"componentType" : 5126,
"count" : 4,
"max" : [
-8.526512829121202e-14,
4.6342486825778906e-07,
1.0
],
"min" : [
-8.526512829121202e-14,
4.6342486825778906e-07,
1.0
],
"type" : "VEC3"
},
{
"name": "BottomLeft_TEXCOORD_0",
"bufferView" : 18,
"componentType" : 5126,
"count" : 4,
"max" : [
0.40000009536743164,
0.9999999208469248
],
"min" : [
0.0,
0.6000000536441803
],
"type" : "VEC2"
}
],
"asset" : {
"copyright" : "Copyright 2017-2018 Analytical Graphics, Inc., CC-BY 4.0 https://creativecommons.org/licenses/by/4.0/ - Mesh and textures by Ed Mackey.",
"generator" : "Khronos Blender glTF 2.0 exporter, plus hand-edits",
"version" : "2.0"
},
"bufferViews" : [
{
"buffer" : 0,
"byteLength" : 6,
"byteOffset" : 0,
"target" : 34963
},
{
"buffer" : 0,
"byteLength" : 48,
"byteOffset" : 8,
"target" : 34962
},
{
"buffer" : 0,
"byteLength" : 48,
"byteOffset" : 56,
"target" : 34962
},
{
"buffer" : 0,
"byteLength" : 32,
"byteOffset" : 104,
"target" : 34962
},
{
"buffer" : 0,
"byteLength" : 6,
"byteOffset" : 136,
"target" : 34963
},
{
"buffer" : 0,
"byteLength" : 48,
"byteOffset" : 144,
"target" : 34962
},
{
"buffer" : 0,
"byteLength" : 48,
"byteOffset" : 192,
"target" : 34962
},
{
"buffer" : 0,
"byteLength" : 32,
"byteOffset" : 240,
"target" : 34962
},
{
"buffer" : 0,
"byteLength" : 6,
"byteOffset" : 272,
"target" : 34963
},
{
"buffer" : 0,
"byteLength" : 48,
"byteOffset" : 280,
"target" : 34962
},
{
"buffer" : 0,
"byteLength" : 48,
"byteOffset" : 328,
"target" : 34962
},
{
"buffer" : 0,
"byteLength" : 32,
"byteOffset" : 376,
"target" : 34962
},
{
"buffer" : 0,
"byteLength" : 6,
"byteOffset" : 408,
"target" : 34963
},
{
"buffer" : 0,
"byteLength" : 48,
"byteOffset" : 416,
"target" : 34962
},
{
"buffer" : 0,
"byteLength" : 48,
"byteOffset" : 464,
"target" : 34962
},
{
"buffer" : 0,
"byteLength" : 6,
"byteOffset" : 512,
"target" : 34963
},
{
"buffer" : 0,
"byteLength" : 48,
"byteOffset" : 520,
"target" : 34962
},
{
"buffer" : 0,
"byteLength" : 48,
"byteOffset" : 568,
"target" : 34962
},
{
"buffer" : 0,
"byteLength" : 32,
"byteOffset" : 616,
"target" : 34962
}
],
"buffers" : [
{
"byteLength" : 648,
"uri" : "data:application/octet-stream;base64,AAECAwEAAACamZk/2sxMPuySX7PAzEw+mZmZP9gWK7TKzEw+0MxMPuySX7OYmZk/m5mZP9gWK7QAAMCoO2TmMwAAgD8AAMCoO2TmMwAAgD8AAMCoO2TmMwAAgD8AAMCoO2TmMwAAgD8AAIA/zMzMPpqZGT8AAAAAmpkZP8zMzD4AAIA/AAAAAAABAgMBAAAA0cxMvsnMTD7okl+zm5mZv5iZmT/aFiu0mZmZv7zMTD7ZTgc03sxMvpqZmT82JbW0kDM/NNoymTQAAIA/kDM/NNoymTQAAIA/kDM/NNoymTQAAIA/kDM/NNoymTQAAIA/y8zMPszMzD7a+qkzAAAAANr6qTPMzMw+y8zMPgAAAAAAAQIDAQAAAJuZmT+YmZm/5hANNdPMTD7HzEy+rlSFM+bMTD6amZm/Boi6NJmZmT+0zEy+8u6ANJQzP7TWMpk0AACAP5QzP7TWMpk0AACAP5QzP7TWMpk0AACAP5QzP7TWMpk0AACAP/3/fz8AAIA/m5kZP5iZGT+cmRk/AACAP/7/fz+YmRk/AAECAAMBAAABAIC//f9/P9JpV70BAIA//f9/v6ppV739/3+/AQCAv6ppV739/38/AQCAP9JpV70CAEAoAQCgswAAgL8CAEAoAQCgswAAgL8CAEAoAQCgswAAgL8CAEAoAQCgswAAgL8AAQIDAQAAALjMTL6ZmZm/5hANNZqZmb/izEy+uFSFM5iZmb+bmZm/5hANNcjMTL7SzEy+slSFMwAAwKmhzPg0AACAPwAAwKmhzPg0AACAPwAAwKmhzPg0AACAPwAAwKmhzPg0AACAP9DMzD7//38/AACAM5qZGT8AAAAA//9/P83MzD6amRk/"
}
],
"images" : [
{
"uri" : "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAgAAAAIACAYAAAD0eNT6AAAACXBIWXMAAAsTAAALEwEAmpwYAAAAB3RJTUUH4QYcDhkW4QlOQwAAHBNJREFUe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3oZMJhMXXHBBPPLIIxERsW/fvn7f92Tt7e2xdu3aqK+vj6qqqpg7d2488MADMWnSpAEHou+++27ceuutMXXq1JgxY0bcdddd0dHR0e/ou2QGtqnAImLQRzEMtO6urq60cePGtHjx4jRx4sQ0ceLEtHjx4vSLX/widXd397uODz74IN15553p7LPPTjU1Nemyyy5Lr776at7bcrqdO3emZcuWpalTp6aqqqp07rnnptWrV6eWlpZBP8uhPmOAQvShXV1dadmyZQP2NcuXLz+lH+15fsqUKX2WraurS2+//XZefeg//vGPFBGpvr5+0OW7urrSV77ylaz7yZ7nzjzzzD7LrVu3LqvaNl7rZ8kGgLG2857sjjvuGHC75s+fnz755BMBABjVALBhw4YUEWn69OmpqakptbS0pJaWlrRt27Y0bdq0FBFp06ZNfdZx/fXXp1dffTW1t7en3bt3p8bGxhQR6dvf/vawtuXQoUPpxRdf7F3P2rVrB13+l7/8Ze92P/300+nw4cPp4MGDaefOnYMGgMsvvzzt2rUrHTp0KK1ZsyZFRJo3b96wBngCwCgHgLGy857uySefTBGRZs2alXbs2JEOHDiQ2traUnNzc7riiitSRKT77rtvyPUp+EAx+9CGhoYUEempp57qs3xTU1OKiLR48eIh+6SXX36535H7cGrIddddlzo6Ogbd9osvvjhFRNq+fXtWf2fPc8ePH+997sMPP0wRkTKZjAAwHgPAaO+8A7n00ktTRKTm5uY+r/33v/9NEZEWLVokAACjGgBqa2tTRKTW1tY+y7e0tKSISBMnThyyT/r0009TRKTq6uq8asj69euz2va6uroUEengwYM5BYCTdXd3Z73seK6fJXsfgLfeeisiIq688so+ry1btuyUZQbT0NAQERHvv/9+QbZr9+7dERFx8cUX9zmRZPbs2RER8e9//9vZR8CYOfE6m+cG0nMiXVVV1bBO+H700UcjImLz5s2xf//+IX+vq6srIiJqa2uH/TdXVlaWRdtOsPMWZ+cdyIkTJ7J+T4DRMn/+/IiIeP755/u89sILL0RExIIFC4Zcz0svvRQREYsWLRrWdqxatSruueee+OCDD+Kqq66Kjz76aNDlZ86cecpg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AIAACAAAAACAAAQGkY9lUAA5116OoAABi+kaqjZgAAoAwJAAAgAAAAAgAAIAAAAKWhMp9f7u9MRWf7A8Dw5XKVXT411wwAAJQhAQAABAAAQAAAAEpSXicB9nfygRMDASA/I1FLzQAAQBkSAABAAAAABAAAoCRV5ruC009UcMIfAOQnm5Ps8623ZgAAoAwJAAAgAAAA5SDvcwBOPwbhnAAAyF+x66kZAAAoQwIAAAgAAEA5qCzESk4+TuGYPwDkb7Bz7ApRa80AAEAZEgAAoAwV5BDAyVMRDgcAQGEUs6aaAQCAMiQAAEAZqizUinqmKUz7A0Bh9HeIvVB11gwAAJgByD+lmAkAgMIpVl01AwAAZgDyTylG/gBQOCfPsBeyxk4o9Eae/u8LAYCxN8CeMNY3EADMAhR+gF2RVGwAKDtOAgQAAQAAEAAAAAEAABAAAAABAAAQAAAAAQAAEAAAAAEAABAAAAABAAAQAAAAAQAAEAAAAAEAABAAAAABAAAEAABAAAAABAAAQAAAAAQAAEAAAAAEAABAAAAABAAAQAAAAAQAAEAAAAAEAABAAAAABAAA
}
],
"materials" : [
{
"name" : "BackPlaneMat",
"doubleSided": true,
"pbrMetallicRoughness" : {
"baseColorFactor" : [
0.16000001668930075,
0.16000001668930075,
0.16000001668930075,
1.0
],
"metallicFactor" : 0.0
}
},
{
"name" : "BottomLeftMat",
"doubleSided": true,
"pbrMetallicRoughness" : {
"baseColorFactor" : [
0.0,
0.16000000476837162,
0.800000011920929,
1.0
],
"baseColorTexture" : {
"index" : 0
},
"metallicFactor" : 0.0
}
},
{
"name" : "BottomRightMat",
"doubleSided": true,
"pbrMetallicRoughness" : {
"baseColorFactor" : [
0.0,
0.800000011920929,
0.0,
1.0
],
"baseColorTexture" : {
"index" : 0
},
"metallicFactor" : 0.0
}
},
{
"name" : "TopLeftMat",
"doubleSided": true,
"pbrMetallicRoughness" : {
"baseColorFactor" : [
0.800000011920929,
0.800000011920929,
0.0,
1.0
],
"baseColorTexture" : {
"index" : 0
},
"metallicFactor" : 0.0
}
},
{
"name" : "TopRightMat",
"doubleSided": true,
"pbrMetallicRoughness" : {
"baseColorFactor" : [
0.800000011920929,
0.08000000238418581,
0.0,
1.0
],
"baseColorTexture" : {
"index" : 0
},
"metallicFactor" : 0.0
}
}
],
"meshes" : [
{
"name" : "TopRightMesh",
"primitives" : [
{
"attributes" : {
"NORMAL" : 2,
"POSITION" : 1,
"TEXCOORD_1" : 3
},
"indices" : 0,
"material" : 4
}
]
},
{
"name" : "TopLeftMesh",
"primitives" : [
{
"attributes" : {
"NORMAL" : 6,
"POSITION" : 5,
"TEXCOORD_0" : 7
},
"indices" : 4,
"material" : 3
}
]
},
{
"name" : "BottomRightMesh",
"primitives" : [
{
"attributes" : {
"NORMAL" : 10,
"POSITION" : 9,
"TEXCOORD_0" : 11
},
"indices" : 8,
"material" : 2
}
]
},
{
"name" : "BackPlaneMesh",
"primitives" : [
{
"attributes" : {
"NORMAL" : 14,
"POSITION" : 13
},
"indices" : 12,
"material" : 0
}
]
},
{
"name" : "BottomLeftMesh",
"primitives" : [
{
"attributes" : {
"NORMAL" : 17,
"POSITION" : 16,
"TEXCOORD_0" : 18
},
"indices" : 15,
"material" : 1
}
]
}
],
"nodes" : [
{
"mesh" : 3,
"name" : "BackPlane"
},
{
"mesh" : 4,
"name" : "BottomLeftObj"
},
{
"mesh" : 2,
"name" : "BottomRightObj"
},
{
"mesh" : 1,
"name" : "TopLeftObj"
},
{
"mesh" : 0,
"name" : "TopRightObj"
}
],
"samplers" : [
{}
],
"scene" : 0,
"scenes" : [
{
"name" : "Scene",
"nodes" : [
0,
2,
1,
4,
3
]
}
],
"textures" : [
{
"sampler" : 0,
"source" : 0
}
]
}