new stuff
This commit is contained in:
parent
8998bc3936
commit
64c8492e5c
6907 changed files with 3401899 additions and 0 deletions
Binary file not shown.
15
assimp/test/models/glTF2/AnimatedMorphCube/LICENSE.md
Normal file
15
assimp/test/models/glTF2/AnimatedMorphCube/LICENSE.md
Normal file
|
|
@ -0,0 +1,15 @@
|
|||
# LICENSE file for the model: Animated Morph Cube
|
||||
|
||||
All files in this directory tree are licensed as indicated below.
|
||||
|
||||
* All files directly associated with the model including all text, image and binary files:
|
||||
|
||||
* [CC0 1.0 Universal]("https://creativecommons.org/publicdomain/zero/1.0/legalcode") [SPDX license identifier: "CC0-1.0"]
|
||||
|
||||
* This file and all other metadocumentation files including "metadata.json":
|
||||
|
||||
* [Creative Commons Attribtution 4.0 International]("https://creativecommons.org/licenses/by/4.0/legalcode") [SPDX license identifier: "CC-BY-4.0"]
|
||||
|
||||
Full license text of these licenses are available at the links above
|
||||
|
||||
#### Generated by modelmetadata
|
||||
12
assimp/test/models/glTF2/AnimatedMorphCube/README.body.md
Normal file
12
assimp/test/models/glTF2/AnimatedMorphCube/README.body.md
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
## Screenshot
|
||||
|
||||

|
||||
|
||||
## Description
|
||||
|
||||
The cube contains two morph targets in it:
|
||||
|
||||
* **`thin`** : moves the vertices so that it becomes super-thin
|
||||
* **`angle`** : moves the vertices so that it forms a ramp
|
||||
|
||||
The animation loops, morphing between these two states.
|
||||
36
assimp/test/models/glTF2/AnimatedMorphCube/README.md
Normal file
36
assimp/test/models/glTF2/AnimatedMorphCube/README.md
Normal file
|
|
@ -0,0 +1,36 @@
|
|||
# Animated Morph Cube
|
||||
|
||||
## Tags
|
||||
|
||||
[core](../../Models-core.md), [testing](../../Models-testing.md)
|
||||
|
||||
## Summary
|
||||
|
||||
Demonstrates a simple cube with two simple morph targets and an animation that transitions between them both.
|
||||
|
||||
## Operations
|
||||
|
||||
* [Display](https://github.khronos.org/glTF-Sample-Viewer-Release/?model=https://raw.GithubUserContent.com/KhronosGroup/glTF-Sample-Assets/main/./Models/AnimatedMorphCube/glTF-Binary/AnimatedMorphCube.glb) in SampleViewer
|
||||
* [Download GLB](https://raw.GithubUserContent.com/KhronosGroup/glTF-Sample-Assets/main/./Models/AnimatedMorphCube/glTF-Binary/AnimatedMorphCube.glb)
|
||||
* [Model Directory](./)
|
||||
|
||||
## Screenshot
|
||||
|
||||

|
||||
|
||||
## Description
|
||||
|
||||
The cube contains two morph targets in it:
|
||||
|
||||
* **`thin`** : moves the vertices so that it becomes super-thin
|
||||
* **`angle`** : moves the vertices so that it forms a ramp
|
||||
|
||||
The animation loops, morphing between these two states.
|
||||
|
||||
## Legal
|
||||
|
||||
© 2017, Public. [CC0 1.0 Universal](https://creativecommons.org/publicdomain/zero/1.0/legalcode)
|
||||
|
||||
- Microsoft for Everything
|
||||
|
||||
#### Assembled by modelmetadata
|
||||
Binary file not shown.
|
|
@ -0,0 +1,282 @@
|
|||
{
|
||||
"accessors": [
|
||||
{
|
||||
"bufferView": 0,
|
||||
"componentType": 5126,
|
||||
"count": 24,
|
||||
"type": "VEC3"
|
||||
},
|
||||
{
|
||||
"bufferView": 1,
|
||||
"componentType": 5126,
|
||||
"count": 24,
|
||||
"type": "VEC4"
|
||||
},
|
||||
{
|
||||
"bufferView": 2,
|
||||
"componentType": 5126,
|
||||
"count": 24,
|
||||
"type": "VEC3",
|
||||
"max": [
|
||||
0.0100000035,
|
||||
0.0100000035,
|
||||
0.01
|
||||
],
|
||||
"min": [
|
||||
-0.0100000044,
|
||||
-0.0100000054,
|
||||
-0.01
|
||||
]
|
||||
},
|
||||
{
|
||||
"bufferView": 3,
|
||||
"componentType": 5126,
|
||||
"count": 24,
|
||||
"type": "VEC3",
|
||||
"name": "thin"
|
||||
},
|
||||
{
|
||||
"bufferView": 4,
|
||||
"componentType": 5126,
|
||||
"count": 24,
|
||||
"type": "VEC3",
|
||||
"max": [
|
||||
0.0,
|
||||
0.01893253,
|
||||
0.0
|
||||
],
|
||||
"min": [
|
||||
0.0,
|
||||
0.0,
|
||||
0.0
|
||||
],
|
||||
"name": "thin"
|
||||
},
|
||||
{
|
||||
"bufferView": 5,
|
||||
"componentType": 5126,
|
||||
"count": 24,
|
||||
"type": "VEC3",
|
||||
"name": "thin"
|
||||
},
|
||||
{
|
||||
"bufferView": 6,
|
||||
"componentType": 5126,
|
||||
"count": 24,
|
||||
"type": "VEC3",
|
||||
"name": "angle"
|
||||
},
|
||||
{
|
||||
"bufferView": 7,
|
||||
"componentType": 5126,
|
||||
"count": 24,
|
||||
"type": "VEC3",
|
||||
"max": [
|
||||
0.0,
|
||||
0.0198908355,
|
||||
0.0
|
||||
],
|
||||
"min": [
|
||||
0.0,
|
||||
0.0,
|
||||
0.0
|
||||
],
|
||||
"name": "angle"
|
||||
},
|
||||
{
|
||||
"bufferView": 8,
|
||||
"componentType": 5126,
|
||||
"count": 24,
|
||||
"type": "VEC3",
|
||||
"name": "angle"
|
||||
},
|
||||
{
|
||||
"bufferView": 9,
|
||||
"componentType": 5123,
|
||||
"count": 36,
|
||||
"type": "SCALAR"
|
||||
},
|
||||
{
|
||||
"bufferView": 10,
|
||||
"componentType": 5126,
|
||||
"count": 127,
|
||||
"type": "SCALAR",
|
||||
"max": [
|
||||
4.19999743
|
||||
],
|
||||
"min": [
|
||||
0.0
|
||||
]
|
||||
},
|
||||
{
|
||||
"bufferView": 11,
|
||||
"componentType": 5126,
|
||||
"count": 254,
|
||||
"type": "SCALAR"
|
||||
}
|
||||
],
|
||||
"animations": [
|
||||
{
|
||||
"channels": [
|
||||
{
|
||||
"sampler": 0,
|
||||
"target": {
|
||||
"node": 0,
|
||||
"path": "weights"
|
||||
}
|
||||
}
|
||||
],
|
||||
"samplers": [
|
||||
{
|
||||
"input": 10,
|
||||
"interpolation": "LINEAR",
|
||||
"output": 11
|
||||
}
|
||||
],
|
||||
"name": "Square"
|
||||
}
|
||||
],
|
||||
"asset": {
|
||||
"generator": "glTF Tools for Unity",
|
||||
"version": "2.0"
|
||||
},
|
||||
"bufferViews": [
|
||||
{
|
||||
"buffer": 0,
|
||||
"byteLength": 288
|
||||
},
|
||||
{
|
||||
"buffer": 0,
|
||||
"byteOffset": 288,
|
||||
"byteLength": 384
|
||||
},
|
||||
{
|
||||
"buffer": 0,
|
||||
"byteOffset": 672,
|
||||
"byteLength": 288
|
||||
},
|
||||
{
|
||||
"buffer": 0,
|
||||
"byteOffset": 960,
|
||||
"byteLength": 288
|
||||
},
|
||||
{
|
||||
"buffer": 0,
|
||||
"byteOffset": 1248,
|
||||
"byteLength": 288
|
||||
},
|
||||
{
|
||||
"buffer": 0,
|
||||
"byteOffset": 1536,
|
||||
"byteLength": 288
|
||||
},
|
||||
{
|
||||
"buffer": 0,
|
||||
"byteOffset": 1824,
|
||||
"byteLength": 288
|
||||
},
|
||||
{
|
||||
"buffer": 0,
|
||||
"byteOffset": 2112,
|
||||
"byteLength": 288
|
||||
},
|
||||
{
|
||||
"buffer": 0,
|
||||
"byteOffset": 2400,
|
||||
"byteLength": 288
|
||||
},
|
||||
{
|
||||
"buffer": 0,
|
||||
"byteOffset": 2688,
|
||||
"byteLength": 72
|
||||
},
|
||||
{
|
||||
"buffer": 0,
|
||||
"byteOffset": 2760,
|
||||
"byteLength": 508
|
||||
},
|
||||
{
|
||||
"buffer": 0,
|
||||
"byteOffset": 3268,
|
||||
"byteLength": 1016
|
||||
}
|
||||
],
|
||||
"buffers": [
|
||||
{
|
||||
"uri": "AnimatedMorphCube.bin",
|
||||
"byteLength": 4284
|
||||
}
|
||||
],
|
||||
"meshes": [
|
||||
{
|
||||
"primitives": [
|
||||
{
|
||||
"attributes": {
|
||||
"NORMAL": 0,
|
||||
"TANGENT": 1,
|
||||
"POSITION": 2
|
||||
},
|
||||
"indices": 9,
|
||||
"material": 0,
|
||||
"targets": [
|
||||
{
|
||||
"NORMAL": 3,
|
||||
"POSITION": 4,
|
||||
"TANGENT": 5
|
||||
},
|
||||
{
|
||||
"NORMAL": 6,
|
||||
"POSITION": 7,
|
||||
"TANGENT": 8
|
||||
}
|
||||
]
|
||||
}
|
||||
],
|
||||
"weights": [
|
||||
0.0,
|
||||
0.0
|
||||
],
|
||||
"name": "Cube"
|
||||
}
|
||||
],
|
||||
"materials": [
|
||||
{
|
||||
"pbrMetallicRoughness": {
|
||||
"baseColorFactor": [
|
||||
0.6038274,
|
||||
0.6038274,
|
||||
0.6038274,
|
||||
1.0
|
||||
],
|
||||
"metallicFactor": 0.0,
|
||||
"roughnessFactor": 0.5
|
||||
},
|
||||
"name": "Material"
|
||||
}
|
||||
],
|
||||
"nodes": [
|
||||
{
|
||||
"mesh": 0,
|
||||
"rotation": [
|
||||
0.0,
|
||||
0.7071067,
|
||||
-0.7071068,
|
||||
0.0
|
||||
],
|
||||
"scale": [
|
||||
100.0,
|
||||
100.0,
|
||||
100.0
|
||||
],
|
||||
"name": "AnimatedMorphCube"
|
||||
}
|
||||
],
|
||||
"scene": 0,
|
||||
"scenes": [
|
||||
{
|
||||
"nodes": [
|
||||
0
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
20
assimp/test/models/glTF2/AnimatedMorphSphere/README.md
Normal file
20
assimp/test/models/glTF2/AnimatedMorphSphere/README.md
Normal file
|
|
@ -0,0 +1,20 @@
|
|||
# Animated Morph Sphere
|
||||
|
||||
## Screenshot
|
||||
|
||||

|
||||
|
||||
## Description
|
||||
|
||||
The sphere contains two morph targets in it:
|
||||
|
||||
* **`blob`** : moves the vertices so that it becomes a somewhat amorphous fat, blob shape.
|
||||
* **`ship`** : moves the vertices so that it looks a bit like a spaceship, the goal being
|
||||
to just make it a much more complicated morph example than the [cube](../AnimatedMorphCube/README.md).
|
||||
|
||||
The animation loops, morphing between these two states.
|
||||
|
||||
## License Information
|
||||
|
||||
[](http://creativecommons.org/publicdomain/zero/1.0/)
|
||||
To the extent possible under law, Microsoft has waived all copyright and related or neighboring rights to this asset.
|
||||
File diff suppressed because one or more lines are too long
|
|
@ -0,0 +1,276 @@
|
|||
{
|
||||
"accessors": [
|
||||
{
|
||||
"bufferView": 0,
|
||||
"componentType": 5126,
|
||||
"count": 1876,
|
||||
"type": "VEC3"
|
||||
},
|
||||
{
|
||||
"bufferView": 1,
|
||||
"componentType": 5126,
|
||||
"count": 1876,
|
||||
"type": "VEC4"
|
||||
},
|
||||
{
|
||||
"bufferView": 2,
|
||||
"componentType": 5126,
|
||||
"count": 1876,
|
||||
"type": "VEC3",
|
||||
"max": [
|
||||
0.009999998,
|
||||
0.009999991,
|
||||
0.01
|
||||
],
|
||||
"min": [
|
||||
-0.0100000026,
|
||||
-0.0100000035,
|
||||
-0.01
|
||||
]
|
||||
},
|
||||
{
|
||||
"bufferView": 3,
|
||||
"componentType": 5126,
|
||||
"count": 1876,
|
||||
"type": "VEC3",
|
||||
"name": "Ship"
|
||||
},
|
||||
{
|
||||
"bufferView": 4,
|
||||
"componentType": 5126,
|
||||
"count": 1876,
|
||||
"type": "VEC3",
|
||||
"max": [
|
||||
0.0313265175,
|
||||
0.0226246975,
|
||||
0.008465132
|
||||
],
|
||||
"min": [
|
||||
-0.0313265137,
|
||||
-0.022857653,
|
||||
0.0
|
||||
],
|
||||
"name": "Ship"
|
||||
},
|
||||
{
|
||||
"bufferView": 5,
|
||||
"componentType": 5126,
|
||||
"count": 1876,
|
||||
"type": "VEC3",
|
||||
"name": "Ship"
|
||||
},
|
||||
{
|
||||
"bufferView": 6,
|
||||
"componentType": 5126,
|
||||
"count": 1876,
|
||||
"type": "VEC3",
|
||||
"name": "Blob"
|
||||
},
|
||||
{
|
||||
"bufferView": 7,
|
||||
"componentType": 5126,
|
||||
"count": 1876,
|
||||
"type": "VEC3",
|
||||
"max": [
|
||||
0.008781092,
|
||||
0.0,
|
||||
0.0
|
||||
],
|
||||
"min": [
|
||||
-0.008781091,
|
||||
-0.0007655843,
|
||||
0.0
|
||||
],
|
||||
"name": "Blob"
|
||||
},
|
||||
{
|
||||
"bufferView": 8,
|
||||
"componentType": 5126,
|
||||
"count": 1876,
|
||||
"type": "VEC3",
|
||||
"name": "Blob"
|
||||
},
|
||||
{
|
||||
"bufferView": 9,
|
||||
"componentType": 5123,
|
||||
"count": 2880,
|
||||
"type": "SCALAR"
|
||||
},
|
||||
{
|
||||
"bufferView": 10,
|
||||
"componentType": 5126,
|
||||
"count": 217,
|
||||
"type": "SCALAR",
|
||||
"max": [
|
||||
7.19999456
|
||||
],
|
||||
"min": [
|
||||
0.0
|
||||
]
|
||||
},
|
||||
{
|
||||
"bufferView": 11,
|
||||
"componentType": 5126,
|
||||
"count": 434,
|
||||
"type": "SCALAR"
|
||||
}
|
||||
],
|
||||
"animations": [
|
||||
{
|
||||
"channels": [
|
||||
{
|
||||
"sampler": 0,
|
||||
"target": {
|
||||
"node": 0,
|
||||
"path": "weights"
|
||||
}
|
||||
}
|
||||
],
|
||||
"samplers": [
|
||||
{
|
||||
"input": 10,
|
||||
"interpolation": "LINEAR",
|
||||
"output": 11
|
||||
}
|
||||
],
|
||||
"name": "Globe"
|
||||
}
|
||||
],
|
||||
"asset": {
|
||||
"generator": "glTF Tools for Unity",
|
||||
"version": "2.0"
|
||||
},
|
||||
"bufferViews": [
|
||||
{
|
||||
"buffer": 0,
|
||||
"byteLength": 22512
|
||||
},
|
||||
{
|
||||
"buffer": 0,
|
||||
"byteOffset": 22512,
|
||||
"byteLength": 30016
|
||||
},
|
||||
{
|
||||
"buffer": 0,
|
||||
"byteOffset": 52528,
|
||||
"byteLength": 22512
|
||||
},
|
||||
{
|
||||
"buffer": 0,
|
||||
"byteOffset": 75040,
|
||||
"byteLength": 22512
|
||||
},
|
||||
{
|
||||
"buffer": 0,
|
||||
"byteOffset": 97552,
|
||||
"byteLength": 22512
|
||||
},
|
||||
{
|
||||
"buffer": 0,
|
||||
"byteOffset": 120064,
|
||||
"byteLength": 22512
|
||||
},
|
||||
{
|
||||
"buffer": 0,
|
||||
"byteOffset": 142576,
|
||||
"byteLength": 22512
|
||||
},
|
||||
{
|
||||
"buffer": 0,
|
||||
"byteOffset": 165088,
|
||||
"byteLength": 22512
|
||||
},
|
||||
{
|
||||
"buffer": 0,
|
||||
"byteOffset": 187600,
|
||||
"byteLength": 22512
|
||||
},
|
||||
{
|
||||
"buffer": 0,
|
||||
"byteOffset": 210112,
|
||||
"byteLength": 5760
|
||||
},
|
||||
{
|
||||
"buffer": 0,
|
||||
"byteOffset": 215872,
|
||||
"byteLength": 868
|
||||
},
|
||||
{
|
||||
"buffer": 0,
|
||||
"byteOffset": 216740,
|
||||
"byteLength": 1736
|
||||
}
|
||||
],
|
||||
"buffers": [
|
||||
{
|
||||
"uri": "AnimatedMorphSphere.bin",
|
||||
"byteLength": 218476
|
||||
}
|
||||
],
|
||||
"meshes": [
|
||||
{
|
||||
"primitives": [
|
||||
{
|
||||
"attributes": {
|
||||
"NORMAL": 0,
|
||||
"TANGENT": 1,
|
||||
"POSITION": 2
|
||||
},
|
||||
"indices": 9,
|
||||
"material": 0,
|
||||
"targets": [
|
||||
{
|
||||
"NORMAL": 3,
|
||||
"POSITION": 4,
|
||||
"TANGENT": 5
|
||||
},
|
||||
{
|
||||
"NORMAL": 6,
|
||||
"POSITION": 7,
|
||||
"TANGENT": 8
|
||||
}
|
||||
]
|
||||
}
|
||||
],
|
||||
"weights": [
|
||||
0.0,
|
||||
0.0
|
||||
],
|
||||
"name": "Sphere"
|
||||
}
|
||||
],
|
||||
"materials": [
|
||||
{
|
||||
"pbrMetallicRoughness": {
|
||||
"metallicFactor": 0.0,
|
||||
"roughnessFactor": 0.5
|
||||
},
|
||||
"name": "No Name"
|
||||
}
|
||||
],
|
||||
"nodes": [
|
||||
{
|
||||
"mesh": 0,
|
||||
"rotation": [
|
||||
0.0,
|
||||
0.7071067,
|
||||
-0.7071068,
|
||||
0.0
|
||||
],
|
||||
"scale": [
|
||||
100.0,
|
||||
100.0,
|
||||
100.0
|
||||
],
|
||||
"name": "AnimatedMorphSphere"
|
||||
}
|
||||
],
|
||||
"scene": 0,
|
||||
"scenes": [
|
||||
{
|
||||
"nodes": [
|
||||
0
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
Binary file not shown.
BIN
assimp/test/models/glTF2/BoxTexcoords-glTF/boxTexcoords.bin
Normal file
BIN
assimp/test/models/glTF2/BoxTexcoords-glTF/boxTexcoords.bin
Normal file
Binary file not shown.
172
assimp/test/models/glTF2/BoxTexcoords-glTF/boxTexcoords.gltf
Normal file
172
assimp/test/models/glTF2/BoxTexcoords-glTF/boxTexcoords.gltf
Normal file
|
|
@ -0,0 +1,172 @@
|
|||
{
|
||||
"asset" : {
|
||||
"generator" : "Khronos glTF Blender I/O v1.0.5",
|
||||
"version" : "2.0"
|
||||
},
|
||||
"scene" : 0,
|
||||
"scenes" : [
|
||||
{
|
||||
"name" : "Scene",
|
||||
"nodes" : [
|
||||
0,
|
||||
1,
|
||||
2
|
||||
]
|
||||
}
|
||||
],
|
||||
"nodes" : [
|
||||
{
|
||||
"mesh" : 0,
|
||||
"name" : "Cube"
|
||||
},
|
||||
{
|
||||
"name" : "Light",
|
||||
"rotation" : [
|
||||
0.16907575726509094,
|
||||
0.7558803558349609,
|
||||
-0.27217137813568115,
|
||||
0.570947527885437
|
||||
],
|
||||
"translation" : [
|
||||
4.076245307922363,
|
||||
5.903861999511719,
|
||||
-1.0054539442062378
|
||||
]
|
||||
},
|
||||
{
|
||||
"name" : "Camera",
|
||||
"rotation" : [
|
||||
0.483536034822464,
|
||||
0.33687159419059753,
|
||||
-0.20870360732078552,
|
||||
0.7804827094078064
|
||||
],
|
||||
"translation" : [
|
||||
7.358891487121582,
|
||||
4.958309173583984,
|
||||
6.925790786743164
|
||||
]
|
||||
}
|
||||
],
|
||||
"materials" : [
|
||||
{
|
||||
"doubleSided" : true,
|
||||
"name" : "Material",
|
||||
"pbrMetallicRoughness" : {
|
||||
"baseColorTexture" : {
|
||||
"index" : 0,
|
||||
"texCoord" : 0
|
||||
},
|
||||
"metallicFactor" : 0,
|
||||
"metallicRoughnessTexture" : {
|
||||
"index" : 0,
|
||||
"texCoord" : 1
|
||||
}
|
||||
}
|
||||
}
|
||||
],
|
||||
"meshes" : [
|
||||
{
|
||||
"name" : "Cube",
|
||||
"primitives" : [
|
||||
{
|
||||
"attributes" : {
|
||||
"POSITION" : 0,
|
||||
"NORMAL" : 1,
|
||||
"TEXCOORD_0" : 2,
|
||||
"TEXCOORD_1" : 3
|
||||
},
|
||||
"indices" : 4,
|
||||
"material" : 0
|
||||
}
|
||||
]
|
||||
}
|
||||
],
|
||||
"textures" : [
|
||||
{
|
||||
"source" : 0
|
||||
}
|
||||
],
|
||||
"images" : [
|
||||
{
|
||||
"mimeType" : "image/png",
|
||||
"name" : "Material Base Color",
|
||||
"uri" : "texture.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" : 5126,
|
||||
"count" : 24,
|
||||
"type" : "VEC2"
|
||||
},
|
||||
{
|
||||
"bufferView" : 4,
|
||||
"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" : 192,
|
||||
"byteOffset" : 768
|
||||
},
|
||||
{
|
||||
"buffer" : 0,
|
||||
"byteLength" : 72,
|
||||
"byteOffset" : 960
|
||||
}
|
||||
],
|
||||
"buffers" : [
|
||||
{
|
||||
"byteLength" : 1032,
|
||||
"uri" : "boxTexcoords.bin"
|
||||
}
|
||||
]
|
||||
}
|
||||
BIN
assimp/test/models/glTF2/BoxTexcoords-glTF/texture.png
(Stored with Git LFS)
Normal file
BIN
assimp/test/models/glTF2/BoxTexcoords-glTF/texture.png
(Stored with Git LFS)
Normal file
Binary file not shown.
BIN
assimp/test/models/glTF2/BoxTextured-glTF-Binary/BoxTextured.glb
Normal file
BIN
assimp/test/models/glTF2/BoxTextured-glTF-Binary/BoxTextured.glb
Normal file
Binary file not shown.
|
|
@ -0,0 +1,181 @@
|
|||
{
|
||||
"asset": {
|
||||
"generator": "COLLADA2GLTF",
|
||||
"version": "2.0"
|
||||
},
|
||||
"scene": 0,
|
||||
"scenes": [
|
||||
{
|
||||
"nodes": [
|
||||
0
|
||||
]
|
||||
}
|
||||
],
|
||||
"nodes": [
|
||||
{
|
||||
"children": [
|
||||
1
|
||||
],
|
||||
"matrix": [
|
||||
1.0,
|
||||
0.0,
|
||||
0.0,
|
||||
0.0,
|
||||
0.0,
|
||||
0.0,
|
||||
-1.0,
|
||||
0.0,
|
||||
0.0,
|
||||
1.0,
|
||||
0.0,
|
||||
0.0,
|
||||
0.0,
|
||||
0.0,
|
||||
0.0,
|
||||
1.0
|
||||
]
|
||||
},
|
||||
{
|
||||
"mesh": 0
|
||||
}
|
||||
],
|
||||
"meshes": [
|
||||
{
|
||||
"primitives": [
|
||||
{
|
||||
"attributes": {
|
||||
"NORMAL": 1,
|
||||
"POSITION": 2,
|
||||
"TEXCOORD_0": 3
|
||||
},
|
||||
"indices": 0,
|
||||
"mode": 4,
|
||||
"material": 0
|
||||
}
|
||||
],
|
||||
"name": "Mesh"
|
||||
}
|
||||
],
|
||||
"accessors": [
|
||||
{
|
||||
"bufferView": 0,
|
||||
"byteOffset": 0,
|
||||
"componentType": 5123,
|
||||
"count": 36,
|
||||
"max": [
|
||||
23
|
||||
],
|
||||
"min": [
|
||||
0
|
||||
],
|
||||
"type": "SCALAR"
|
||||
},
|
||||
{
|
||||
"bufferView": 1,
|
||||
"byteOffset": 0,
|
||||
"componentType": 5126,
|
||||
"count": 24,
|
||||
"max": [
|
||||
1.0,
|
||||
1.0,
|
||||
1.0
|
||||
],
|
||||
"min": [
|
||||
-1.0,
|
||||
-1.0,
|
||||
-1.0
|
||||
],
|
||||
"type": "VEC3"
|
||||
},
|
||||
{
|
||||
"bufferView": 1,
|
||||
"byteOffset": 288,
|
||||
"componentType": 5126,
|
||||
"count": 24,
|
||||
"max": [
|
||||
0.5,
|
||||
0.5,
|
||||
0.5
|
||||
],
|
||||
"min": [
|
||||
-0.5,
|
||||
-0.5,
|
||||
-0.5
|
||||
],
|
||||
"type": "VEC3"
|
||||
},
|
||||
{
|
||||
"bufferView": 2,
|
||||
"byteOffset": 0,
|
||||
"componentType": 5126,
|
||||
"count": 24,
|
||||
"max": [
|
||||
6.0,
|
||||
1.0
|
||||
],
|
||||
"min": [
|
||||
0.0,
|
||||
0.0
|
||||
],
|
||||
"type": "VEC2"
|
||||
}
|
||||
],
|
||||
"materials": [
|
||||
{
|
||||
"pbrMetallicRoughness": {
|
||||
"baseColorTexture": {
|
||||
"index": 0
|
||||
},
|
||||
"metallicFactor": 0.0
|
||||
},
|
||||
"name": "Texture"
|
||||
}
|
||||
],
|
||||
"textures": [
|
||||
{
|
||||
"sampler": 0,
|
||||
"source": 0
|
||||
}
|
||||
],
|
||||
"images": [
|
||||
{
|
||||
"uri": "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAANMAAADTCAMAAAAs2dbrAAAAsVBMVEXc3Nz8/f3+//9chyf///+VsHP4+/thiy3Z29dyl0R8nlH09vJeiCqzxZ6ft4GLqWatwZXw9vyEpFynvYxmjjTS3cNrkjvu8urn8vre7fjY6ffL08K6yqbEz7XT183K4vTQ5fW62fC/zq3J17fn7d/g6NbC3fLb5c/l5eVsrd+wzOF/t+OWw+WGu+TE099vr+CmyON5tOJ0seG50OHL1t7S2d7Z29yOv+Wdx+emzuyx1O6AHuoWAAAIi0lEQVR4XuzUS3LEIAxF0WznIYk/xun9LyxDRqnqGANq4rODW4L39d88Ho/H43HkZPzJVYgoxhiIpDJ7k2z5wJpizSkBv4vCJn1OWTZMeE9gY/Xfx3DE30Q2WfGBvOAa8lZnEKFH0JZ1GEE/MnpGw54R93Cs41ip4k6SjuWPjnC3YJZWtaJdqhJhlJDWLINgJJm/FoUxGpfJ0xAxnvMTv1UWzEF21pG8wzT+2OZIjeTxScZhLmdGz13FfHXoAGbCCmHgVCSHNVwaleSxjh8z4Yxmj09VBGtRGbAOq1G+OSlgvZC3SwLijVE2Qodot7lS4+xGSS1quyS4O/5UIegSSm/SUaENHZ1NDH1qX5SHRmdPUoJOqWPyInS6Pn6HoNlkJxh68T6fqTFXkkrERPL9en0L3ueufKkf6uxmt1EYiAN4sP7i0pNPABeItEIdeV0vJMTA+z/YaqWo3WSS1gn2lP4ewFHEfNqexLi5hAIAvTgKZZ+4myQxpsSZUtomiD75yPM5Pqg8uDK5cbORZzT+p3JDgfxma16LK3WaceLUkxQPJjj6hnGbo2sHpkkxzB4didFgcgp23OJQ5BS4Pn6TeiM5PThYCva2vQmCHDgYCmZXfCbJfMpc9PXQk6QGTE0PMNv7TDSBmaM/IXqSVeKKdsSsy6gjCfMZLijWSVaXvomkzbiwRF/jR0fS3JThXTbTw8aAVVCcbXFW2wRv8oa+hVmaumoWS88YTgKFXNpBYHrd1GXfaaCfyI0CK7u0g0DoSfMCoSduTBF6Zto3bV033ewdiel/L/9+te3G6HOR35d4p/JmcjI9rVI4e9nd0z9XSStc08tAidkmw4cs6khuK3BK6ZlS6huFC6/xZj23z3BHbSiZOceVIto2aCrcp1N1BteByXe3DfQgq/EZNVMKQwUui5ROPscXFoqvL3HLa5R0sjkg/6eGEjcVMQajXuNraqK4XA3ufoey9AhXIURmUzyDhCbUya0/nFN6SHIbyK0vERMCqZZW4ikcXCQOcQ7nlgT1gVPFjvuz+vCXX4UCl/mEd+tAXhSsSDxT9rq/tJjbasJAFEWJm2QwF6NJVNra0hptoFVsERrp/39YXwTrbDWZOcf1GrLDhrMyF45elUMAVTjlR5NvrctNIsniFDB5HVzstJWEB+MUR/I5PdVRahtQcF3hSNxEkoMGhw+SAidmU1bqLjIFI5wwS670IwhPYvzHNCRweweZBiHOeBH8yik8KnBOtWal9GUqcc4T38D6h49gM0zoNLXTlqmGBQ/fXhDOhKyUskyrChYZ78ol4cyCpn+jKlMUw6bkTpJwxjgqJZ93jHgbIQt3Ukou0zOYkDv5rUw1rpDmtE9685VpYn91ZXp1OjiFs0xMpqXUa795z7mTRnjH0jvxuh77pXkP0a/TRh7erdSDh1ItybTERQruJA5nNJTia4+16dvp4C4Th+srxfOeDKHVaccyUTiRNnan6FNNpm6fvhTCmVlil3JTqh3wvDt1ksvE5PTeu5ZM3evTh0o4MxZcY+4eO2QSdeobzpgpK6UjU/d+b68TzszmvqvUhmRa4Aal05mwdQhnClbKU6bG4AYZn91dwv94t+MepYEgCuDTzhSudIFSgKIHKtwlaIBEe5cTv/8XM8ZEIrPtGxzw9zd5TcO83SbbgjKhSsnJXyZtRZfeHOFAmKut7fgF2siFdMyd1qQ0/nB7pZbN9WUacrcPpOwd4bev1B6USeuTdnA0FZqCF67h6Rae95y0r45wTO9SR0+ZtFCR9uIIx2agUv55H5H26gnHqp7906395W/TXWBkGD/7xOGiw/2VwvNeLxhaU8Qeh6eFCrd7ugxLjsbTrWTM2IPtTbeNIdxu9myr1EnNe8lYThFvL65wLAyilcLzPg+MZRTz6gzHRoaTgWYZKxNWUlRzZbi/UpKc4MNlUrHFI0Udrg73Vyo5oKP10pZseCexeR8J9ztXKvrNfvNR/nHeK2px3jC+T2zh/kql6ebPxnhcCph3VCett/zx7dfYHT6lINxTKWWy2aurqnnHdYqrRdLJu2UiAsId+s8S0XJVmbJNTm0+iwLCPZXC0jkbZdQqkRYq3CETq3rGRltqVUhUqsI9wlYAdbqFzB4IDp8O99Ln19iIHaMHhi/N+KbCohaDFZutqUPhWB9864RnP1yQAoav5NurCrjk9dlsRJ16KnzK9zAAN/XUZ7tH6nQ56cWY7yPvWiiSku3CgAD5yy7newmrRFrUFV9jSEAhZ8Uo8P2EQfyvSoYzVtDmZFwlihJku4VM31Vvm/N1pgQVv6PnWZ//g2pby1m6my5+cls3ubHCQBCASypZbiPbIGDYAF7wXpScYO5/tCxZBgb8g78btKpdbZ6kA/708/Vah35kKrbxy+v7/9frX9dOPE/hb2KYi+V5dsYBjk+icIjhc+gZhyz1xQRp+BQ6ALUF5XFYz2eYBIfNmo/gcILnEzQ4QwzLZ2ecstVTELuWpTOCk8LEwq04batm83Zvz5I1gg+IeczftY7L2+FDHUul8DFVzWPaSc8SjTMuCIblsRt2lfSEw0WLZVmsx2Wu5Mqro9FbwR0GlqMX3OLtyztM16n6RgJ8PYu36+qph52zzEwJ7rZoZjUggnViPtohitAwl2lFLIp5NAHxdDZTO8S0GqY2OkQmqp69220T07EDkggtU2lmpOLSRKUHJCTeMro2IK25Z1xmRXqLYTxjJ8jh7QzjGAdBLhJlKu0DcpLO8F7TEJDd1lrexjhBCd7Bj7yDVivKIe56WL/t2jEKwCAMheEsYirEBgNdohl6CO9/tM6FgrRdFPJNWX/I+BIbTMao/MhKYjAlo/3LE8bCChND5RLfLXxPhNl1wMYhxXHOtktDWInWHMr2mHakkEkRVoXaaiUWyVmEqTY1hOX1+z3mnHPOXX/B0DoXjBYdAAAAAElFTkSuQmCC"
|
||||
}
|
||||
],
|
||||
"samplers": [
|
||||
{
|
||||
"magFilter": 9729,
|
||||
"minFilter": 9986,
|
||||
"wrapS": 10497,
|
||||
"wrapT": 10497
|
||||
}
|
||||
],
|
||||
"bufferViews": [
|
||||
{
|
||||
"buffer": 0,
|
||||
"byteOffset": 768,
|
||||
"byteLength": 72,
|
||||
"target": 34963
|
||||
},
|
||||
{
|
||||
"buffer": 0,
|
||||
"byteOffset": 0,
|
||||
"byteLength": 576,
|
||||
"byteStride": 12,
|
||||
"target": 34962
|
||||
},
|
||||
{
|
||||
"buffer": 0,
|
||||
"byteOffset": 576,
|
||||
"byteLength": 192,
|
||||
"byteStride": 8,
|
||||
"target": 34962
|
||||
}
|
||||
],
|
||||
"buffers": [
|
||||
{
|
||||
"byteLength": 840,
|
||||
"uri": "data:application/octet-stream;base64,AAAAAAAAAAAAAIA/AAAAAAAAAAAAAIA/AAAAAAAAAAAAAIA/AAAAAAAAAAAAAIA/AACAPwAAAAAAAAAAAACAPwAAAAAAAAAAAACAPwAAAAAAAAAAAACAPwAAAAAAAAAAAAAAAAAAgD8AAAAAAAAAAAAAgD8AAAAAAAAAAAAAgD8AAAAAAAAAAAAAgD8AAAAAAAAAAAAAgL8AAAAAAAAAAAAAgL8AAAAAAAAAAAAAgL8AAAAAAAAAAAAAgL8AAAAAAACAvwAAAAAAAAAAAACAvwAAAAAAAAAAAACAvwAAAAAAAAAAAACAvwAAAAAAAAAAAAAAAAAAAAAAAIC/AAAAAAAAAAAAAIC/AAAAAAAAAAAAAIC/AAAAAAAAAAAAAIC/AAAAvwAAAL8AAAA/AAAAPwAAAL8AAAA/AAAAvwAAAD8AAAA/AAAAPwAAAD8AAAA/AAAAPwAAAD8AAAA/AAAAPwAAAL8AAAA/AAAAPwAAAD8AAAC/AAAAPwAAAL8AAAC/AAAAvwAAAD8AAAA/AAAAPwAAAD8AAAA/AAAAvwAAAD8AAAC/AAAAPwAAAD8AAAC/AAAAPwAAAL8AAAA/AAAAvwAAAL8AAAA/AAAAPwAAAL8AAAC/AAAAvwAAAL8AAAC/AAAAvwAAAL8AAAA/AAAAvwAAAD8AAAA/AAAAvwAAAL8AAAC/AAAAvwAAAD8AAAC/AAAAvwAAAL8AAAC/AAAAvwAAAD8AAAC/AAAAPwAAAL8AAAC/AAAAPwAAAD8AAAC/AADAQAAAAAAAAKBAAAAAAAAAwED+/38/AACgQP7/fz8AAIBAAAAAAAAAoEAAAAAAAACAQAAAgD8AAKBAAACAPwAAAEAAAAAAAACAPwAAAAAAAABAAACAPwAAgD8AAIA/AABAQAAAAAAAAIBAAAAAAAAAQEAAAIA/AACAQAAAgD8AAEBAAAAAAAAAAEAAAAAAAABAQAAAgD8AAABAAACAPwAAAAAAAAAAAAAAAP7/fz8AAIA/AAAAAAAAgD/+/38/AAABAAIAAwACAAEABAAFAAYABwAGAAUACAAJAAoACwAKAAkADAANAA4ADwAOAA0AEAARABIAEwASABEAFAAVABYAFwAWABUA"
|
||||
}
|
||||
]
|
||||
}
|
||||
|
|
@ -0,0 +1,197 @@
|
|||
{
|
||||
"asset": {
|
||||
"generator": "COLLADA2GLTF",
|
||||
"version": "2.0"
|
||||
},
|
||||
"scene": 0,
|
||||
"scenes": [
|
||||
{
|
||||
"nodes": [
|
||||
0
|
||||
]
|
||||
}
|
||||
],
|
||||
"nodes": [
|
||||
{
|
||||
"children": [
|
||||
1
|
||||
],
|
||||
"matrix": [
|
||||
1.0,
|
||||
0.0,
|
||||
0.0,
|
||||
0.0,
|
||||
0.0,
|
||||
0.0,
|
||||
-1.0,
|
||||
0.0,
|
||||
0.0,
|
||||
1.0,
|
||||
0.0,
|
||||
0.0,
|
||||
0.0,
|
||||
0.0,
|
||||
0.0,
|
||||
1.0
|
||||
]
|
||||
},
|
||||
{
|
||||
"mesh": 0
|
||||
}
|
||||
],
|
||||
"meshes": [
|
||||
{
|
||||
"primitives": [
|
||||
{
|
||||
"attributes": {
|
||||
"NORMAL": 1,
|
||||
"POSITION": 2,
|
||||
"TEXCOORD_0": 3
|
||||
},
|
||||
"indices": 0,
|
||||
"mode": 4,
|
||||
"material": 0
|
||||
}
|
||||
],
|
||||
"name": "Mesh"
|
||||
}
|
||||
],
|
||||
"accessors": [
|
||||
{
|
||||
"bufferView": 0,
|
||||
"byteOffset": 0,
|
||||
"componentType": 5123,
|
||||
"count": 36,
|
||||
"max": [
|
||||
23
|
||||
],
|
||||
"min": [
|
||||
0
|
||||
],
|
||||
"type": "SCALAR"
|
||||
},
|
||||
{
|
||||
"bufferView": 1,
|
||||
"byteOffset": 0,
|
||||
"componentType": 5126,
|
||||
"count": 24,
|
||||
"max": [
|
||||
1.0,
|
||||
1.0,
|
||||
1.0
|
||||
],
|
||||
"min": [
|
||||
-1.0,
|
||||
-1.0,
|
||||
-1.0
|
||||
],
|
||||
"type": "VEC3"
|
||||
},
|
||||
{
|
||||
"bufferView": 1,
|
||||
"byteOffset": 288,
|
||||
"componentType": 5126,
|
||||
"count": 24,
|
||||
"max": [
|
||||
0.5,
|
||||
0.5,
|
||||
0.5
|
||||
],
|
||||
"min": [
|
||||
-0.5,
|
||||
-0.5,
|
||||
-0.5
|
||||
],
|
||||
"type": "VEC3"
|
||||
},
|
||||
{
|
||||
"bufferView": 2,
|
||||
"byteOffset": 0,
|
||||
"componentType": 5126,
|
||||
"count": 24,
|
||||
"max": [
|
||||
6.0,
|
||||
1.0
|
||||
],
|
||||
"min": [
|
||||
0.0,
|
||||
0.0
|
||||
],
|
||||
"type": "VEC2"
|
||||
}
|
||||
],
|
||||
"materials": [
|
||||
{
|
||||
"pbrMetallicRoughness": {
|
||||
"baseColorTexture": {
|
||||
"index": 0
|
||||
},
|
||||
"metallicFactor": 0.0
|
||||
},
|
||||
"extensions": {
|
||||
"KHR_materials_pbrSpecularGlossiness": {
|
||||
"diffuseTexture": {
|
||||
"index": 0
|
||||
},
|
||||
"specularFactor": [
|
||||
0.20000000298023225,
|
||||
0.20000000298023225,
|
||||
0.20000000298023225
|
||||
],
|
||||
"glossinessFactor": 1.0
|
||||
}
|
||||
},
|
||||
"name": "Texture"
|
||||
}
|
||||
],
|
||||
"textures": [
|
||||
{
|
||||
"sampler": 0,
|
||||
"source": 0
|
||||
}
|
||||
],
|
||||
"images": [
|
||||
{
|
||||
"uri": "CesiumLogoFlat.png"
|
||||
}
|
||||
],
|
||||
"samplers": [
|
||||
{
|
||||
"magFilter": 9729,
|
||||
"minFilter": 9986,
|
||||
"wrapS": 10497,
|
||||
"wrapT": 10497
|
||||
}
|
||||
],
|
||||
"bufferViews": [
|
||||
{
|
||||
"buffer": 0,
|
||||
"byteOffset": 768,
|
||||
"byteLength": 72,
|
||||
"target": 34963
|
||||
},
|
||||
{
|
||||
"buffer": 0,
|
||||
"byteOffset": 0,
|
||||
"byteLength": 576,
|
||||
"byteStride": 12,
|
||||
"target": 34962
|
||||
},
|
||||
{
|
||||
"buffer": 0,
|
||||
"byteOffset": 576,
|
||||
"byteLength": 192,
|
||||
"byteStride": 8,
|
||||
"target": 34962
|
||||
}
|
||||
],
|
||||
"buffers": [
|
||||
{
|
||||
"byteLength": 840,
|
||||
"uri": "BoxTextured0.bin"
|
||||
}
|
||||
],
|
||||
"extensionsUsed": [
|
||||
"KHR_materials_pbrSpecularGlossiness"
|
||||
]
|
||||
}
|
||||
Binary file not shown.
BIN
assimp/test/models/glTF2/BoxTextured-glTF-pbrSpecularGlossiness/CesiumLogoFlat.png
(Stored with Git LFS)
Normal file
BIN
assimp/test/models/glTF2/BoxTextured-glTF-pbrSpecularGlossiness/CesiumLogoFlat.png
(Stored with Git LFS)
Normal file
Binary file not shown.
|
|
@ -0,0 +1,282 @@
|
|||
{
|
||||
"asset": {
|
||||
"generator": "COLLADA2GLTF",
|
||||
"version": "2.0"
|
||||
},
|
||||
"scene": 0,
|
||||
"scenes": [
|
||||
{
|
||||
"nodes": [
|
||||
0
|
||||
]
|
||||
}
|
||||
],
|
||||
"nodes": [
|
||||
{
|
||||
"children": [
|
||||
1
|
||||
],
|
||||
"matrix": [
|
||||
1.0,
|
||||
0.0,
|
||||
0.0,
|
||||
0.0,
|
||||
0.0,
|
||||
0.0,
|
||||
-1.0,
|
||||
0.0,
|
||||
0.0,
|
||||
1.0,
|
||||
0.0,
|
||||
0.0,
|
||||
0.0,
|
||||
0.0,
|
||||
0.0,
|
||||
1.0
|
||||
]
|
||||
},
|
||||
{
|
||||
"mesh": 0
|
||||
}
|
||||
],
|
||||
"meshes": [
|
||||
{
|
||||
"primitives": [
|
||||
{
|
||||
"attributes": {
|
||||
"NORMAL": 1,
|
||||
"POSITION": 2,
|
||||
"TEXCOORD_0": 3
|
||||
},
|
||||
"indices": 0,
|
||||
"mode": 4,
|
||||
"material": 0
|
||||
}
|
||||
],
|
||||
"name": "Mesh"
|
||||
}
|
||||
],
|
||||
"accessors": [
|
||||
{
|
||||
"bufferView": 0,
|
||||
"byteOffset": 0,
|
||||
"componentType": 5123,
|
||||
"count": 36,
|
||||
"max": [
|
||||
23
|
||||
],
|
||||
"min": [
|
||||
0
|
||||
],
|
||||
"type": "SCALAR"
|
||||
},
|
||||
{
|
||||
"bufferView": 1,
|
||||
"byteOffset": 0,
|
||||
"componentType": 5126,
|
||||
"count": 24,
|
||||
"max": [
|
||||
1.0,
|
||||
1.0,
|
||||
1.0
|
||||
],
|
||||
"min": [
|
||||
-1.0,
|
||||
-1.0,
|
||||
-1.0
|
||||
],
|
||||
"type": "VEC3"
|
||||
},
|
||||
{
|
||||
"bufferView": 1,
|
||||
"byteOffset": 288,
|
||||
"componentType": 5126,
|
||||
"count": 24,
|
||||
"max": [
|
||||
0.5,
|
||||
0.5,
|
||||
0.5
|
||||
],
|
||||
"min": [
|
||||
-0.5,
|
||||
-0.5,
|
||||
-0.5
|
||||
],
|
||||
"type": "VEC3"
|
||||
},
|
||||
{
|
||||
"bufferView": 2,
|
||||
"byteOffset": 0,
|
||||
"componentType": 5126,
|
||||
"count": 24,
|
||||
"max": [
|
||||
6.0,
|
||||
1.0
|
||||
],
|
||||
"min": [
|
||||
0.0,
|
||||
0.0
|
||||
],
|
||||
"type": "VEC2"
|
||||
}
|
||||
],
|
||||
"materials": [
|
||||
{
|
||||
"values": {
|
||||
"diffuse": [
|
||||
0
|
||||
],
|
||||
"specular": [
|
||||
0.20000000298023225,
|
||||
0.20000000298023225,
|
||||
0.20000000298023225,
|
||||
1.0
|
||||
],
|
||||
"shininess": [
|
||||
256.0
|
||||
],
|
||||
"transparency": [
|
||||
1.0
|
||||
]
|
||||
},
|
||||
"technique": 0
|
||||
}
|
||||
],
|
||||
"textures": [
|
||||
{
|
||||
"sampler": 0,
|
||||
"source": 0
|
||||
}
|
||||
],
|
||||
"images": [
|
||||
{
|
||||
"uri": "CesiumLogoFlat.png"
|
||||
}
|
||||
],
|
||||
"samplers": [
|
||||
{
|
||||
"magFilter": 9729,
|
||||
"minFilter": 9986,
|
||||
"wrapS": 10497,
|
||||
"wrapT": 10497
|
||||
}
|
||||
],
|
||||
"techniques": [
|
||||
{
|
||||
"attributes": {
|
||||
"a_normal": "normal",
|
||||
"a_position": "position",
|
||||
"a_texcoord0": "texcoord0"
|
||||
},
|
||||
"parameters": {
|
||||
"diffuse": {
|
||||
"type": 35678
|
||||
},
|
||||
"modelViewMatrix": {
|
||||
"semantic": "MODELVIEW",
|
||||
"type": 35676
|
||||
},
|
||||
"normal": {
|
||||
"semantic": "NORMAL",
|
||||
"type": 35665
|
||||
},
|
||||
"normalMatrix": {
|
||||
"semantic": "MODELVIEWINVERSETRANSPOSE",
|
||||
"type": 35675
|
||||
},
|
||||
"position": {
|
||||
"semantic": "POSITION",
|
||||
"type": 35665
|
||||
},
|
||||
"projectionMatrix": {
|
||||
"semantic": "PROJECTION",
|
||||
"type": 35676
|
||||
},
|
||||
"shininess": {
|
||||
"type": 5126
|
||||
},
|
||||
"specular": {
|
||||
"type": 35666
|
||||
},
|
||||
"texcoord0": {
|
||||
"semantic": "TEXCOORD_0",
|
||||
"type": 35665
|
||||
},
|
||||
"transparency": {
|
||||
"type": 5126
|
||||
}
|
||||
},
|
||||
"program": 0,
|
||||
"states": {
|
||||
"enable": [
|
||||
2884,
|
||||
2929
|
||||
]
|
||||
},
|
||||
"uniforms": {
|
||||
"u_diffuse": "diffuse",
|
||||
"u_modelViewMatrix": "modelViewMatrix",
|
||||
"u_normalMatrix": "normalMatrix",
|
||||
"u_projectionMatrix": "projectionMatrix",
|
||||
"u_shininess": "shininess",
|
||||
"u_specular": "specular",
|
||||
"u_transparency": "transparency"
|
||||
}
|
||||
}
|
||||
],
|
||||
"programs": [
|
||||
{
|
||||
"attributes": [
|
||||
"a_normal",
|
||||
"a_position",
|
||||
"a_texcoord0"
|
||||
],
|
||||
"fragmentShader": 1,
|
||||
"vertexShader": 0
|
||||
}
|
||||
],
|
||||
"shaders": [
|
||||
{
|
||||
"type": 35633,
|
||||
"uri": "BoxTextured0.vert"
|
||||
},
|
||||
{
|
||||
"type": 35632,
|
||||
"uri": "BoxTextured1.frag"
|
||||
}
|
||||
],
|
||||
"bufferViews": [
|
||||
{
|
||||
"buffer": 0,
|
||||
"byteOffset": 768,
|
||||
"byteLength": 72,
|
||||
"target": 34963
|
||||
},
|
||||
{
|
||||
"buffer": 0,
|
||||
"byteOffset": 0,
|
||||
"byteLength": 576,
|
||||
"byteStride": 12,
|
||||
"target": 34962
|
||||
},
|
||||
{
|
||||
"buffer": 0,
|
||||
"byteOffset": 576,
|
||||
"byteLength": 192,
|
||||
"byteStride": 8,
|
||||
"target": 34962
|
||||
}
|
||||
],
|
||||
"buffers": [
|
||||
{
|
||||
"byteLength": 840,
|
||||
"uri": "BoxTextured0.bin"
|
||||
}
|
||||
],
|
||||
"extensionsRequired": [
|
||||
"KHR_technique_webgl"
|
||||
],
|
||||
"extensionsUsed": [
|
||||
"KHR_technique_webgl"
|
||||
]
|
||||
}
|
||||
Binary file not shown.
|
|
@ -0,0 +1,17 @@
|
|||
precision highp float;
|
||||
uniform mat4 u_modelViewMatrix;
|
||||
uniform mat4 u_projectionMatrix;
|
||||
uniform mat3 u_normalMatrix;
|
||||
attribute vec3 a_position;
|
||||
varying vec3 v_position;
|
||||
attribute vec3 a_normal;
|
||||
varying vec3 v_normal;
|
||||
attribute vec2 a_texcoord0;
|
||||
varying vec2 v_texcoord0;
|
||||
void main(void) {
|
||||
vec4 pos = u_modelViewMatrix * vec4(a_position,1.0);
|
||||
v_position = pos.xyz;
|
||||
gl_Position = u_projectionMatrix * pos;
|
||||
v_normal = u_normalMatrix * a_normal;
|
||||
v_texcoord0 = a_texcoord0;
|
||||
}
|
||||
|
|
@ -0,0 +1,29 @@
|
|||
precision highp float;
|
||||
uniform sampler2D u_diffuse;
|
||||
uniform vec4 u_specular;
|
||||
uniform float u_shininess;
|
||||
uniform float u_transparency;
|
||||
varying vec3 v_position;
|
||||
varying vec3 v_normal;
|
||||
varying vec2 v_texcoord0;
|
||||
void main(void) {
|
||||
vec3 normal = normalize(v_normal);
|
||||
vec4 diffuse = texture2D(u_diffuse, v_texcoord0);
|
||||
vec3 diffuseLight = vec3(0.0, 0.0, 0.0);
|
||||
vec3 specular = u_specular.rgb;
|
||||
vec3 specularLight = vec3(0.0, 0.0, 0.0);
|
||||
vec3 ambient = diffuse.rgb;
|
||||
vec3 viewDir = -normalize(v_position);
|
||||
vec3 ambientLight = vec3(0.0, 0.0, 0.0);
|
||||
ambientLight += vec3(0.2, 0.2, 0.2);
|
||||
vec3 l = vec3(0.0, 0.0, 1.0);
|
||||
diffuseLight += vec3(1.0, 1.0, 1.0) * max(dot(normal, l), 0.);
|
||||
vec3 reflectDir = reflect(-l, normal);
|
||||
float specularIntensity = max(0., pow(max(dot(reflectDir, viewDir), 0.), u_shininess));
|
||||
specularLight += vec3(1.0, 1.0, 1.0) * specularIntensity;
|
||||
vec3 color = vec3(0.0, 0.0, 0.0);
|
||||
color += diffuse.rgb * diffuseLight;
|
||||
color += specular * specularLight;
|
||||
color += ambient * ambientLight;
|
||||
gl_FragColor = vec4(color * diffuse.a * u_transparency, diffuse.a * u_transparency);
|
||||
}
|
||||
BIN
assimp/test/models/glTF2/BoxTextured-glTF-techniqueWebGL/CesiumLogoFlat.png
(Stored with Git LFS)
Normal file
BIN
assimp/test/models/glTF2/BoxTextured-glTF-techniqueWebGL/CesiumLogoFlat.png
(Stored with Git LFS)
Normal file
Binary file not shown.
181
assimp/test/models/glTF2/BoxTextured-glTF/BoxTextured.gltf
Normal file
181
assimp/test/models/glTF2/BoxTextured-glTF/BoxTextured.gltf
Normal file
|
|
@ -0,0 +1,181 @@
|
|||
{
|
||||
"asset": {
|
||||
"generator": "COLLADA2GLTF",
|
||||
"version": "2.0"
|
||||
},
|
||||
"scene": 0,
|
||||
"scenes": [
|
||||
{
|
||||
"nodes": [
|
||||
0
|
||||
]
|
||||
}
|
||||
],
|
||||
"nodes": [
|
||||
{
|
||||
"children": [
|
||||
1
|
||||
],
|
||||
"matrix": [
|
||||
1.0,
|
||||
0.0,
|
||||
0.0,
|
||||
0.0,
|
||||
0.0,
|
||||
0.0,
|
||||
-1.0,
|
||||
0.0,
|
||||
0.0,
|
||||
1.0,
|
||||
0.0,
|
||||
0.0,
|
||||
0.0,
|
||||
0.0,
|
||||
0.0,
|
||||
1.0
|
||||
]
|
||||
},
|
||||
{
|
||||
"mesh": 0
|
||||
}
|
||||
],
|
||||
"meshes": [
|
||||
{
|
||||
"primitives": [
|
||||
{
|
||||
"attributes": {
|
||||
"NORMAL": 1,
|
||||
"POSITION": 2,
|
||||
"TEXCOORD_0": 3
|
||||
},
|
||||
"indices": 0,
|
||||
"mode": 4,
|
||||
"material": 0
|
||||
}
|
||||
],
|
||||
"name": "Mesh"
|
||||
}
|
||||
],
|
||||
"accessors": [
|
||||
{
|
||||
"bufferView": 0,
|
||||
"byteOffset": 0,
|
||||
"componentType": 5123,
|
||||
"count": 36,
|
||||
"max": [
|
||||
23
|
||||
],
|
||||
"min": [
|
||||
0
|
||||
],
|
||||
"type": "SCALAR"
|
||||
},
|
||||
{
|
||||
"bufferView": 1,
|
||||
"byteOffset": 0,
|
||||
"componentType": 5126,
|
||||
"count": 24,
|
||||
"max": [
|
||||
1.0,
|
||||
1.0,
|
||||
1.0
|
||||
],
|
||||
"min": [
|
||||
-1.0,
|
||||
-1.0,
|
||||
-1.0
|
||||
],
|
||||
"type": "VEC3"
|
||||
},
|
||||
{
|
||||
"bufferView": 1,
|
||||
"byteOffset": 288,
|
||||
"componentType": 5126,
|
||||
"count": 24,
|
||||
"max": [
|
||||
0.5,
|
||||
0.5,
|
||||
0.5
|
||||
],
|
||||
"min": [
|
||||
-0.5,
|
||||
-0.5,
|
||||
-0.5
|
||||
],
|
||||
"type": "VEC3"
|
||||
},
|
||||
{
|
||||
"bufferView": 2,
|
||||
"byteOffset": 0,
|
||||
"componentType": 5126,
|
||||
"count": 24,
|
||||
"max": [
|
||||
6.0,
|
||||
1.0
|
||||
],
|
||||
"min": [
|
||||
0.0,
|
||||
0.0
|
||||
],
|
||||
"type": "VEC2"
|
||||
}
|
||||
],
|
||||
"materials": [
|
||||
{
|
||||
"pbrMetallicRoughness": {
|
||||
"baseColorTexture": {
|
||||
"index": 0
|
||||
},
|
||||
"metallicFactor": 0.0
|
||||
},
|
||||
"name": "Texture"
|
||||
}
|
||||
],
|
||||
"textures": [
|
||||
{
|
||||
"sampler": 0,
|
||||
"source": 0
|
||||
}
|
||||
],
|
||||
"images": [
|
||||
{
|
||||
"uri": "CesiumLogoFlat.png"
|
||||
}
|
||||
],
|
||||
"samplers": [
|
||||
{
|
||||
"magFilter": 9729,
|
||||
"minFilter": 9986,
|
||||
"wrapS": 33648,
|
||||
"wrapT": 33071
|
||||
}
|
||||
],
|
||||
"bufferViews": [
|
||||
{
|
||||
"buffer": 0,
|
||||
"byteOffset": 768,
|
||||
"byteLength": 72,
|
||||
"target": 34963
|
||||
},
|
||||
{
|
||||
"buffer": 0,
|
||||
"byteOffset": 0,
|
||||
"byteLength": 576,
|
||||
"byteStride": 12,
|
||||
"target": 34962
|
||||
},
|
||||
{
|
||||
"buffer": 0,
|
||||
"byteOffset": 576,
|
||||
"byteLength": 192,
|
||||
"byteStride": 8,
|
||||
"target": 34962
|
||||
}
|
||||
],
|
||||
"buffers": [
|
||||
{
|
||||
"byteLength": 840,
|
||||
"uri": "BoxTextured0.bin"
|
||||
}
|
||||
]
|
||||
}
|
||||
BIN
assimp/test/models/glTF2/BoxTextured-glTF/BoxTextured0.bin
Normal file
BIN
assimp/test/models/glTF2/BoxTextured-glTF/BoxTextured0.bin
Normal file
Binary file not shown.
BIN
assimp/test/models/glTF2/BoxTextured-glTF/CesiumLogoFlat.png
(Stored with Git LFS)
Normal file
BIN
assimp/test/models/glTF2/BoxTextured-glTF/CesiumLogoFlat.png
(Stored with Git LFS)
Normal file
Binary file not shown.
Binary file not shown.
BIN
assimp/test/models/glTF2/ClearCoat-glTF/ClearCoatLabels.png
(Stored with Git LFS)
Normal file
BIN
assimp/test/models/glTF2/ClearCoat-glTF/ClearCoatLabels.png
(Stored with Git LFS)
Normal file
Binary file not shown.
BIN
assimp/test/models/glTF2/ClearCoat-glTF/ClearCoatTest.bin
Normal file
BIN
assimp/test/models/glTF2/ClearCoat-glTF/ClearCoatTest.bin
Normal file
Binary file not shown.
1669
assimp/test/models/glTF2/ClearCoat-glTF/ClearCoatTest.gltf
Normal file
1669
assimp/test/models/glTF2/ClearCoat-glTF/ClearCoatTest.gltf
Normal file
File diff suppressed because it is too large
Load diff
BIN
assimp/test/models/glTF2/ClearCoat-glTF/PartialCoating.png
(Stored with Git LFS)
Normal file
BIN
assimp/test/models/glTF2/ClearCoat-glTF/PartialCoating.png
(Stored with Git LFS)
Normal file
Binary file not shown.
BIN
assimp/test/models/glTF2/ClearCoat-glTF/PartialCoating_Alpha.png
(Stored with Git LFS)
Normal file
BIN
assimp/test/models/glTF2/ClearCoat-glTF/PartialCoating_Alpha.png
(Stored with Git LFS)
Normal file
Binary file not shown.
BIN
assimp/test/models/glTF2/ClearCoat-glTF/PlasticWrap_normals.jpg
(Stored with Git LFS)
Normal file
BIN
assimp/test/models/glTF2/ClearCoat-glTF/PlasticWrap_normals.jpg
(Stored with Git LFS)
Normal file
Binary file not shown.
BIN
assimp/test/models/glTF2/ClearCoat-glTF/RibsNormal.png
(Stored with Git LFS)
Normal file
BIN
assimp/test/models/glTF2/ClearCoat-glTF/RibsNormal.png
(Stored with Git LFS)
Normal file
Binary file not shown.
BIN
assimp/test/models/glTF2/ClearCoat-glTF/RoughnessStripes.png
(Stored with Git LFS)
Normal file
BIN
assimp/test/models/glTF2/ClearCoat-glTF/RoughnessStripes.png
(Stored with Git LFS)
Normal file
Binary file not shown.
BIN
assimp/test/models/glTF2/IncorrectVertexArrays/Cube.bin
Normal file
BIN
assimp/test/models/glTF2/IncorrectVertexArrays/Cube.bin
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 514 B |
286
assimp/test/models/glTF2/IncorrectVertexArrays/Cube.gltf
Normal file
286
assimp/test/models/glTF2/IncorrectVertexArrays/Cube.gltf
Normal file
|
|
@ -0,0 +1,286 @@
|
|||
{
|
||||
"accessors" : [
|
||||
{
|
||||
"bufferView" : 0,
|
||||
"byteOffset" : 0,
|
||||
"componentType" : 5123,
|
||||
"count" : 36,
|
||||
"max" : [
|
||||
35
|
||||
],
|
||||
"min" : [
|
||||
0
|
||||
],
|
||||
"type" : "SCALAR"
|
||||
},
|
||||
{
|
||||
"bufferView" : 1,
|
||||
"byteOffset" : 0,
|
||||
"componentType" : 5126,
|
||||
"count" : 36,
|
||||
"max" : [
|
||||
1.000000,
|
||||
1.000000,
|
||||
1.000001
|
||||
],
|
||||
"min" : [
|
||||
-1.000000,
|
||||
-1.000000,
|
||||
-1.000000
|
||||
],
|
||||
"type" : "VEC3"
|
||||
},
|
||||
{
|
||||
"bufferView" : 2,
|
||||
"byteOffset" : 0,
|
||||
"componentType" : 5126,
|
||||
"count" : 36,
|
||||
"max" : [
|
||||
1.000000,
|
||||
1.000000,
|
||||
1.000000
|
||||
],
|
||||
"min" : [
|
||||
-1.000000,
|
||||
-1.000000,
|
||||
-1.000000
|
||||
],
|
||||
"type" : "VEC3"
|
||||
},
|
||||
{
|
||||
"bufferView" : 3,
|
||||
"byteOffset" : 0,
|
||||
"componentType" : 5126,
|
||||
"count" : 36,
|
||||
"max" : [
|
||||
1.000000,
|
||||
-0.000000,
|
||||
-0.000000,
|
||||
1.000000
|
||||
],
|
||||
"min" : [
|
||||
0.000000,
|
||||
-0.000000,
|
||||
-1.000000,
|
||||
-1.000000
|
||||
],
|
||||
"type" : "VEC4"
|
||||
},
|
||||
{
|
||||
"bufferView" : 4,
|
||||
"byteOffset" : 0,
|
||||
"componentType" : 5126,
|
||||
"count" : 36,
|
||||
"max" : [
|
||||
1.000000,
|
||||
1.000000
|
||||
],
|
||||
"min" : [
|
||||
-1.000000,
|
||||
-1.000000
|
||||
],
|
||||
"type" : "VEC2"
|
||||
},
|
||||
{
|
||||
"bufferView" : 1,
|
||||
"byteOffset" : 0,
|
||||
"componentType" : 5126,
|
||||
"count" : 36,
|
||||
"type" : "VEC3"
|
||||
},
|
||||
{
|
||||
"bufferView" : 1,
|
||||
"byteOffset" : 0,
|
||||
"componentType" : 5126,
|
||||
"count" : 35,
|
||||
"type" : "VEC3"
|
||||
},
|
||||
{
|
||||
"bufferView" : 0,
|
||||
"byteOffset" : 0,
|
||||
"componentType" : 5123,
|
||||
"count" : 35,
|
||||
"max" : [
|
||||
35
|
||||
],
|
||||
"min" : [
|
||||
0
|
||||
],
|
||||
"type" : "SCALAR"
|
||||
}
|
||||
],
|
||||
"asset" : {
|
||||
"generator" : "VKTS glTF 2.0 exporter",
|
||||
"version" : "2.0"
|
||||
},
|
||||
"bufferViews" : [
|
||||
{
|
||||
"buffer" : 0,
|
||||
"byteLength" : 72,
|
||||
"byteOffset" : 0,
|
||||
"target" : 34963
|
||||
},
|
||||
{
|
||||
"buffer" : 0,
|
||||
"byteLength" : 432,
|
||||
"byteOffset" : 72,
|
||||
"target" : 34962
|
||||
},
|
||||
{
|
||||
"buffer" : 0,
|
||||
"byteLength" : 432,
|
||||
"byteOffset" : 504,
|
||||
"target" : 34962
|
||||
},
|
||||
{
|
||||
"buffer" : 0,
|
||||
"byteLength" : 576,
|
||||
"byteOffset" : 936,
|
||||
"target" : 34962
|
||||
},
|
||||
{
|
||||
"buffer" : 0,
|
||||
"byteLength" : 288,
|
||||
"byteOffset" : 1512,
|
||||
"target" : 34962
|
||||
}
|
||||
],
|
||||
"buffers" : [
|
||||
{
|
||||
"byteLength" : 514,
|
||||
"uri" : "Cube.bin"
|
||||
}
|
||||
],
|
||||
"meshes" : [
|
||||
{
|
||||
"name" : "Cube",
|
||||
"primitives" : [
|
||||
{
|
||||
"attributes" : {
|
||||
"POSITION" : 1
|
||||
},
|
||||
"mode" : 4
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"name" : "TruncatedCube",
|
||||
"primitives" : [ {
|
||||
"attributes" : {
|
||||
"POSITION" : 6
|
||||
},
|
||||
"mode" : 4
|
||||
} ]
|
||||
},
|
||||
{
|
||||
"name" : "Lines",
|
||||
"primitives" : [ {
|
||||
"attributes" : {
|
||||
"POSITION" : 5
|
||||
},
|
||||
"mode" : 1
|
||||
} ]
|
||||
},
|
||||
{
|
||||
"name" : "TruncatedLines",
|
||||
"primitives" : [ {
|
||||
"attributes" : {
|
||||
"POSITION" : 6
|
||||
},
|
||||
"mode" : 1
|
||||
} ]
|
||||
},
|
||||
{
|
||||
"name" : "IndexedCube",
|
||||
"primitives" : [ {
|
||||
"attributes" : {
|
||||
"POSITION" : 1
|
||||
},
|
||||
"mode" : 4,
|
||||
"indices" : 0
|
||||
} ]
|
||||
},
|
||||
{
|
||||
"name" : "TruncatedIndexedCube",
|
||||
"primitives" : [ {
|
||||
"attributes" : {
|
||||
"POSITION" : 6
|
||||
},
|
||||
"mode" : 4,
|
||||
"indices" : 7
|
||||
} ]
|
||||
},
|
||||
{
|
||||
"name" : "IndexedLines",
|
||||
"primitives" : [ {
|
||||
"attributes" : {
|
||||
"POSITION" : 5
|
||||
},
|
||||
"mode" : 1,
|
||||
"indices" : 0
|
||||
} ]
|
||||
},
|
||||
{
|
||||
"name" : "TruncatedIndexedLines",
|
||||
"primitives" : [ {
|
||||
"attributes" : {
|
||||
"POSITION" : 6
|
||||
},
|
||||
"mode" : 1,
|
||||
"indices" : 7
|
||||
} ]
|
||||
}
|
||||
],
|
||||
"nodes" : [
|
||||
{
|
||||
"mesh" : 0,
|
||||
"name" : "Cube"
|
||||
},
|
||||
{
|
||||
"mesh" : 1,
|
||||
"name" : "TruncatedCube",
|
||||
"translation": [ 2.5, 0.0, 2.5 ]
|
||||
},
|
||||
{
|
||||
"mesh" : 2,
|
||||
"name" : "Lines",
|
||||
"translation": [ 2.5, 0.0, 0.0 ]
|
||||
},
|
||||
{
|
||||
"mesh" : 3,
|
||||
"name" : "TruncatedLines",
|
||||
"translation": [ 2.5, 0.0, -2.5 ]
|
||||
},
|
||||
{
|
||||
"mesh" : 4,
|
||||
"name" : "IndexedCube",
|
||||
"translation": [ -2.5, 0.0, 2.5 ]
|
||||
},
|
||||
{
|
||||
"mesh" : 5,
|
||||
"name" : "TruncatedIndexedCube",
|
||||
"translation": [ -2.5, 0.0, 0.0 ]
|
||||
},
|
||||
{
|
||||
"mesh" : 6,
|
||||
"name" : "IndexedLines",
|
||||
"translation": [ -2.5, 0.0, -2.5 ]
|
||||
},
|
||||
{
|
||||
"mesh" : 7,
|
||||
"name" : "TruncatedIndexedLines",
|
||||
"translation": [ 0.0, 0.0, -2.5 ]
|
||||
}
|
||||
],
|
||||
"samplers" : [
|
||||
{}
|
||||
],
|
||||
"scene" : 0,
|
||||
"scenes" : [
|
||||
{
|
||||
"nodes" : [
|
||||
0, 1, 2, 3, 4, 5, 6, 7
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
Binary file not shown.
|
|
@ -0,0 +1,142 @@
|
|||
{
|
||||
"asset": {
|
||||
"generator": "COLLADA2GLTF",
|
||||
"version": "2.0"
|
||||
},
|
||||
"scene": 0,
|
||||
"scenes": [
|
||||
{
|
||||
"nodes": [
|
||||
0
|
||||
]
|
||||
}
|
||||
],
|
||||
"nodes": [
|
||||
{
|
||||
"children": [
|
||||
1
|
||||
],
|
||||
"matrix": [
|
||||
1.0,
|
||||
0.0,
|
||||
0.0,
|
||||
0.0,
|
||||
0.0,
|
||||
0.0,
|
||||
-1.0,
|
||||
0.0,
|
||||
0.0,
|
||||
1.0,
|
||||
0.0,
|
||||
0.0,
|
||||
0.0,
|
||||
0.0,
|
||||
0.0,
|
||||
1.0
|
||||
]
|
||||
},
|
||||
{
|
||||
"mesh": 0
|
||||
}
|
||||
],
|
||||
"meshes": [
|
||||
{
|
||||
"primitives": [
|
||||
{
|
||||
"attributes": {
|
||||
"NORMAL": 1,
|
||||
"POSITION": 2
|
||||
},
|
||||
"indices": 0,
|
||||
"mode": 4,
|
||||
"material": 0
|
||||
}
|
||||
],
|
||||
"name": "Mesh"
|
||||
}
|
||||
],
|
||||
"accessors": [
|
||||
{
|
||||
"bufferView": 0,
|
||||
"byteOffset": 0,
|
||||
"componentType": 5123,
|
||||
"count": 36,
|
||||
"max": [
|
||||
255
|
||||
],
|
||||
"min": [
|
||||
0
|
||||
],
|
||||
"type": "SCALAR"
|
||||
},
|
||||
{
|
||||
"bufferView": 1,
|
||||
"byteOffset": 0,
|
||||
"componentType": 5126,
|
||||
"count": 24,
|
||||
"max": [
|
||||
1.0,
|
||||
1.0,
|
||||
1.0
|
||||
],
|
||||
"min": [
|
||||
-1.0,
|
||||
-1.0,
|
||||
-1.0
|
||||
],
|
||||
"type": "VEC3"
|
||||
},
|
||||
{
|
||||
"bufferView": 1,
|
||||
"byteOffset": 288,
|
||||
"componentType": 5126,
|
||||
"count": 24,
|
||||
"max": [
|
||||
0.5,
|
||||
0.5,
|
||||
0.5
|
||||
],
|
||||
"min": [
|
||||
-0.5,
|
||||
-0.5,
|
||||
-0.5
|
||||
],
|
||||
"type": "VEC3"
|
||||
}
|
||||
],
|
||||
"materials": [
|
||||
{
|
||||
"pbrMetallicRoughness": {
|
||||
"baseColorFactor": [
|
||||
0.800000011920929,
|
||||
0.0,
|
||||
0.0,
|
||||
1.0
|
||||
],
|
||||
"metallicFactor": 0.0
|
||||
},
|
||||
"name": "Red"
|
||||
}
|
||||
],
|
||||
"bufferViews": [
|
||||
{
|
||||
"buffer": 0,
|
||||
"byteOffset": 576,
|
||||
"byteLength": 72,
|
||||
"target": 34963
|
||||
},
|
||||
{
|
||||
"buffer": 0,
|
||||
"byteOffset": 0,
|
||||
"byteLength": 576,
|
||||
"byteStride": 12,
|
||||
"target": 34962
|
||||
}
|
||||
],
|
||||
"buffers": [
|
||||
{
|
||||
"byteLength": 648,
|
||||
"uri": "AllIndicesOutOfRange.bin"
|
||||
}
|
||||
]
|
||||
}
|
||||
BIN
assimp/test/models/glTF2/IndexOutOfRange/IndexOutOfRange.bin
Normal file
BIN
assimp/test/models/glTF2/IndexOutOfRange/IndexOutOfRange.bin
Normal file
Binary file not shown.
142
assimp/test/models/glTF2/IndexOutOfRange/IndexOutOfRange.gltf
Normal file
142
assimp/test/models/glTF2/IndexOutOfRange/IndexOutOfRange.gltf
Normal file
|
|
@ -0,0 +1,142 @@
|
|||
{
|
||||
"asset": {
|
||||
"generator": "COLLADA2GLTF",
|
||||
"version": "2.0"
|
||||
},
|
||||
"scene": 0,
|
||||
"scenes": [
|
||||
{
|
||||
"nodes": [
|
||||
0
|
||||
]
|
||||
}
|
||||
],
|
||||
"nodes": [
|
||||
{
|
||||
"children": [
|
||||
1
|
||||
],
|
||||
"matrix": [
|
||||
1.0,
|
||||
0.0,
|
||||
0.0,
|
||||
0.0,
|
||||
0.0,
|
||||
0.0,
|
||||
-1.0,
|
||||
0.0,
|
||||
0.0,
|
||||
1.0,
|
||||
0.0,
|
||||
0.0,
|
||||
0.0,
|
||||
0.0,
|
||||
0.0,
|
||||
1.0
|
||||
]
|
||||
},
|
||||
{
|
||||
"mesh": 0
|
||||
}
|
||||
],
|
||||
"meshes": [
|
||||
{
|
||||
"primitives": [
|
||||
{
|
||||
"attributes": {
|
||||
"NORMAL": 1,
|
||||
"POSITION": 2
|
||||
},
|
||||
"indices": 0,
|
||||
"mode": 4,
|
||||
"material": 0
|
||||
}
|
||||
],
|
||||
"name": "Mesh"
|
||||
}
|
||||
],
|
||||
"accessors": [
|
||||
{
|
||||
"bufferView": 0,
|
||||
"byteOffset": 0,
|
||||
"componentType": 5123,
|
||||
"count": 36,
|
||||
"max": [
|
||||
255
|
||||
],
|
||||
"min": [
|
||||
0
|
||||
],
|
||||
"type": "SCALAR"
|
||||
},
|
||||
{
|
||||
"bufferView": 1,
|
||||
"byteOffset": 0,
|
||||
"componentType": 5126,
|
||||
"count": 24,
|
||||
"max": [
|
||||
1.0,
|
||||
1.0,
|
||||
1.0
|
||||
],
|
||||
"min": [
|
||||
-1.0,
|
||||
-1.0,
|
||||
-1.0
|
||||
],
|
||||
"type": "VEC3"
|
||||
},
|
||||
{
|
||||
"bufferView": 1,
|
||||
"byteOffset": 288,
|
||||
"componentType": 5126,
|
||||
"count": 24,
|
||||
"max": [
|
||||
0.5,
|
||||
0.5,
|
||||
0.5
|
||||
],
|
||||
"min": [
|
||||
-0.5,
|
||||
-0.5,
|
||||
-0.5
|
||||
],
|
||||
"type": "VEC3"
|
||||
}
|
||||
],
|
||||
"materials": [
|
||||
{
|
||||
"pbrMetallicRoughness": {
|
||||
"baseColorFactor": [
|
||||
0.800000011920929,
|
||||
0.0,
|
||||
0.0,
|
||||
1.0
|
||||
],
|
||||
"metallicFactor": 0.0
|
||||
},
|
||||
"name": "Red"
|
||||
}
|
||||
],
|
||||
"bufferViews": [
|
||||
{
|
||||
"buffer": 0,
|
||||
"byteOffset": 576,
|
||||
"byteLength": 72,
|
||||
"target": 34963
|
||||
},
|
||||
{
|
||||
"buffer": 0,
|
||||
"byteOffset": 0,
|
||||
"byteLength": 576,
|
||||
"byteStride": 12,
|
||||
"target": 34962
|
||||
}
|
||||
],
|
||||
"buffers": [
|
||||
{
|
||||
"byteLength": 648,
|
||||
"uri": "IndexOutOfRange.bin"
|
||||
}
|
||||
]
|
||||
}
|
||||
181
assimp/test/models/glTF2/MissingBin/BoxTextured.gltf
Normal file
181
assimp/test/models/glTF2/MissingBin/BoxTextured.gltf
Normal file
|
|
@ -0,0 +1,181 @@
|
|||
{
|
||||
"asset": {
|
||||
"generator": "COLLADA2GLTF",
|
||||
"version": "2.0"
|
||||
},
|
||||
"scene": 0,
|
||||
"scenes": [
|
||||
{
|
||||
"nodes": [
|
||||
0
|
||||
]
|
||||
}
|
||||
],
|
||||
"nodes": [
|
||||
{
|
||||
"children": [
|
||||
1
|
||||
],
|
||||
"matrix": [
|
||||
1.0,
|
||||
0.0,
|
||||
0.0,
|
||||
0.0,
|
||||
0.0,
|
||||
0.0,
|
||||
-1.0,
|
||||
0.0,
|
||||
0.0,
|
||||
1.0,
|
||||
0.0,
|
||||
0.0,
|
||||
0.0,
|
||||
0.0,
|
||||
0.0,
|
||||
1.0
|
||||
]
|
||||
},
|
||||
{
|
||||
"mesh": 0
|
||||
}
|
||||
],
|
||||
"meshes": [
|
||||
{
|
||||
"primitives": [
|
||||
{
|
||||
"attributes": {
|
||||
"NORMAL": 1,
|
||||
"POSITION": 2,
|
||||
"TEXCOORD_0": 3
|
||||
},
|
||||
"indices": 0,
|
||||
"mode": 4,
|
||||
"material": 0
|
||||
}
|
||||
],
|
||||
"name": "Mesh"
|
||||
}
|
||||
],
|
||||
"accessors": [
|
||||
{
|
||||
"bufferView": 0,
|
||||
"byteOffset": 0,
|
||||
"componentType": 5123,
|
||||
"count": 36,
|
||||
"max": [
|
||||
23
|
||||
],
|
||||
"min": [
|
||||
0
|
||||
],
|
||||
"type": "SCALAR"
|
||||
},
|
||||
{
|
||||
"bufferView": 1,
|
||||
"byteOffset": 0,
|
||||
"componentType": 5126,
|
||||
"count": 24,
|
||||
"max": [
|
||||
1.0,
|
||||
1.0,
|
||||
1.0
|
||||
],
|
||||
"min": [
|
||||
-1.0,
|
||||
-1.0,
|
||||
-1.0
|
||||
],
|
||||
"type": "VEC3"
|
||||
},
|
||||
{
|
||||
"bufferView": 1,
|
||||
"byteOffset": 288,
|
||||
"componentType": 5126,
|
||||
"count": 24,
|
||||
"max": [
|
||||
0.5,
|
||||
0.5,
|
||||
0.5
|
||||
],
|
||||
"min": [
|
||||
-0.5,
|
||||
-0.5,
|
||||
-0.5
|
||||
],
|
||||
"type": "VEC3"
|
||||
},
|
||||
{
|
||||
"bufferView": 2,
|
||||
"byteOffset": 0,
|
||||
"componentType": 5126,
|
||||
"count": 24,
|
||||
"max": [
|
||||
6.0,
|
||||
1.0
|
||||
],
|
||||
"min": [
|
||||
0.0,
|
||||
0.0
|
||||
],
|
||||
"type": "VEC2"
|
||||
}
|
||||
],
|
||||
"materials": [
|
||||
{
|
||||
"pbrMetallicRoughness": {
|
||||
"baseColorTexture": {
|
||||
"index": 0
|
||||
},
|
||||
"metallicFactor": 0.0
|
||||
},
|
||||
"name": "Texture"
|
||||
}
|
||||
],
|
||||
"textures": [
|
||||
{
|
||||
"sampler": 0,
|
||||
"source": 0
|
||||
}
|
||||
],
|
||||
"images": [
|
||||
{
|
||||
"uri": "CesiumLogoFlat.png"
|
||||
}
|
||||
],
|
||||
"samplers": [
|
||||
{
|
||||
"magFilter": 9729,
|
||||
"minFilter": 9986,
|
||||
"wrapS": 33648,
|
||||
"wrapT": 33071
|
||||
}
|
||||
],
|
||||
"bufferViews": [
|
||||
{
|
||||
"buffer": 0,
|
||||
"byteOffset": 768,
|
||||
"byteLength": 72,
|
||||
"target": 34963
|
||||
},
|
||||
{
|
||||
"buffer": 0,
|
||||
"byteOffset": 0,
|
||||
"byteLength": 576,
|
||||
"byteStride": 12,
|
||||
"target": 34962
|
||||
},
|
||||
{
|
||||
"buffer": 0,
|
||||
"byteOffset": 576,
|
||||
"byteLength": 192,
|
||||
"byteStride": 8,
|
||||
"target": 34962
|
||||
}
|
||||
],
|
||||
"buffers": [
|
||||
{
|
||||
"byteLength": 840,
|
||||
"uri": "BoxTextured0.bin"
|
||||
}
|
||||
]
|
||||
}
|
||||
17
assimp/test/models/glTF2/MorphPrimitivesTest/LICENSE.md
Normal file
17
assimp/test/models/glTF2/MorphPrimitivesTest/LICENSE.md
Normal file
|
|
@ -0,0 +1,17 @@
|
|||
# LICENSE file for the model: Morph-Primitives Test
|
||||
|
||||
All files in this directory tree are licensed as indicated below.
|
||||
|
||||
* All files directly associated with the model including all text, image and binary files:
|
||||
|
||||
* [CC BY 4.0 International]("https://creativecommons.org/licenses/by/4.0/legalcode") [SPDX license identifier: "CC-BY-4.0"]
|
||||
|
||||
* [CC BY 4.0 International]("https://creativecommons.org/licenses/by/4.0/legalcode") [SPDX license identifier: "CC-BY-4.0"]
|
||||
|
||||
* This file and all other metadocumentation files including "metadata.json":
|
||||
|
||||
* [Creative Commons Attribtution 4.0 International]("https://creativecommons.org/licenses/by/4.0/legalcode") [SPDX license identifier: "CC-BY-4.0"]
|
||||
|
||||
Full license text of these licenses are available at the links above
|
||||
|
||||
#### Generated by modelmetadata
|
||||
21
assimp/test/models/glTF2/MorphPrimitivesTest/README.body.md
Normal file
21
assimp/test/models/glTF2/MorphPrimitivesTest/README.body.md
Normal file
|
|
@ -0,0 +1,21 @@
|
|||
## Screenshot
|
||||
|
||||

|
||||
|
||||
## Description
|
||||
|
||||
This model contains a simple mesh with two primitives: A larger red primitive displays a grid covering 3 of the 4 quadrants of the model's area, followed by a smaller green primitive covering the last quadrant.
|
||||
|
||||
Each primitive has a morph target that creates an elevated area within these quadrants. The model's only mesh contains a `weights: [0.5]` instruction that should cause these morph targets to be applied at half strength, raising the center of the model as shown in the screenshot above.
|
||||
|
||||
## Common Problems
|
||||
|
||||
If the entire model appears perfectly flat, it is likely that the morph targets have not been applied as requested.
|
||||
|
||||
If the red area or green area is missing, particularly in the Draco-compressed version of this model, it could indicate a problem with decompression or with support of multiple primitives within a single mesh.
|
||||
|
||||
## Author
|
||||
|
||||
Model by [@ft-lab](https://github.com/ft-lab).
|
||||
|
||||
|
||||
50
assimp/test/models/glTF2/MorphPrimitivesTest/README.md
Normal file
50
assimp/test/models/glTF2/MorphPrimitivesTest/README.md
Normal file
|
|
@ -0,0 +1,50 @@
|
|||
# Morph-Primitives Test
|
||||
|
||||
## Tags
|
||||
|
||||
[core](../../Models-core.md), [testing](../../Models-testing.md)
|
||||
|
||||
## Summary
|
||||
|
||||
Tests a morph target on multiple primitives.
|
||||
|
||||
## Operations
|
||||
|
||||
* [Display](https://github.khronos.org/glTF-Sample-Viewer-Release/?model=https://raw.GithubUserContent.com/KhronosGroup/glTF-Sample-Assets/main/./Models/MorphPrimitivesTest/glTF-Binary/MorphPrimitivesTest.glb) in SampleViewer
|
||||
* [Download GLB](https://raw.GithubUserContent.com/KhronosGroup/glTF-Sample-Assets/main/./Models/MorphPrimitivesTest/glTF-Binary/MorphPrimitivesTest.glb)
|
||||
* [Model Directory](./)
|
||||
|
||||
## Screenshot
|
||||
|
||||

|
||||
|
||||
## Description
|
||||
|
||||
This model contains a simple mesh with two primitives: A larger red primitive displays a grid covering 3 of the 4 quadrants of the model's area, followed by a smaller green primitive covering the last quadrant.
|
||||
|
||||
Each primitive has a morph target that creates an elevated area within these quadrants. The model's only mesh contains a `weights: [0.5]` instruction that should cause these morph targets to be applied at half strength, raising the center of the model as shown in the screenshot above.
|
||||
|
||||
## Common Problems
|
||||
|
||||
If the entire model appears perfectly flat, it is likely that the morph targets have not been applied as requested.
|
||||
|
||||
If the red area or green area is missing, particularly in the Draco-compressed version of this model, it could indicate a problem with decompression or with support of multiple primitives within a single mesh.
|
||||
|
||||
## Author
|
||||
|
||||
Model by [@ft-lab](https://github.com/ft-lab).
|
||||
|
||||
|
||||
|
||||
|
||||
## Legal
|
||||
|
||||
© 2018, ft-lab. [CC BY 4.0 International](https://creativecommons.org/licenses/by/4.0/legalcode)
|
||||
|
||||
- ft-lab for Everything
|
||||
|
||||
© 2020, Frank Galligan. [CC BY 4.0 International](https://creativecommons.org/licenses/by/4.0/legalcode)
|
||||
|
||||
- Frank Galligan for DRACO compression
|
||||
|
||||
#### Assembled by modelmetadata
|
||||
Binary file not shown.
|
|
@ -0,0 +1,331 @@
|
|||
{
|
||||
"asset": {
|
||||
"generator": "glTF Converter for Shade3D",
|
||||
"version": "2.0",
|
||||
"extras": {
|
||||
"title": "multiple_primitives",
|
||||
"author": "ft-lab",
|
||||
"license": "CC BY-4.0 (https://creativecommons.org/licenses/by/4.0/)"
|
||||
}
|
||||
},
|
||||
"accessors": [
|
||||
{
|
||||
"bufferView": 0,
|
||||
"componentType": 5123,
|
||||
"count": 72,
|
||||
"type": "SCALAR",
|
||||
"byteOffset": 0
|
||||
},
|
||||
{
|
||||
"bufferView": 1,
|
||||
"componentType": 5126,
|
||||
"count": 21,
|
||||
"type": "VEC3",
|
||||
"byteOffset": 0
|
||||
},
|
||||
{
|
||||
"bufferView": 2,
|
||||
"componentType": 5126,
|
||||
"count": 21,
|
||||
"type": "VEC3",
|
||||
"max": [
|
||||
0.5,
|
||||
0,
|
||||
0.5
|
||||
],
|
||||
"min": [
|
||||
-0.5,
|
||||
0,
|
||||
-0.5
|
||||
],
|
||||
"byteOffset": 0
|
||||
},
|
||||
{
|
||||
"bufferView": 3,
|
||||
"componentType": 5126,
|
||||
"count": 21,
|
||||
"type": "VEC2",
|
||||
"byteOffset": 0
|
||||
},
|
||||
{
|
||||
"bufferView": 4,
|
||||
"componentType": 5126,
|
||||
"count": 21,
|
||||
"type": "VEC3",
|
||||
"max": [
|
||||
0,
|
||||
0.20000000298023224,
|
||||
0
|
||||
],
|
||||
"min": [
|
||||
0,
|
||||
0,
|
||||
0
|
||||
],
|
||||
"byteOffset": 0
|
||||
},
|
||||
{
|
||||
"bufferView": 5,
|
||||
"componentType": 5123,
|
||||
"count": 24,
|
||||
"type": "SCALAR",
|
||||
"byteOffset": 0
|
||||
},
|
||||
{
|
||||
"bufferView": 6,
|
||||
"componentType": 5126,
|
||||
"count": 9,
|
||||
"type": "VEC3",
|
||||
"byteOffset": 0
|
||||
},
|
||||
{
|
||||
"bufferView": 7,
|
||||
"componentType": 5126,
|
||||
"count": 9,
|
||||
"type": "VEC3",
|
||||
"max": [
|
||||
0.5,
|
||||
0,
|
||||
0
|
||||
],
|
||||
"min": [
|
||||
0,
|
||||
0,
|
||||
-0.5
|
||||
],
|
||||
"byteOffset": 0
|
||||
},
|
||||
{
|
||||
"bufferView": 8,
|
||||
"componentType": 5126,
|
||||
"count": 9,
|
||||
"type": "VEC2",
|
||||
"byteOffset": 0
|
||||
},
|
||||
{
|
||||
"bufferView": 9,
|
||||
"componentType": 5126,
|
||||
"count": 9,
|
||||
"type": "VEC3",
|
||||
"max": [
|
||||
0,
|
||||
0.20000000298023224,
|
||||
0
|
||||
],
|
||||
"min": [
|
||||
0,
|
||||
0,
|
||||
0
|
||||
],
|
||||
"byteOffset": 0
|
||||
}
|
||||
],
|
||||
"bufferViews": [
|
||||
{
|
||||
"buffer": 0,
|
||||
"byteOffset": 0,
|
||||
"byteLength": 144,
|
||||
"target": 34963
|
||||
},
|
||||
{
|
||||
"buffer": 0,
|
||||
"byteOffset": 144,
|
||||
"byteLength": 252,
|
||||
"target": 34962,
|
||||
"byteStride": 12
|
||||
},
|
||||
{
|
||||
"buffer": 0,
|
||||
"byteOffset": 396,
|
||||
"byteLength": 252,
|
||||
"target": 34962,
|
||||
"byteStride": 12
|
||||
},
|
||||
{
|
||||
"buffer": 0,
|
||||
"byteOffset": 648,
|
||||
"byteLength": 168,
|
||||
"target": 34962,
|
||||
"byteStride": 8
|
||||
},
|
||||
{
|
||||
"buffer": 0,
|
||||
"byteOffset": 816,
|
||||
"byteLength": 252,
|
||||
"target": 34962,
|
||||
"byteStride": 12
|
||||
},
|
||||
{
|
||||
"buffer": 0,
|
||||
"byteOffset": 1068,
|
||||
"byteLength": 48,
|
||||
"target": 34963
|
||||
},
|
||||
{
|
||||
"buffer": 0,
|
||||
"byteOffset": 1116,
|
||||
"byteLength": 108,
|
||||
"target": 34962,
|
||||
"byteStride": 12
|
||||
},
|
||||
{
|
||||
"buffer": 0,
|
||||
"byteOffset": 1224,
|
||||
"byteLength": 108,
|
||||
"target": 34962,
|
||||
"byteStride": 12
|
||||
},
|
||||
{
|
||||
"buffer": 0,
|
||||
"byteOffset": 1332,
|
||||
"byteLength": 72,
|
||||
"target": 34962,
|
||||
"byteStride": 8
|
||||
},
|
||||
{
|
||||
"buffer": 0,
|
||||
"byteOffset": 1404,
|
||||
"byteLength": 108,
|
||||
"target": 34962,
|
||||
"byteStride": 12
|
||||
}
|
||||
],
|
||||
"buffers": [
|
||||
{
|
||||
"name": "MorphPrimitivesTest",
|
||||
"byteLength": 1512,
|
||||
"uri": "MorphPrimitivesTest.bin"
|
||||
}
|
||||
],
|
||||
"images": [
|
||||
{
|
||||
"name": "uv_texture.jpg",
|
||||
"mimeType": "image/jpeg",
|
||||
"uri": "uv_texture.jpg"
|
||||
}
|
||||
],
|
||||
"materials": [
|
||||
{
|
||||
"pbrMetallicRoughness": {
|
||||
"baseColorFactor": [
|
||||
1,
|
||||
0,
|
||||
0,
|
||||
1
|
||||
],
|
||||
"baseColorTexture": {
|
||||
"index": 0,
|
||||
"texCoord": 0
|
||||
},
|
||||
"metallicFactor": 0,
|
||||
"roughnessFactor": 1
|
||||
},
|
||||
"name": "red",
|
||||
"emissiveFactor": [
|
||||
0,
|
||||
0,
|
||||
0
|
||||
],
|
||||
"alphaMode": "OPAQUE",
|
||||
"doubleSided": false
|
||||
},
|
||||
{
|
||||
"pbrMetallicRoughness": {
|
||||
"baseColorFactor": [
|
||||
0,
|
||||
1,
|
||||
0,
|
||||
1
|
||||
],
|
||||
"baseColorTexture": {
|
||||
"index": 0,
|
||||
"texCoord": 0
|
||||
},
|
||||
"metallicFactor": 0,
|
||||
"roughnessFactor": 1
|
||||
},
|
||||
"name": "green",
|
||||
"emissiveFactor": [
|
||||
0,
|
||||
0,
|
||||
0
|
||||
],
|
||||
"alphaMode": "OPAQUE",
|
||||
"doubleSided": false
|
||||
}
|
||||
],
|
||||
"meshes": [
|
||||
{
|
||||
"weights": [
|
||||
0.5
|
||||
],
|
||||
"name": "mesh",
|
||||
"primitives": [
|
||||
{
|
||||
"attributes": {
|
||||
"NORMAL": 1,
|
||||
"POSITION": 2,
|
||||
"TEXCOORD_0": 3
|
||||
},
|
||||
"indices": 0,
|
||||
"material": 0,
|
||||
"targets": [
|
||||
{
|
||||
"POSITION": 4
|
||||
}
|
||||
],
|
||||
"mode": 4
|
||||
},
|
||||
{
|
||||
"attributes": {
|
||||
"POSITION": 7,
|
||||
"NORMAL": 6,
|
||||
"TEXCOORD_0": 8
|
||||
},
|
||||
"indices": 5,
|
||||
"material": 1,
|
||||
"targets": [
|
||||
{
|
||||
"POSITION": 9
|
||||
}
|
||||
],
|
||||
"mode": 4
|
||||
}
|
||||
]
|
||||
}
|
||||
],
|
||||
"nodes": [
|
||||
{
|
||||
"children": [
|
||||
1
|
||||
],
|
||||
"name": "ルートパート"
|
||||
},
|
||||
{
|
||||
"mesh": 0,
|
||||
"name": "mesh"
|
||||
}
|
||||
],
|
||||
"samplers": [
|
||||
{
|
||||
"minFilter": 9729,
|
||||
"wrapS": 10497,
|
||||
"wrapT": 10497
|
||||
}
|
||||
],
|
||||
"scenes": [
|
||||
{
|
||||
"nodes": [
|
||||
0
|
||||
],
|
||||
"name": "Scene"
|
||||
}
|
||||
],
|
||||
"textures": [
|
||||
{
|
||||
"sampler": 0,
|
||||
"source": 0
|
||||
}
|
||||
],
|
||||
"scene": 0
|
||||
}
|
||||
BIN
assimp/test/models/glTF2/MorphPrimitivesTest/glTF/uv_texture.jpg
(Stored with Git LFS)
Normal file
BIN
assimp/test/models/glTF2/MorphPrimitivesTest/glTF/uv_texture.jpg
(Stored with Git LFS)
Normal file
Binary file not shown.
15
assimp/test/models/glTF2/MorphStressTest/LICENSE.md
Normal file
15
assimp/test/models/glTF2/MorphStressTest/LICENSE.md
Normal file
|
|
@ -0,0 +1,15 @@
|
|||
# LICENSE file for the model: Morph Stress Test
|
||||
|
||||
All files in this directory tree are licensed as indicated below.
|
||||
|
||||
* All files directly associated with the model including all text, image and binary files:
|
||||
|
||||
* [CC BY 4.0 International]("https://creativecommons.org/licenses/by/4.0/legalcode") [SPDX license identifier: "CC-BY-4.0"]
|
||||
|
||||
* This file and all other metadocumentation files including "metadata.json":
|
||||
|
||||
* [Creative Commons Attribtution 4.0 International]("https://creativecommons.org/licenses/by/4.0/legalcode") [SPDX license identifier: "CC-BY-4.0"]
|
||||
|
||||
Full license text of these licenses are available at the links above
|
||||
|
||||
#### Generated by modelmetadata
|
||||
62
assimp/test/models/glTF2/MorphStressTest/README.body.md
Normal file
62
assimp/test/models/glTF2/MorphStressTest/README.body.md
Normal file
|
|
@ -0,0 +1,62 @@
|
|||
## Screenshot
|
||||
|
||||

|
||||
|
||||
## Description
|
||||
|
||||
This model has a base mesh, plus eight morph targets. The base and each of the morph targets has
|
||||
both a POSITION and a NORMAL accessor, resulting in no less than 18 vertex attributes being requested
|
||||
by a typical implementation. This number can be too high for many realtime graphics systems, and
|
||||
the client runtime may take steps to limit the overall number of morph targets and/or limit the
|
||||
number of active morph targets.
|
||||
|
||||
As such, this model is not expected to render correctly everywhere. Instead, it pushes the limits
|
||||
to see how many morph targets can move at once before problems become apparent.
|
||||
|
||||
## Animations
|
||||
|
||||
Three animations are included:
|
||||
|
||||
---
|
||||
### "Individuals"
|
||||
|
||||

|
||||
|
||||
Each morph target is exercised one at a time, and returns to zero strength before the next one
|
||||
starts to move. This offers runtimes the best chance of success, as vertex attributes need only
|
||||
be allocated for one morph target at a time. Even so, systems that pre-allocate morph target
|
||||
attributes may place an upper limit here, allowing only some of the test blocks to move.
|
||||
|
||||
---
|
||||
### "TheWave"
|
||||
|
||||

|
||||
|
||||
This animation tests a wave of morph targets being activated simultaneously. This does require
|
||||
a high number of vertex attributes to be available. If glitches in movement are observed,
|
||||
continue on to the "Pulse" animation for closer inspection.
|
||||
|
||||
---
|
||||
### "Pulse"
|
||||
|
||||

|
||||
|
||||
This is the most stressful test, with all 8 morph targets reaching full strength before any
|
||||
begin to subside. Some runtimes may place limits on how many morph targets can be active at
|
||||
once, resulting in a distinctive visual pattern here: Only the first N test blocks will
|
||||
appear to move, where N is the number of simultaneous active morph targets allowed. Test
|
||||
blocks on the right will remain frozen in the starting position until the first few blocks
|
||||
on the left have returned to rest. After the blocks on the left have returned to rest, they
|
||||
could relinquish their vertex attributes to blocks on the right, allowing those blocks to
|
||||
"catch up" to their assigned positions in the animation.
|
||||
|
||||
It is also possible that there could be a hard limit on the number of morph targets, regardless
|
||||
of whether they are active or not. In this case, only the first N blocks will move at all,
|
||||
and the remainder will be frozen the entire time.
|
||||
|
||||
---
|
||||
## Implementation Notes
|
||||
|
||||
BabylonJS has shared some technical details of their "Infinite Morph Targets" implementation
|
||||
in [this YouTube video](https://www.youtube.com/watch?v=LBPRmGgU0PE).
|
||||
|
||||
87
assimp/test/models/glTF2/MorphStressTest/README.md
Normal file
87
assimp/test/models/glTF2/MorphStressTest/README.md
Normal file
|
|
@ -0,0 +1,87 @@
|
|||
# Morph Stress Test
|
||||
|
||||
## Tags
|
||||
|
||||
[core](../../Models-core.md), [testing](../../Models-testing.md)
|
||||
|
||||
## Summary
|
||||
|
||||
Tests up to 8 morph targets.
|
||||
|
||||
## Operations
|
||||
|
||||
* [Display](https://github.khronos.org/glTF-Sample-Viewer-Release/?model=https://raw.GithubUserContent.com/KhronosGroup/glTF-Sample-Assets/main/./Models/MorphStressTest/glTF-Binary/MorphStressTest.glb) in SampleViewer
|
||||
* [Download GLB](https://raw.GithubUserContent.com/KhronosGroup/glTF-Sample-Assets/main/./Models/MorphStressTest/glTF-Binary/MorphStressTest.glb)
|
||||
* [Model Directory](./)
|
||||
|
||||
## Screenshot
|
||||
|
||||

|
||||
|
||||
## Description
|
||||
|
||||
This model has a base mesh, plus eight morph targets. The base and each of the morph targets has
|
||||
both a POSITION and a NORMAL accessor, resulting in no less than 18 vertex attributes being requested
|
||||
by a typical implementation. This number can be too high for many realtime graphics systems, and
|
||||
the client runtime may take steps to limit the overall number of morph targets and/or limit the
|
||||
number of active morph targets.
|
||||
|
||||
As such, this model is not expected to render correctly everywhere. Instead, it pushes the limits
|
||||
to see how many morph targets can move at once before problems become apparent.
|
||||
|
||||
## Animations
|
||||
|
||||
Three animations are included:
|
||||
|
||||
---
|
||||
### "Individuals"
|
||||
|
||||

|
||||
|
||||
Each morph target is exercised one at a time, and returns to zero strength before the next one
|
||||
starts to move. This offers runtimes the best chance of success, as vertex attributes need only
|
||||
be allocated for one morph target at a time. Even so, systems that pre-allocate morph target
|
||||
attributes may place an upper limit here, allowing only some of the test blocks to move.
|
||||
|
||||
---
|
||||
### "TheWave"
|
||||
|
||||

|
||||
|
||||
This animation tests a wave of morph targets being activated simultaneously. This does require
|
||||
a high number of vertex attributes to be available. If glitches in movement are observed,
|
||||
continue on to the "Pulse" animation for closer inspection.
|
||||
|
||||
---
|
||||
### "Pulse"
|
||||
|
||||

|
||||
|
||||
This is the most stressful test, with all 8 morph targets reaching full strength before any
|
||||
begin to subside. Some runtimes may place limits on how many morph targets can be active at
|
||||
once, resulting in a distinctive visual pattern here: Only the first N test blocks will
|
||||
appear to move, where N is the number of simultaneous active morph targets allowed. Test
|
||||
blocks on the right will remain frozen in the starting position until the first few blocks
|
||||
on the left have returned to rest. After the blocks on the left have returned to rest, they
|
||||
could relinquish their vertex attributes to blocks on the right, allowing those blocks to
|
||||
"catch up" to their assigned positions in the animation.
|
||||
|
||||
It is also possible that there could be a hard limit on the number of morph targets, regardless
|
||||
of whether they are active or not. In this case, only the first N blocks will move at all,
|
||||
and the remainder will be frozen the entire time.
|
||||
|
||||
---
|
||||
## Implementation Notes
|
||||
|
||||
BabylonJS has shared some technical details of their "Infinite Morph Targets" implementation
|
||||
in [this YouTube video](https://www.youtube.com/watch?v=LBPRmGgU0PE).
|
||||
|
||||
|
||||
|
||||
## Legal
|
||||
|
||||
© 2021, Analytical Graphics, Inc.. [CC BY 4.0 International](https://creativecommons.org/licenses/by/4.0/legalcode)
|
||||
|
||||
- Ed Mackey for Everything
|
||||
|
||||
#### Assembled by modelmetadata
|
||||
BIN
assimp/test/models/glTF2/MorphStressTest/glTF/Base_AO.png
(Stored with Git LFS)
Normal file
BIN
assimp/test/models/glTF2/MorphStressTest/glTF/Base_AO.png
(Stored with Git LFS)
Normal file
Binary file not shown.
BIN
assimp/test/models/glTF2/MorphStressTest/glTF/ColorSwatches.png
(Stored with Git LFS)
Normal file
BIN
assimp/test/models/glTF2/MorphStressTest/glTF/ColorSwatches.png
(Stored with Git LFS)
Normal file
Binary file not shown.
Binary file not shown.
|
|
@ -0,0 +1,999 @@
|
|||
{
|
||||
"asset" : {
|
||||
"copyright" : "CC-BY 4.0 Copyright 2021 Analytical Graphics, Inc. Model and Textures by Ed Mackey.",
|
||||
"generator" : "Khronos glTF Blender I/O v1.5.13",
|
||||
"version" : "2.0"
|
||||
},
|
||||
"scene" : 0,
|
||||
"scenes" : [
|
||||
{
|
||||
"name" : "Scene",
|
||||
"nodes" : [
|
||||
0
|
||||
]
|
||||
}
|
||||
],
|
||||
"nodes" : [
|
||||
{
|
||||
"mesh" : 0,
|
||||
"name" : "Main"
|
||||
}
|
||||
],
|
||||
"animations" : [
|
||||
{
|
||||
"channels" : [
|
||||
{
|
||||
"sampler" : 0,
|
||||
"target" : {
|
||||
"node" : 0,
|
||||
"path" : "weights"
|
||||
}
|
||||
}
|
||||
],
|
||||
"name" : "Individuals",
|
||||
"samplers" : [
|
||||
{
|
||||
"input" : 42,
|
||||
"interpolation" : "LINEAR",
|
||||
"output" : 43
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"channels" : [
|
||||
{
|
||||
"sampler" : 0,
|
||||
"target" : {
|
||||
"node" : 0,
|
||||
"path" : "weights"
|
||||
}
|
||||
}
|
||||
],
|
||||
"name" : "TheWave",
|
||||
"samplers" : [
|
||||
{
|
||||
"input" : 44,
|
||||
"interpolation" : "LINEAR",
|
||||
"output" : 45
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"channels" : [
|
||||
{
|
||||
"sampler" : 0,
|
||||
"target" : {
|
||||
"node" : 0,
|
||||
"path" : "weights"
|
||||
}
|
||||
}
|
||||
],
|
||||
"name" : "Pulse",
|
||||
"samplers" : [
|
||||
{
|
||||
"input" : 46,
|
||||
"interpolation" : "LINEAR",
|
||||
"output" : 47
|
||||
}
|
||||
]
|
||||
}
|
||||
],
|
||||
"materials" : [
|
||||
{
|
||||
"doubleSided" : true,
|
||||
"name" : "Base",
|
||||
"occlusionTexture" : {
|
||||
"index" : 0,
|
||||
"texCoord" : 1
|
||||
},
|
||||
"pbrMetallicRoughness" : {
|
||||
"baseColorTexture" : {
|
||||
"index" : 1
|
||||
},
|
||||
"metallicFactor" : 0,
|
||||
"roughnessFactor" : 0.4000000059604645
|
||||
}
|
||||
},
|
||||
{
|
||||
"doubleSided" : true,
|
||||
"name" : "TestMaterial",
|
||||
"pbrMetallicRoughness" : {
|
||||
"baseColorTexture" : {
|
||||
"index" : 2
|
||||
},
|
||||
"metallicFactor" : 0,
|
||||
"roughnessFactor" : 0.5
|
||||
}
|
||||
}
|
||||
],
|
||||
"meshes" : [
|
||||
{
|
||||
"extras" : {
|
||||
"targetNames" : [
|
||||
"Key 1",
|
||||
"Key 2",
|
||||
"Key 3",
|
||||
"Key 4",
|
||||
"Key 5",
|
||||
"Key 6",
|
||||
"Key 7",
|
||||
"Key 8"
|
||||
]
|
||||
},
|
||||
"name" : "Cube",
|
||||
"primitives" : [
|
||||
{
|
||||
"attributes" : {
|
||||
"POSITION" : 0,
|
||||
"NORMAL" : 1,
|
||||
"TEXCOORD_0" : 2,
|
||||
"TEXCOORD_1" : 3
|
||||
},
|
||||
"indices" : 4,
|
||||
"material" : 0,
|
||||
"targets" : [
|
||||
{
|
||||
"POSITION" : 5,
|
||||
"NORMAL" : 6
|
||||
},
|
||||
{
|
||||
"POSITION" : 7,
|
||||
"NORMAL" : 8
|
||||
},
|
||||
{
|
||||
"POSITION" : 9,
|
||||
"NORMAL" : 10
|
||||
},
|
||||
{
|
||||
"POSITION" : 11,
|
||||
"NORMAL" : 12
|
||||
},
|
||||
{
|
||||
"POSITION" : 13,
|
||||
"NORMAL" : 14
|
||||
},
|
||||
{
|
||||
"POSITION" : 15,
|
||||
"NORMAL" : 16
|
||||
},
|
||||
{
|
||||
"POSITION" : 17,
|
||||
"NORMAL" : 18
|
||||
},
|
||||
{
|
||||
"POSITION" : 19,
|
||||
"NORMAL" : 20
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"attributes" : {
|
||||
"POSITION" : 21,
|
||||
"NORMAL" : 22,
|
||||
"TEXCOORD_0" : 23,
|
||||
"TEXCOORD_1" : 24
|
||||
},
|
||||
"indices" : 25,
|
||||
"material" : 1,
|
||||
"targets" : [
|
||||
{
|
||||
"POSITION" : 26,
|
||||
"NORMAL" : 27
|
||||
},
|
||||
{
|
||||
"POSITION" : 28,
|
||||
"NORMAL" : 29
|
||||
},
|
||||
{
|
||||
"POSITION" : 30,
|
||||
"NORMAL" : 31
|
||||
},
|
||||
{
|
||||
"POSITION" : 32,
|
||||
"NORMAL" : 33
|
||||
},
|
||||
{
|
||||
"POSITION" : 34,
|
||||
"NORMAL" : 35
|
||||
},
|
||||
{
|
||||
"POSITION" : 36,
|
||||
"NORMAL" : 37
|
||||
},
|
||||
{
|
||||
"POSITION" : 38,
|
||||
"NORMAL" : 39
|
||||
},
|
||||
{
|
||||
"POSITION" : 40,
|
||||
"NORMAL" : 41
|
||||
}
|
||||
]
|
||||
}
|
||||
],
|
||||
"weights" : [
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0
|
||||
]
|
||||
}
|
||||
],
|
||||
"textures" : [
|
||||
{
|
||||
"sampler" : 0,
|
||||
"source" : 0
|
||||
},
|
||||
{
|
||||
"sampler" : 0,
|
||||
"source" : 1
|
||||
},
|
||||
{
|
||||
"sampler" : 0,
|
||||
"source" : 2
|
||||
}
|
||||
],
|
||||
"images" : [
|
||||
{
|
||||
"mimeType" : "image/png",
|
||||
"name" : "Base_AO",
|
||||
"uri" : "Base_AO.png"
|
||||
},
|
||||
{
|
||||
"mimeType" : "image/png",
|
||||
"name" : "TinyGrid",
|
||||
"uri" : "TinyGrid.png"
|
||||
},
|
||||
{
|
||||
"mimeType" : "image/png",
|
||||
"name" : "ColorSwatches",
|
||||
"uri" : "ColorSwatches.png"
|
||||
}
|
||||
],
|
||||
"accessors" : [
|
||||
{
|
||||
"bufferView" : 0,
|
||||
"componentType" : 5126,
|
||||
"count" : 24,
|
||||
"max" : [
|
||||
2,
|
||||
0,
|
||||
0.5
|
||||
],
|
||||
"min" : [
|
||||
-2,
|
||||
-0.10000002384185791,
|
||||
-0.5
|
||||
],
|
||||
"type" : "VEC3"
|
||||
},
|
||||
{
|
||||
"bufferView" : 1,
|
||||
"componentType" : 5126,
|
||||
"count" : 24,
|
||||
"type" : "VEC3"
|
||||
},
|
||||
{
|
||||
"bufferView" : 2,
|
||||
"componentType" : 5126,
|
||||
"count" : 24,
|
||||
"type" : "VEC2"
|
||||
},
|
||||
{
|
||||
"bufferView" : 3,
|
||||
"componentType" : 5126,
|
||||
"count" : 24,
|
||||
"type" : "VEC2"
|
||||
},
|
||||
{
|
||||
"bufferView" : 4,
|
||||
"componentType" : 5123,
|
||||
"count" : 36,
|
||||
"type" : "SCALAR"
|
||||
},
|
||||
{
|
||||
"bufferView" : 5,
|
||||
"componentType" : 5126,
|
||||
"count" : 24,
|
||||
"max" : [
|
||||
0,
|
||||
0,
|
||||
0
|
||||
],
|
||||
"min" : [
|
||||
0,
|
||||
0,
|
||||
0
|
||||
],
|
||||
"type" : "VEC3"
|
||||
},
|
||||
{
|
||||
"bufferView" : 6,
|
||||
"componentType" : 5126,
|
||||
"count" : 24,
|
||||
"type" : "VEC3"
|
||||
},
|
||||
{
|
||||
"bufferView" : 7,
|
||||
"componentType" : 5126,
|
||||
"count" : 24,
|
||||
"max" : [
|
||||
0,
|
||||
0,
|
||||
0
|
||||
],
|
||||
"min" : [
|
||||
0,
|
||||
0,
|
||||
0
|
||||
],
|
||||
"type" : "VEC3"
|
||||
},
|
||||
{
|
||||
"bufferView" : 8,
|
||||
"componentType" : 5126,
|
||||
"count" : 24,
|
||||
"type" : "VEC3"
|
||||
},
|
||||
{
|
||||
"bufferView" : 9,
|
||||
"componentType" : 5126,
|
||||
"count" : 24,
|
||||
"max" : [
|
||||
0,
|
||||
0,
|
||||
0
|
||||
],
|
||||
"min" : [
|
||||
0,
|
||||
0,
|
||||
0
|
||||
],
|
||||
"type" : "VEC3"
|
||||
},
|
||||
{
|
||||
"bufferView" : 10,
|
||||
"componentType" : 5126,
|
||||
"count" : 24,
|
||||
"type" : "VEC3"
|
||||
},
|
||||
{
|
||||
"bufferView" : 11,
|
||||
"componentType" : 5126,
|
||||
"count" : 24,
|
||||
"max" : [
|
||||
0,
|
||||
0,
|
||||
0
|
||||
],
|
||||
"min" : [
|
||||
0,
|
||||
0,
|
||||
0
|
||||
],
|
||||
"type" : "VEC3"
|
||||
},
|
||||
{
|
||||
"bufferView" : 12,
|
||||
"componentType" : 5126,
|
||||
"count" : 24,
|
||||
"type" : "VEC3"
|
||||
},
|
||||
{
|
||||
"bufferView" : 13,
|
||||
"componentType" : 5126,
|
||||
"count" : 24,
|
||||
"max" : [
|
||||
0,
|
||||
0,
|
||||
0
|
||||
],
|
||||
"min" : [
|
||||
0,
|
||||
0,
|
||||
0
|
||||
],
|
||||
"type" : "VEC3"
|
||||
},
|
||||
{
|
||||
"bufferView" : 14,
|
||||
"componentType" : 5126,
|
||||
"count" : 24,
|
||||
"type" : "VEC3"
|
||||
},
|
||||
{
|
||||
"bufferView" : 15,
|
||||
"componentType" : 5126,
|
||||
"count" : 24,
|
||||
"max" : [
|
||||
0,
|
||||
0,
|
||||
0
|
||||
],
|
||||
"min" : [
|
||||
0,
|
||||
0,
|
||||
0
|
||||
],
|
||||
"type" : "VEC3"
|
||||
},
|
||||
{
|
||||
"bufferView" : 16,
|
||||
"componentType" : 5126,
|
||||
"count" : 24,
|
||||
"type" : "VEC3"
|
||||
},
|
||||
{
|
||||
"bufferView" : 17,
|
||||
"componentType" : 5126,
|
||||
"count" : 24,
|
||||
"max" : [
|
||||
0,
|
||||
0,
|
||||
0
|
||||
],
|
||||
"min" : [
|
||||
0,
|
||||
0,
|
||||
0
|
||||
],
|
||||
"type" : "VEC3"
|
||||
},
|
||||
{
|
||||
"bufferView" : 18,
|
||||
"componentType" : 5126,
|
||||
"count" : 24,
|
||||
"type" : "VEC3"
|
||||
},
|
||||
{
|
||||
"bufferView" : 19,
|
||||
"componentType" : 5126,
|
||||
"count" : 24,
|
||||
"max" : [
|
||||
0,
|
||||
0,
|
||||
0
|
||||
],
|
||||
"min" : [
|
||||
0,
|
||||
0,
|
||||
0
|
||||
],
|
||||
"type" : "VEC3"
|
||||
},
|
||||
{
|
||||
"bufferView" : 20,
|
||||
"componentType" : 5126,
|
||||
"count" : 24,
|
||||
"type" : "VEC3"
|
||||
},
|
||||
{
|
||||
"bufferView" : 21,
|
||||
"componentType" : 5126,
|
||||
"count" : 1504,
|
||||
"max" : [
|
||||
1.875,
|
||||
0.5,
|
||||
0.25
|
||||
],
|
||||
"min" : [
|
||||
-1.875,
|
||||
0,
|
||||
-0.25
|
||||
],
|
||||
"type" : "VEC3"
|
||||
},
|
||||
{
|
||||
"bufferView" : 22,
|
||||
"componentType" : 5126,
|
||||
"count" : 1504,
|
||||
"type" : "VEC3"
|
||||
},
|
||||
{
|
||||
"bufferView" : 23,
|
||||
"componentType" : 5126,
|
||||
"count" : 1504,
|
||||
"type" : "VEC2"
|
||||
},
|
||||
{
|
||||
"bufferView" : 24,
|
||||
"componentType" : 5126,
|
||||
"count" : 1504,
|
||||
"type" : "VEC2"
|
||||
},
|
||||
{
|
||||
"bufferView" : 25,
|
||||
"componentType" : 5123,
|
||||
"count" : 7200,
|
||||
"type" : "SCALAR"
|
||||
},
|
||||
{
|
||||
"bufferView" : 26,
|
||||
"componentType" : 5126,
|
||||
"count" : 1504,
|
||||
"max" : [
|
||||
0.04999995231628418,
|
||||
1,
|
||||
0
|
||||
],
|
||||
"min" : [
|
||||
-0.04999995231628418,
|
||||
0,
|
||||
0
|
||||
],
|
||||
"type" : "VEC3"
|
||||
},
|
||||
{
|
||||
"bufferView" : 27,
|
||||
"componentType" : 5126,
|
||||
"count" : 1504,
|
||||
"type" : "VEC3"
|
||||
},
|
||||
{
|
||||
"bufferView" : 28,
|
||||
"componentType" : 5126,
|
||||
"count" : 1504,
|
||||
"max" : [
|
||||
0.04999995231628418,
|
||||
1,
|
||||
0
|
||||
],
|
||||
"min" : [
|
||||
-0.04999995231628418,
|
||||
0,
|
||||
0
|
||||
],
|
||||
"type" : "VEC3"
|
||||
},
|
||||
{
|
||||
"bufferView" : 29,
|
||||
"componentType" : 5126,
|
||||
"count" : 1504,
|
||||
"type" : "VEC3"
|
||||
},
|
||||
{
|
||||
"bufferView" : 30,
|
||||
"componentType" : 5126,
|
||||
"count" : 1504,
|
||||
"max" : [
|
||||
0.050000011920928955,
|
||||
1,
|
||||
0
|
||||
],
|
||||
"min" : [
|
||||
-0.050000011920928955,
|
||||
0,
|
||||
0
|
||||
],
|
||||
"type" : "VEC3"
|
||||
},
|
||||
{
|
||||
"bufferView" : 31,
|
||||
"componentType" : 5126,
|
||||
"count" : 1504,
|
||||
"type" : "VEC3"
|
||||
},
|
||||
{
|
||||
"bufferView" : 32,
|
||||
"componentType" : 5126,
|
||||
"count" : 1504,
|
||||
"max" : [
|
||||
0.050000011920928955,
|
||||
1,
|
||||
0
|
||||
],
|
||||
"min" : [
|
||||
-0.04999999701976776,
|
||||
0,
|
||||
0
|
||||
],
|
||||
"type" : "VEC3"
|
||||
},
|
||||
{
|
||||
"bufferView" : 33,
|
||||
"componentType" : 5126,
|
||||
"count" : 1504,
|
||||
"type" : "VEC3"
|
||||
},
|
||||
{
|
||||
"bufferView" : 34,
|
||||
"componentType" : 5126,
|
||||
"count" : 1504,
|
||||
"max" : [
|
||||
0.04999999701976776,
|
||||
1,
|
||||
0
|
||||
],
|
||||
"min" : [
|
||||
-0.050000011920928955,
|
||||
0,
|
||||
0
|
||||
],
|
||||
"type" : "VEC3"
|
||||
},
|
||||
{
|
||||
"bufferView" : 35,
|
||||
"componentType" : 5126,
|
||||
"count" : 1504,
|
||||
"type" : "VEC3"
|
||||
},
|
||||
{
|
||||
"bufferView" : 36,
|
||||
"componentType" : 5126,
|
||||
"count" : 1504,
|
||||
"max" : [
|
||||
0.050000011920928955,
|
||||
1,
|
||||
0
|
||||
],
|
||||
"min" : [
|
||||
-0.050000011920928955,
|
||||
0,
|
||||
0
|
||||
],
|
||||
"type" : "VEC3"
|
||||
},
|
||||
{
|
||||
"bufferView" : 37,
|
||||
"componentType" : 5126,
|
||||
"count" : 1504,
|
||||
"type" : "VEC3"
|
||||
},
|
||||
{
|
||||
"bufferView" : 38,
|
||||
"componentType" : 5126,
|
||||
"count" : 1504,
|
||||
"max" : [
|
||||
0.04999995231628418,
|
||||
1,
|
||||
0
|
||||
],
|
||||
"min" : [
|
||||
-0.04999995231628418,
|
||||
0,
|
||||
0
|
||||
],
|
||||
"type" : "VEC3"
|
||||
},
|
||||
{
|
||||
"bufferView" : 39,
|
||||
"componentType" : 5126,
|
||||
"count" : 1504,
|
||||
"type" : "VEC3"
|
||||
},
|
||||
{
|
||||
"bufferView" : 40,
|
||||
"componentType" : 5126,
|
||||
"count" : 1504,
|
||||
"max" : [
|
||||
0.04999995231628418,
|
||||
1,
|
||||
0
|
||||
],
|
||||
"min" : [
|
||||
-0.04999995231628418,
|
||||
0,
|
||||
0
|
||||
],
|
||||
"type" : "VEC3"
|
||||
},
|
||||
{
|
||||
"bufferView" : 41,
|
||||
"componentType" : 5126,
|
||||
"count" : 1504,
|
||||
"type" : "VEC3"
|
||||
},
|
||||
{
|
||||
"bufferView" : 42,
|
||||
"componentType" : 5126,
|
||||
"count" : 281,
|
||||
"max" : [
|
||||
9.366666666666667
|
||||
],
|
||||
"min" : [
|
||||
0.03333333333333333
|
||||
],
|
||||
"type" : "SCALAR"
|
||||
},
|
||||
{
|
||||
"bufferView" : 43,
|
||||
"componentType" : 5126,
|
||||
"count" : 2248,
|
||||
"type" : "SCALAR"
|
||||
},
|
||||
{
|
||||
"bufferView" : 44,
|
||||
"componentType" : 5126,
|
||||
"count" : 59,
|
||||
"max" : [
|
||||
1.9666666666666666
|
||||
],
|
||||
"min" : [
|
||||
0.03333333333333333
|
||||
],
|
||||
"type" : "SCALAR"
|
||||
},
|
||||
{
|
||||
"bufferView" : 45,
|
||||
"componentType" : 5126,
|
||||
"count" : 472,
|
||||
"type" : "SCALAR"
|
||||
},
|
||||
{
|
||||
"bufferView" : 46,
|
||||
"componentType" : 5126,
|
||||
"count" : 191,
|
||||
"max" : [
|
||||
6.366666666666666
|
||||
],
|
||||
"min" : [
|
||||
0.03333333333333333
|
||||
],
|
||||
"type" : "SCALAR"
|
||||
},
|
||||
{
|
||||
"bufferView" : 47,
|
||||
"componentType" : 5126,
|
||||
"count" : 1528,
|
||||
"type" : "SCALAR"
|
||||
}
|
||||
],
|
||||
"bufferViews" : [
|
||||
{
|
||||
"buffer" : 0,
|
||||
"byteLength" : 288,
|
||||
"byteOffset" : 0
|
||||
},
|
||||
{
|
||||
"buffer" : 0,
|
||||
"byteLength" : 288,
|
||||
"byteOffset" : 288
|
||||
},
|
||||
{
|
||||
"buffer" : 0,
|
||||
"byteLength" : 192,
|
||||
"byteOffset" : 576
|
||||
},
|
||||
{
|
||||
"buffer" : 0,
|
||||
"byteLength" : 192,
|
||||
"byteOffset" : 768
|
||||
},
|
||||
{
|
||||
"buffer" : 0,
|
||||
"byteLength" : 72,
|
||||
"byteOffset" : 960
|
||||
},
|
||||
{
|
||||
"buffer" : 0,
|
||||
"byteLength" : 288,
|
||||
"byteOffset" : 1032
|
||||
},
|
||||
{
|
||||
"buffer" : 0,
|
||||
"byteLength" : 288,
|
||||
"byteOffset" : 1320
|
||||
},
|
||||
{
|
||||
"buffer" : 0,
|
||||
"byteLength" : 288,
|
||||
"byteOffset" : 1608
|
||||
},
|
||||
{
|
||||
"buffer" : 0,
|
||||
"byteLength" : 288,
|
||||
"byteOffset" : 1896
|
||||
},
|
||||
{
|
||||
"buffer" : 0,
|
||||
"byteLength" : 288,
|
||||
"byteOffset" : 2184
|
||||
},
|
||||
{
|
||||
"buffer" : 0,
|
||||
"byteLength" : 288,
|
||||
"byteOffset" : 2472
|
||||
},
|
||||
{
|
||||
"buffer" : 0,
|
||||
"byteLength" : 288,
|
||||
"byteOffset" : 2760
|
||||
},
|
||||
{
|
||||
"buffer" : 0,
|
||||
"byteLength" : 288,
|
||||
"byteOffset" : 3048
|
||||
},
|
||||
{
|
||||
"buffer" : 0,
|
||||
"byteLength" : 288,
|
||||
"byteOffset" : 3336
|
||||
},
|
||||
{
|
||||
"buffer" : 0,
|
||||
"byteLength" : 288,
|
||||
"byteOffset" : 3624
|
||||
},
|
||||
{
|
||||
"buffer" : 0,
|
||||
"byteLength" : 288,
|
||||
"byteOffset" : 3912
|
||||
},
|
||||
{
|
||||
"buffer" : 0,
|
||||
"byteLength" : 288,
|
||||
"byteOffset" : 4200
|
||||
},
|
||||
{
|
||||
"buffer" : 0,
|
||||
"byteLength" : 288,
|
||||
"byteOffset" : 4488
|
||||
},
|
||||
{
|
||||
"buffer" : 0,
|
||||
"byteLength" : 288,
|
||||
"byteOffset" : 4776
|
||||
},
|
||||
{
|
||||
"buffer" : 0,
|
||||
"byteLength" : 288,
|
||||
"byteOffset" : 5064
|
||||
},
|
||||
{
|
||||
"buffer" : 0,
|
||||
"byteLength" : 288,
|
||||
"byteOffset" : 5352
|
||||
},
|
||||
{
|
||||
"buffer" : 0,
|
||||
"byteLength" : 18048,
|
||||
"byteOffset" : 5640
|
||||
},
|
||||
{
|
||||
"buffer" : 0,
|
||||
"byteLength" : 18048,
|
||||
"byteOffset" : 23688
|
||||
},
|
||||
{
|
||||
"buffer" : 0,
|
||||
"byteLength" : 12032,
|
||||
"byteOffset" : 41736
|
||||
},
|
||||
{
|
||||
"buffer" : 0,
|
||||
"byteLength" : 12032,
|
||||
"byteOffset" : 53768
|
||||
},
|
||||
{
|
||||
"buffer" : 0,
|
||||
"byteLength" : 14400,
|
||||
"byteOffset" : 65800
|
||||
},
|
||||
{
|
||||
"buffer" : 0,
|
||||
"byteLength" : 18048,
|
||||
"byteOffset" : 80200
|
||||
},
|
||||
{
|
||||
"buffer" : 0,
|
||||
"byteLength" : 18048,
|
||||
"byteOffset" : 98248
|
||||
},
|
||||
{
|
||||
"buffer" : 0,
|
||||
"byteLength" : 18048,
|
||||
"byteOffset" : 116296
|
||||
},
|
||||
{
|
||||
"buffer" : 0,
|
||||
"byteLength" : 18048,
|
||||
"byteOffset" : 134344
|
||||
},
|
||||
{
|
||||
"buffer" : 0,
|
||||
"byteLength" : 18048,
|
||||
"byteOffset" : 152392
|
||||
},
|
||||
{
|
||||
"buffer" : 0,
|
||||
"byteLength" : 18048,
|
||||
"byteOffset" : 170440
|
||||
},
|
||||
{
|
||||
"buffer" : 0,
|
||||
"byteLength" : 18048,
|
||||
"byteOffset" : 188488
|
||||
},
|
||||
{
|
||||
"buffer" : 0,
|
||||
"byteLength" : 18048,
|
||||
"byteOffset" : 206536
|
||||
},
|
||||
{
|
||||
"buffer" : 0,
|
||||
"byteLength" : 18048,
|
||||
"byteOffset" : 224584
|
||||
},
|
||||
{
|
||||
"buffer" : 0,
|
||||
"byteLength" : 18048,
|
||||
"byteOffset" : 242632
|
||||
},
|
||||
{
|
||||
"buffer" : 0,
|
||||
"byteLength" : 18048,
|
||||
"byteOffset" : 260680
|
||||
},
|
||||
{
|
||||
"buffer" : 0,
|
||||
"byteLength" : 18048,
|
||||
"byteOffset" : 278728
|
||||
},
|
||||
{
|
||||
"buffer" : 0,
|
||||
"byteLength" : 18048,
|
||||
"byteOffset" : 296776
|
||||
},
|
||||
{
|
||||
"buffer" : 0,
|
||||
"byteLength" : 18048,
|
||||
"byteOffset" : 314824
|
||||
},
|
||||
{
|
||||
"buffer" : 0,
|
||||
"byteLength" : 18048,
|
||||
"byteOffset" : 332872
|
||||
},
|
||||
{
|
||||
"buffer" : 0,
|
||||
"byteLength" : 18048,
|
||||
"byteOffset" : 350920
|
||||
},
|
||||
{
|
||||
"buffer" : 0,
|
||||
"byteLength" : 1124,
|
||||
"byteOffset" : 368968
|
||||
},
|
||||
{
|
||||
"buffer" : 0,
|
||||
"byteLength" : 8992,
|
||||
"byteOffset" : 370092
|
||||
},
|
||||
{
|
||||
"buffer" : 0,
|
||||
"byteLength" : 236,
|
||||
"byteOffset" : 379084
|
||||
},
|
||||
{
|
||||
"buffer" : 0,
|
||||
"byteLength" : 1888,
|
||||
"byteOffset" : 379320
|
||||
},
|
||||
{
|
||||
"buffer" : 0,
|
||||
"byteLength" : 764,
|
||||
"byteOffset" : 381208
|
||||
},
|
||||
{
|
||||
"buffer" : 0,
|
||||
"byteLength" : 6112,
|
||||
"byteOffset" : 381972
|
||||
}
|
||||
],
|
||||
"samplers" : [
|
||||
{
|
||||
"magFilter" : 9729,
|
||||
"minFilter" : 9987
|
||||
}
|
||||
],
|
||||
"buffers" : [
|
||||
{
|
||||
"byteLength" : 388084,
|
||||
"uri" : "MorphStressTest.bin"
|
||||
}
|
||||
]
|
||||
}
|
||||
BIN
assimp/test/models/glTF2/MorphStressTest/glTF/TinyGrid.png
(Stored with Git LFS)
Normal file
BIN
assimp/test/models/glTF2/MorphStressTest/glTF/TinyGrid.png
(Stored with Git LFS)
Normal file
Binary file not shown.
25
assimp/test/models/glTF2/RecursiveNodes/RecursiveNodes.gltf
Normal file
25
assimp/test/models/glTF2/RecursiveNodes/RecursiveNodes.gltf
Normal file
|
|
@ -0,0 +1,25 @@
|
|||
{
|
||||
"asset": {
|
||||
"version": "2.0"
|
||||
},
|
||||
"scene": 0,
|
||||
"scenes": [
|
||||
{
|
||||
"nodes": [
|
||||
0
|
||||
]
|
||||
}
|
||||
],
|
||||
"nodes": [
|
||||
{
|
||||
"children": [
|
||||
1
|
||||
]
|
||||
},
|
||||
{
|
||||
"children": [
|
||||
0
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
BIN
assimp/test/models/glTF2/SchemaFailures/CesiumLogoFlat.png
(Stored with Git LFS)
Normal file
BIN
assimp/test/models/glTF2/SchemaFailures/CesiumLogoFlat.png
(Stored with Git LFS)
Normal file
Binary file not shown.
181
assimp/test/models/glTF2/SchemaFailures/sceneWrongType.gltf
Normal file
181
assimp/test/models/glTF2/SchemaFailures/sceneWrongType.gltf
Normal file
|
|
@ -0,0 +1,181 @@
|
|||
{
|
||||
"asset": {
|
||||
"generator": "COLLADA2GLTF",
|
||||
"version": "2.0"
|
||||
},
|
||||
"scene": "hello",
|
||||
"scenes": [
|
||||
{
|
||||
"nodes": [
|
||||
0
|
||||
]
|
||||
}
|
||||
],
|
||||
"nodes": [
|
||||
{
|
||||
"children": [
|
||||
1
|
||||
],
|
||||
"matrix": [
|
||||
1.0,
|
||||
0.0,
|
||||
0.0,
|
||||
0.0,
|
||||
0.0,
|
||||
0.0,
|
||||
-1.0,
|
||||
0.0,
|
||||
0.0,
|
||||
1.0,
|
||||
0.0,
|
||||
0.0,
|
||||
0.0,
|
||||
0.0,
|
||||
0.0,
|
||||
1.0
|
||||
]
|
||||
},
|
||||
{
|
||||
"mesh": 0
|
||||
}
|
||||
],
|
||||
"meshes": [
|
||||
{
|
||||
"primitives": [
|
||||
{
|
||||
"attributes": {
|
||||
"NORMAL": 1,
|
||||
"POSITION": 2,
|
||||
"TEXCOORD_0": 3
|
||||
},
|
||||
"indices": 0,
|
||||
"mode": 4,
|
||||
"material": 0
|
||||
}
|
||||
],
|
||||
"name": "Mesh"
|
||||
}
|
||||
],
|
||||
"accessors": [
|
||||
{
|
||||
"bufferView": 0,
|
||||
"byteOffset": 0,
|
||||
"componentType": 5123,
|
||||
"count": 36,
|
||||
"max": [
|
||||
23
|
||||
],
|
||||
"min": [
|
||||
0
|
||||
],
|
||||
"type": "SCALAR"
|
||||
},
|
||||
{
|
||||
"bufferView": 1,
|
||||
"byteOffset": 0,
|
||||
"componentType": 5126,
|
||||
"count": 24,
|
||||
"max": [
|
||||
1.0,
|
||||
1.0,
|
||||
1.0
|
||||
],
|
||||
"min": [
|
||||
-1.0,
|
||||
-1.0,
|
||||
-1.0
|
||||
],
|
||||
"type": "VEC3"
|
||||
},
|
||||
{
|
||||
"bufferView": 1,
|
||||
"byteOffset": 288,
|
||||
"componentType": 5126,
|
||||
"count": 24,
|
||||
"max": [
|
||||
0.5,
|
||||
0.5,
|
||||
0.5
|
||||
],
|
||||
"min": [
|
||||
-0.5,
|
||||
-0.5,
|
||||
-0.5
|
||||
],
|
||||
"type": "VEC3"
|
||||
},
|
||||
{
|
||||
"bufferView": 2,
|
||||
"byteOffset": 0,
|
||||
"componentType": 5126,
|
||||
"count": 24,
|
||||
"max": [
|
||||
6.0,
|
||||
1.0
|
||||
],
|
||||
"min": [
|
||||
0.0,
|
||||
0.0
|
||||
],
|
||||
"type": "VEC2"
|
||||
}
|
||||
],
|
||||
"materials": [
|
||||
{
|
||||
"pbrMetallicRoughness": {
|
||||
"baseColorTexture": {
|
||||
"index": 0
|
||||
},
|
||||
"metallicFactor": 0.0
|
||||
},
|
||||
"name": "Texture"
|
||||
}
|
||||
],
|
||||
"textures": [
|
||||
{
|
||||
"sampler": 0,
|
||||
"source": 0
|
||||
}
|
||||
],
|
||||
"images": [
|
||||
{
|
||||
"uri": "CesiumLogoFlat.png"
|
||||
}
|
||||
],
|
||||
"samplers": [
|
||||
{
|
||||
"magFilter": 9729,
|
||||
"minFilter": 9986,
|
||||
"wrapS": 33648,
|
||||
"wrapT": 33071
|
||||
}
|
||||
],
|
||||
"bufferViews": [
|
||||
{
|
||||
"buffer": 0,
|
||||
"byteOffset": 768,
|
||||
"byteLength": 72,
|
||||
"target": 34963
|
||||
},
|
||||
{
|
||||
"buffer": 0,
|
||||
"byteOffset": 0,
|
||||
"byteLength": 576,
|
||||
"byteStride": 12,
|
||||
"target": 34962
|
||||
},
|
||||
{
|
||||
"buffer": 0,
|
||||
"byteOffset": 576,
|
||||
"byteLength": 192,
|
||||
"byteStride": 8,
|
||||
"target": 34962
|
||||
}
|
||||
],
|
||||
"buffers": [
|
||||
{
|
||||
"byteLength": 840,
|
||||
"uri": "BoxTextured0.bin"
|
||||
}
|
||||
]
|
||||
}
|
||||
15
assimp/test/models/glTF2/SimpleMorph/LICENSE.md
Normal file
15
assimp/test/models/glTF2/SimpleMorph/LICENSE.md
Normal file
|
|
@ -0,0 +1,15 @@
|
|||
# LICENSE file for the model: Simple Morph
|
||||
|
||||
All files in this directory tree are licensed as indicated below.
|
||||
|
||||
* All files directly associated with the model including all text, image and binary files:
|
||||
|
||||
* [CC0 1.0 Universal]("https://creativecommons.org/publicdomain/zero/1.0/legalcode") [SPDX license identifier: "CC0-1.0"]
|
||||
|
||||
* This file and all other metadocumentation files including "metadata.json":
|
||||
|
||||
* [Creative Commons Attribtution 4.0 International]("https://creativecommons.org/licenses/by/4.0/legalcode") [SPDX license identifier: "CC-BY-4.0"]
|
||||
|
||||
Full license text of these licenses are available at the links above
|
||||
|
||||
#### Generated by modelmetadata
|
||||
17
assimp/test/models/glTF2/SimpleMorph/README.body.md
Normal file
17
assimp/test/models/glTF2/SimpleMorph/README.body.md
Normal file
|
|
@ -0,0 +1,17 @@
|
|||
## Screenshot
|
||||
|
||||

|
||||
|
||||
## Notes
|
||||
|
||||
This is an example of a glTF asset that uses morph targets, as described in the
|
||||
[Simple Morph Target](https://github.com/KhronosGroup/glTF-Tutorials/blob/master/gltfTutorial/gltfTutorial_017_SimpleMorphTarget.md)
|
||||
section of the glTF tutorial.
|
||||
|
||||
## Data layout
|
||||
|
||||
The following image shows the data layout of this sample:
|
||||
|
||||

|
||||
|
||||
|
||||
41
assimp/test/models/glTF2/SimpleMorph/README.md
Normal file
41
assimp/test/models/glTF2/SimpleMorph/README.md
Normal file
|
|
@ -0,0 +1,41 @@
|
|||
# Simple Morph
|
||||
|
||||
## Tags
|
||||
|
||||
[core](../../Models-core.md), [testing](../../Models-testing.md)
|
||||
|
||||
## Summary
|
||||
|
||||
A triangle with a morph animation applied
|
||||
|
||||
## Operations
|
||||
|
||||
* [Display](https://github.khronos.org/glTF-Sample-Viewer-Release/?model=https://raw.GithubUserContent.com/KhronosGroup/glTF-Sample-Assets/main/./Models/SimpleMorph/glTF/SimpleMorph.gltf) in SampleViewer
|
||||
* [Model Directory](./)
|
||||
|
||||
## Screenshot
|
||||
|
||||

|
||||
|
||||
## Notes
|
||||
|
||||
This is an example of a glTF asset that uses morph targets, as described in the
|
||||
[Simple Morph Target](https://github.com/KhronosGroup/glTF-Tutorials/blob/master/gltfTutorial/gltfTutorial_017_SimpleMorphTarget.md)
|
||||
section of the glTF tutorial.
|
||||
|
||||
## Data layout
|
||||
|
||||
The following image shows the data layout of this sample:
|
||||
|
||||

|
||||
|
||||
|
||||
|
||||
|
||||
## Legal
|
||||
|
||||
© 2017, Public. [CC0 1.0 Universal](https://creativecommons.org/publicdomain/zero/1.0/legalcode)
|
||||
|
||||
- javagl for Everything
|
||||
|
||||
#### Assembled by modelmetadata
|
||||
189
assimp/test/models/glTF2/SimpleMorph/glTF/SimpleMorph.gltf
Normal file
189
assimp/test/models/glTF2/SimpleMorph/glTF/SimpleMorph.gltf
Normal file
|
|
@ -0,0 +1,189 @@
|
|||
{
|
||||
"scene" : 0,
|
||||
"scenes":[
|
||||
{
|
||||
"nodes":[
|
||||
0
|
||||
]
|
||||
}
|
||||
],
|
||||
"nodes":[
|
||||
{
|
||||
"mesh":0
|
||||
}
|
||||
],
|
||||
"meshes":[
|
||||
{
|
||||
"primitives":[
|
||||
{
|
||||
"attributes":{
|
||||
"POSITION":1
|
||||
},
|
||||
"targets":[
|
||||
{
|
||||
"POSITION":2
|
||||
},
|
||||
{
|
||||
"POSITION":3
|
||||
}
|
||||
],
|
||||
"indices":0
|
||||
}
|
||||
],
|
||||
"weights":[
|
||||
0.5,
|
||||
0.5
|
||||
]
|
||||
}
|
||||
],
|
||||
"animations":[
|
||||
{
|
||||
"samplers":[
|
||||
{
|
||||
"input":4,
|
||||
"interpolation":"LINEAR",
|
||||
"output":5
|
||||
}
|
||||
],
|
||||
"channels":[
|
||||
{
|
||||
"sampler":0,
|
||||
"target":{
|
||||
"node":0,
|
||||
"path":"weights"
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
],
|
||||
"buffers":[
|
||||
{
|
||||
"uri" : "simpleMorphGeometry.bin",
|
||||
"byteLength":116
|
||||
},
|
||||
{
|
||||
"uri" : "simpleMorphAnimation.bin",
|
||||
"byteLength":60
|
||||
}
|
||||
],
|
||||
"bufferViews":[
|
||||
{
|
||||
"buffer":0,
|
||||
"byteOffset":0,
|
||||
"byteLength":6,
|
||||
"target":34963
|
||||
},
|
||||
{
|
||||
"buffer":0,
|
||||
"byteOffset":8,
|
||||
"byteLength":108,
|
||||
"byteStride":12,
|
||||
"target":34962
|
||||
},
|
||||
{
|
||||
"buffer":1,
|
||||
"byteOffset":0,
|
||||
"byteLength":20
|
||||
},
|
||||
{
|
||||
"buffer":1,
|
||||
"byteOffset":20,
|
||||
"byteLength":40
|
||||
}
|
||||
],
|
||||
"accessors":[
|
||||
{
|
||||
"bufferView":0,
|
||||
"byteOffset":0,
|
||||
"componentType":5123,
|
||||
"count":3,
|
||||
"type":"SCALAR",
|
||||
"max":[
|
||||
2
|
||||
],
|
||||
"min":[
|
||||
0
|
||||
]
|
||||
},
|
||||
{
|
||||
"bufferView":1,
|
||||
"byteOffset":0,
|
||||
"componentType":5126,
|
||||
"count":3,
|
||||
"type":"VEC3",
|
||||
"max":[
|
||||
1.0,
|
||||
0.5,
|
||||
0.0
|
||||
],
|
||||
"min":[
|
||||
0.0,
|
||||
0.0,
|
||||
0.0
|
||||
]
|
||||
},
|
||||
{
|
||||
"bufferView":1,
|
||||
"byteOffset":36,
|
||||
"componentType":5126,
|
||||
"count":3,
|
||||
"type":"VEC3",
|
||||
"max":[
|
||||
0.0,
|
||||
1.0,
|
||||
0.0
|
||||
],
|
||||
"min":[
|
||||
-1.0,
|
||||
0.0,
|
||||
0.0
|
||||
]
|
||||
},
|
||||
{
|
||||
"bufferView":1,
|
||||
"byteOffset":72,
|
||||
"componentType":5126,
|
||||
"count":3,
|
||||
"type":"VEC3",
|
||||
"max":[
|
||||
1.0,
|
||||
1.0,
|
||||
0.0
|
||||
],
|
||||
"min":[
|
||||
0.0,
|
||||
0.0,
|
||||
0.0
|
||||
]
|
||||
},
|
||||
{
|
||||
"bufferView":2,
|
||||
"byteOffset":0,
|
||||
"componentType":5126,
|
||||
"count":5,
|
||||
"type":"SCALAR",
|
||||
"max":[
|
||||
4.0
|
||||
],
|
||||
"min":[
|
||||
0.0
|
||||
]
|
||||
},
|
||||
{
|
||||
"bufferView":3,
|
||||
"byteOffset":0,
|
||||
"componentType":5126,
|
||||
"count":10,
|
||||
"type":"SCALAR",
|
||||
"max":[
|
||||
1.0
|
||||
],
|
||||
"min":[
|
||||
0.0
|
||||
]
|
||||
}
|
||||
],
|
||||
"asset":{
|
||||
"version":"2.0"
|
||||
}
|
||||
}
|
||||
Binary file not shown.
Binary file not shown.
|
After Width: | Height: | Size: 116 B |
6
assimp/test/models/glTF2/TestNoRootNode/NoScene.gltf
Normal file
6
assimp/test/models/glTF2/TestNoRootNode/NoScene.gltf
Normal file
|
|
@ -0,0 +1,6 @@
|
|||
{
|
||||
"asset": {
|
||||
"version": "2.0"
|
||||
},
|
||||
"scene": 0
|
||||
}
|
||||
|
|
@ -0,0 +1,10 @@
|
|||
{
|
||||
"asset": {
|
||||
"version": "2.0"
|
||||
},
|
||||
"scene": 0,
|
||||
"scenes": [
|
||||
{
|
||||
}
|
||||
]
|
||||
}
|
||||
98
assimp/test/models/glTF2/cameras/Cameras.gltf
Normal file
98
assimp/test/models/glTF2/cameras/Cameras.gltf
Normal file
|
|
@ -0,0 +1,98 @@
|
|||
{
|
||||
"scenes" : [
|
||||
{
|
||||
"nodes" : [ 0, 1, 2 ]
|
||||
}
|
||||
],
|
||||
"nodes" : [
|
||||
{
|
||||
"rotation" : [ -0.383, 0.0, 0.0, 0.92375 ],
|
||||
"mesh" : 0
|
||||
},
|
||||
{
|
||||
"translation" : [ 0.5, 0.5, 3.0 ],
|
||||
"camera" : 0
|
||||
},
|
||||
{
|
||||
"translation" : [ 0.5, 0.5, 3.0 ],
|
||||
"camera" : 1
|
||||
}
|
||||
],
|
||||
|
||||
"cameras" : [
|
||||
{
|
||||
"type": "perspective",
|
||||
"perspective": {
|
||||
"aspectRatio": 1.0,
|
||||
"yfov": 0.7,
|
||||
"zfar": 100,
|
||||
"znear": 0.01
|
||||
}
|
||||
},
|
||||
{
|
||||
"type": "orthographic",
|
||||
"orthographic": {
|
||||
"xmag": 1.0,
|
||||
"ymag": 1.0,
|
||||
"zfar": 100,
|
||||
"znear": 0.01
|
||||
}
|
||||
}
|
||||
],
|
||||
|
||||
"meshes" : [
|
||||
{
|
||||
"primitives" : [ {
|
||||
"attributes" : {
|
||||
"POSITION" : 1
|
||||
},
|
||||
"indices" : 0
|
||||
} ]
|
||||
}
|
||||
],
|
||||
|
||||
"buffers" : [
|
||||
{
|
||||
"uri" : "simpleSquare.bin",
|
||||
"byteLength" : 60
|
||||
}
|
||||
],
|
||||
"bufferViews" : [
|
||||
{
|
||||
"buffer" : 0,
|
||||
"byteOffset" : 0,
|
||||
"byteLength" : 12,
|
||||
"target" : 34963
|
||||
},
|
||||
{
|
||||
"buffer" : 0,
|
||||
"byteOffset" : 12,
|
||||
"byteLength" : 48,
|
||||
"target" : 34962
|
||||
}
|
||||
],
|
||||
"accessors" : [
|
||||
{
|
||||
"bufferView" : 0,
|
||||
"byteOffset" : 0,
|
||||
"componentType" : 5123,
|
||||
"count" : 6,
|
||||
"type" : "SCALAR",
|
||||
"max" : [ 3 ],
|
||||
"min" : [ 0 ]
|
||||
},
|
||||
{
|
||||
"bufferView" : 1,
|
||||
"byteOffset" : 0,
|
||||
"componentType" : 5126,
|
||||
"count" : 4,
|
||||
"type" : "VEC3",
|
||||
"max" : [ 1.0, 1.0, 0.0 ],
|
||||
"min" : [ 0.0, 0.0, 0.0 ]
|
||||
}
|
||||
],
|
||||
|
||||
"asset" : {
|
||||
"version" : "2.0"
|
||||
}
|
||||
}
|
||||
BIN
assimp/test/models/glTF2/cameras/simpleSquare.bin
Normal file
BIN
assimp/test/models/glTF2/cameras/simpleSquare.bin
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 60 B |
BIN
assimp/test/models/glTF2/draco/2CylinderEngine.bin
Normal file
BIN
assimp/test/models/glTF2/draco/2CylinderEngine.bin
Normal file
Binary file not shown.
4758
assimp/test/models/glTF2/draco/2CylinderEngine.gltf
Normal file
4758
assimp/test/models/glTF2/draco/2CylinderEngine.gltf
Normal file
File diff suppressed because it is too large
Load diff
BIN
assimp/test/models/glTF2/draco/robot.glb
Normal file
BIN
assimp/test/models/glTF2/draco/robot.glb
Normal file
Binary file not shown.
21
assimp/test/models/glTF2/glTF-Asset-Generator/LICENSE
Normal file
21
assimp/test/models/glTF2/glTF-Asset-Generator/LICENSE
Normal file
|
|
@ -0,0 +1,21 @@
|
|||
MIT License
|
||||
|
||||
Copyright (c) 2017 Gary Hsu
|
||||
|
||||
Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||
of this software and associated documentation files (the "Software"), to deal
|
||||
in the Software without restriction, including without limitation the rights
|
||||
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
||||
copies of the Software, and to permit persons to whom the Software is
|
||||
furnished to do so, subject to the following conditions:
|
||||
|
||||
The above copyright notice and this permission notice shall be included in all
|
||||
copies or substantial portions of the Software.
|
||||
|
||||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
||||
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
||||
SOFTWARE.
|
||||
Binary file not shown.
|
|
@ -0,0 +1,63 @@
|
|||
{
|
||||
"accessors": [
|
||||
{
|
||||
"bufferView": 0,
|
||||
"componentType": 5126,
|
||||
"count": 1024,
|
||||
"type": "VEC3",
|
||||
"max": [
|
||||
0.5,
|
||||
0.5,
|
||||
0.0
|
||||
],
|
||||
"min": [
|
||||
-0.5,
|
||||
-0.5,
|
||||
0.0
|
||||
],
|
||||
"name": "Positions Accessor"
|
||||
}
|
||||
],
|
||||
"asset": {
|
||||
"generator": "glTF Asset Generator",
|
||||
"version": "2.0"
|
||||
},
|
||||
"buffers": [
|
||||
{
|
||||
"uri": "Mesh_PrimitiveMode_00.bin",
|
||||
"byteLength": 12288
|
||||
}
|
||||
],
|
||||
"bufferViews": [
|
||||
{
|
||||
"buffer": 0,
|
||||
"byteLength": 12288,
|
||||
"name": "Positions"
|
||||
}
|
||||
],
|
||||
"meshes": [
|
||||
{
|
||||
"primitives": [
|
||||
{
|
||||
"attributes": {
|
||||
"POSITION": 0
|
||||
},
|
||||
"mode": 0
|
||||
}
|
||||
]
|
||||
}
|
||||
],
|
||||
"nodes": [
|
||||
{
|
||||
"mesh": 0
|
||||
}
|
||||
],
|
||||
"scene": 0,
|
||||
"scenes": [
|
||||
{
|
||||
"nodes": [
|
||||
0
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
Binary file not shown.
|
|
@ -0,0 +1,63 @@
|
|||
{
|
||||
"accessors": [
|
||||
{
|
||||
"bufferView": 0,
|
||||
"componentType": 5126,
|
||||
"count": 8,
|
||||
"type": "VEC3",
|
||||
"max": [
|
||||
0.5,
|
||||
0.5,
|
||||
0.0
|
||||
],
|
||||
"min": [
|
||||
-0.5,
|
||||
-0.5,
|
||||
0.0
|
||||
],
|
||||
"name": "Positions Accessor"
|
||||
}
|
||||
],
|
||||
"asset": {
|
||||
"generator": "glTF Asset Generator",
|
||||
"version": "2.0"
|
||||
},
|
||||
"buffers": [
|
||||
{
|
||||
"uri": "Mesh_PrimitiveMode_01.bin",
|
||||
"byteLength": 96
|
||||
}
|
||||
],
|
||||
"bufferViews": [
|
||||
{
|
||||
"buffer": 0,
|
||||
"byteLength": 96,
|
||||
"name": "Positions"
|
||||
}
|
||||
],
|
||||
"meshes": [
|
||||
{
|
||||
"primitives": [
|
||||
{
|
||||
"attributes": {
|
||||
"POSITION": 0
|
||||
},
|
||||
"mode": 1
|
||||
}
|
||||
]
|
||||
}
|
||||
],
|
||||
"nodes": [
|
||||
{
|
||||
"mesh": 0
|
||||
}
|
||||
],
|
||||
"scene": 0,
|
||||
"scenes": [
|
||||
{
|
||||
"nodes": [
|
||||
0
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
Binary file not shown.
|
|
@ -0,0 +1,63 @@
|
|||
{
|
||||
"accessors": [
|
||||
{
|
||||
"bufferView": 0,
|
||||
"componentType": 5126,
|
||||
"count": 4,
|
||||
"type": "VEC3",
|
||||
"max": [
|
||||
0.5,
|
||||
0.5,
|
||||
0.0
|
||||
],
|
||||
"min": [
|
||||
-0.5,
|
||||
-0.5,
|
||||
0.0
|
||||
],
|
||||
"name": "Positions Accessor"
|
||||
}
|
||||
],
|
||||
"asset": {
|
||||
"generator": "glTF Asset Generator",
|
||||
"version": "2.0"
|
||||
},
|
||||
"buffers": [
|
||||
{
|
||||
"uri": "Mesh_PrimitiveMode_02.bin",
|
||||
"byteLength": 48
|
||||
}
|
||||
],
|
||||
"bufferViews": [
|
||||
{
|
||||
"buffer": 0,
|
||||
"byteLength": 48,
|
||||
"name": "Positions"
|
||||
}
|
||||
],
|
||||
"meshes": [
|
||||
{
|
||||
"primitives": [
|
||||
{
|
||||
"attributes": {
|
||||
"POSITION": 0
|
||||
},
|
||||
"mode": 2
|
||||
}
|
||||
]
|
||||
}
|
||||
],
|
||||
"nodes": [
|
||||
{
|
||||
"mesh": 0
|
||||
}
|
||||
],
|
||||
"scene": 0,
|
||||
"scenes": [
|
||||
{
|
||||
"nodes": [
|
||||
0
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
Binary file not shown.
|
|
@ -0,0 +1,63 @@
|
|||
{
|
||||
"accessors": [
|
||||
{
|
||||
"bufferView": 0,
|
||||
"componentType": 5126,
|
||||
"count": 5,
|
||||
"type": "VEC3",
|
||||
"max": [
|
||||
0.5,
|
||||
0.5,
|
||||
0.0
|
||||
],
|
||||
"min": [
|
||||
-0.5,
|
||||
-0.5,
|
||||
0.0
|
||||
],
|
||||
"name": "Positions Accessor"
|
||||
}
|
||||
],
|
||||
"asset": {
|
||||
"generator": "glTF Asset Generator",
|
||||
"version": "2.0"
|
||||
},
|
||||
"buffers": [
|
||||
{
|
||||
"uri": "Mesh_PrimitiveMode_03.bin",
|
||||
"byteLength": 60
|
||||
}
|
||||
],
|
||||
"bufferViews": [
|
||||
{
|
||||
"buffer": 0,
|
||||
"byteLength": 60,
|
||||
"name": "Positions"
|
||||
}
|
||||
],
|
||||
"meshes": [
|
||||
{
|
||||
"primitives": [
|
||||
{
|
||||
"attributes": {
|
||||
"POSITION": 0
|
||||
},
|
||||
"mode": 3
|
||||
}
|
||||
]
|
||||
}
|
||||
],
|
||||
"nodes": [
|
||||
{
|
||||
"mesh": 0
|
||||
}
|
||||
],
|
||||
"scene": 0,
|
||||
"scenes": [
|
||||
{
|
||||
"nodes": [
|
||||
0
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
Binary file not shown.
|
|
@ -0,0 +1,63 @@
|
|||
{
|
||||
"accessors": [
|
||||
{
|
||||
"bufferView": 0,
|
||||
"componentType": 5126,
|
||||
"count": 4,
|
||||
"type": "VEC3",
|
||||
"max": [
|
||||
0.5,
|
||||
0.5,
|
||||
0.0
|
||||
],
|
||||
"min": [
|
||||
-0.5,
|
||||
-0.5,
|
||||
0.0
|
||||
],
|
||||
"name": "Positions Accessor"
|
||||
}
|
||||
],
|
||||
"asset": {
|
||||
"generator": "glTF Asset Generator",
|
||||
"version": "2.0"
|
||||
},
|
||||
"buffers": [
|
||||
{
|
||||
"uri": "Mesh_PrimitiveMode_04.bin",
|
||||
"byteLength": 48
|
||||
}
|
||||
],
|
||||
"bufferViews": [
|
||||
{
|
||||
"buffer": 0,
|
||||
"byteLength": 48,
|
||||
"name": "Positions"
|
||||
}
|
||||
],
|
||||
"meshes": [
|
||||
{
|
||||
"primitives": [
|
||||
{
|
||||
"attributes": {
|
||||
"POSITION": 0
|
||||
},
|
||||
"mode": 5
|
||||
}
|
||||
]
|
||||
}
|
||||
],
|
||||
"nodes": [
|
||||
{
|
||||
"mesh": 0
|
||||
}
|
||||
],
|
||||
"scene": 0,
|
||||
"scenes": [
|
||||
{
|
||||
"nodes": [
|
||||
0
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
Binary file not shown.
|
|
@ -0,0 +1,63 @@
|
|||
{
|
||||
"accessors": [
|
||||
{
|
||||
"bufferView": 0,
|
||||
"componentType": 5126,
|
||||
"count": 4,
|
||||
"type": "VEC3",
|
||||
"max": [
|
||||
0.5,
|
||||
0.5,
|
||||
0.0
|
||||
],
|
||||
"min": [
|
||||
-0.5,
|
||||
-0.5,
|
||||
0.0
|
||||
],
|
||||
"name": "Positions Accessor"
|
||||
}
|
||||
],
|
||||
"asset": {
|
||||
"generator": "glTF Asset Generator",
|
||||
"version": "2.0"
|
||||
},
|
||||
"buffers": [
|
||||
{
|
||||
"uri": "Mesh_PrimitiveMode_05.bin",
|
||||
"byteLength": 48
|
||||
}
|
||||
],
|
||||
"bufferViews": [
|
||||
{
|
||||
"buffer": 0,
|
||||
"byteLength": 48,
|
||||
"name": "Positions"
|
||||
}
|
||||
],
|
||||
"meshes": [
|
||||
{
|
||||
"primitives": [
|
||||
{
|
||||
"attributes": {
|
||||
"POSITION": 0
|
||||
},
|
||||
"mode": 6
|
||||
}
|
||||
]
|
||||
}
|
||||
],
|
||||
"nodes": [
|
||||
{
|
||||
"mesh": 0
|
||||
}
|
||||
],
|
||||
"scene": 0,
|
||||
"scenes": [
|
||||
{
|
||||
"nodes": [
|
||||
0
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
Binary file not shown.
|
|
@ -0,0 +1,62 @@
|
|||
{
|
||||
"accessors": [
|
||||
{
|
||||
"bufferView": 0,
|
||||
"componentType": 5126,
|
||||
"count": 6,
|
||||
"type": "VEC3",
|
||||
"max": [
|
||||
0.5,
|
||||
0.5,
|
||||
0.0
|
||||
],
|
||||
"min": [
|
||||
-0.5,
|
||||
-0.5,
|
||||
0.0
|
||||
],
|
||||
"name": "Positions Accessor"
|
||||
}
|
||||
],
|
||||
"asset": {
|
||||
"generator": "glTF Asset Generator",
|
||||
"version": "2.0"
|
||||
},
|
||||
"buffers": [
|
||||
{
|
||||
"uri": "Mesh_PrimitiveMode_06.bin",
|
||||
"byteLength": 72
|
||||
}
|
||||
],
|
||||
"bufferViews": [
|
||||
{
|
||||
"buffer": 0,
|
||||
"byteLength": 72,
|
||||
"name": "Positions"
|
||||
}
|
||||
],
|
||||
"meshes": [
|
||||
{
|
||||
"primitives": [
|
||||
{
|
||||
"attributes": {
|
||||
"POSITION": 0
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
],
|
||||
"nodes": [
|
||||
{
|
||||
"mesh": 0
|
||||
}
|
||||
],
|
||||
"scene": 0,
|
||||
"scenes": [
|
||||
{
|
||||
"nodes": [
|
||||
0
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
Binary file not shown.
|
|
@ -0,0 +1,77 @@
|
|||
{
|
||||
"accessors": [
|
||||
{
|
||||
"bufferView": 0,
|
||||
"componentType": 5126,
|
||||
"count": 1024,
|
||||
"type": "VEC3",
|
||||
"max": [
|
||||
0.5,
|
||||
0.5,
|
||||
0.0
|
||||
],
|
||||
"min": [
|
||||
-0.5,
|
||||
-0.5,
|
||||
0.0
|
||||
],
|
||||
"name": "Positions Accessor"
|
||||
},
|
||||
{
|
||||
"bufferView": 1,
|
||||
"componentType": 5125,
|
||||
"count": 1024,
|
||||
"type": "SCALAR",
|
||||
"name": "Indices Accessor"
|
||||
}
|
||||
],
|
||||
"asset": {
|
||||
"generator": "glTF Asset Generator",
|
||||
"version": "2.0"
|
||||
},
|
||||
"buffers": [
|
||||
{
|
||||
"uri": "Mesh_PrimitiveMode_07.bin",
|
||||
"byteLength": 16384
|
||||
}
|
||||
],
|
||||
"bufferViews": [
|
||||
{
|
||||
"buffer": 0,
|
||||
"byteLength": 12288,
|
||||
"name": "Positions"
|
||||
},
|
||||
{
|
||||
"buffer": 0,
|
||||
"byteOffset": 12288,
|
||||
"byteLength": 4096,
|
||||
"name": "Indices"
|
||||
}
|
||||
],
|
||||
"meshes": [
|
||||
{
|
||||
"primitives": [
|
||||
{
|
||||
"attributes": {
|
||||
"POSITION": 0
|
||||
},
|
||||
"indices": 1,
|
||||
"mode": 0
|
||||
}
|
||||
]
|
||||
}
|
||||
],
|
||||
"nodes": [
|
||||
{
|
||||
"mesh": 0
|
||||
}
|
||||
],
|
||||
"scene": 0,
|
||||
"scenes": [
|
||||
{
|
||||
"nodes": [
|
||||
0
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
Binary file not shown.
|
|
@ -0,0 +1,77 @@
|
|||
{
|
||||
"accessors": [
|
||||
{
|
||||
"bufferView": 0,
|
||||
"componentType": 5126,
|
||||
"count": 4,
|
||||
"type": "VEC3",
|
||||
"max": [
|
||||
0.5,
|
||||
0.5,
|
||||
0.0
|
||||
],
|
||||
"min": [
|
||||
-0.5,
|
||||
-0.5,
|
||||
0.0
|
||||
],
|
||||
"name": "Positions Accessor"
|
||||
},
|
||||
{
|
||||
"bufferView": 1,
|
||||
"componentType": 5125,
|
||||
"count": 8,
|
||||
"type": "SCALAR",
|
||||
"name": "Indices Accessor"
|
||||
}
|
||||
],
|
||||
"asset": {
|
||||
"generator": "glTF Asset Generator",
|
||||
"version": "2.0"
|
||||
},
|
||||
"buffers": [
|
||||
{
|
||||
"uri": "Mesh_PrimitiveMode_08.bin",
|
||||
"byteLength": 80
|
||||
}
|
||||
],
|
||||
"bufferViews": [
|
||||
{
|
||||
"buffer": 0,
|
||||
"byteLength": 48,
|
||||
"name": "Positions"
|
||||
},
|
||||
{
|
||||
"buffer": 0,
|
||||
"byteOffset": 48,
|
||||
"byteLength": 32,
|
||||
"name": "Indices"
|
||||
}
|
||||
],
|
||||
"meshes": [
|
||||
{
|
||||
"primitives": [
|
||||
{
|
||||
"attributes": {
|
||||
"POSITION": 0
|
||||
},
|
||||
"indices": 1,
|
||||
"mode": 1
|
||||
}
|
||||
]
|
||||
}
|
||||
],
|
||||
"nodes": [
|
||||
{
|
||||
"mesh": 0
|
||||
}
|
||||
],
|
||||
"scene": 0,
|
||||
"scenes": [
|
||||
{
|
||||
"nodes": [
|
||||
0
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
Binary file not shown.
|
|
@ -0,0 +1,77 @@
|
|||
{
|
||||
"accessors": [
|
||||
{
|
||||
"bufferView": 0,
|
||||
"componentType": 5126,
|
||||
"count": 4,
|
||||
"type": "VEC3",
|
||||
"max": [
|
||||
0.5,
|
||||
0.5,
|
||||
0.0
|
||||
],
|
||||
"min": [
|
||||
-0.5,
|
||||
-0.5,
|
||||
0.0
|
||||
],
|
||||
"name": "Positions Accessor"
|
||||
},
|
||||
{
|
||||
"bufferView": 1,
|
||||
"componentType": 5125,
|
||||
"count": 4,
|
||||
"type": "SCALAR",
|
||||
"name": "Indices Accessor"
|
||||
}
|
||||
],
|
||||
"asset": {
|
||||
"generator": "glTF Asset Generator",
|
||||
"version": "2.0"
|
||||
},
|
||||
"buffers": [
|
||||
{
|
||||
"uri": "Mesh_PrimitiveMode_09.bin",
|
||||
"byteLength": 64
|
||||
}
|
||||
],
|
||||
"bufferViews": [
|
||||
{
|
||||
"buffer": 0,
|
||||
"byteLength": 48,
|
||||
"name": "Positions"
|
||||
},
|
||||
{
|
||||
"buffer": 0,
|
||||
"byteOffset": 48,
|
||||
"byteLength": 16,
|
||||
"name": "Indices"
|
||||
}
|
||||
],
|
||||
"meshes": [
|
||||
{
|
||||
"primitives": [
|
||||
{
|
||||
"attributes": {
|
||||
"POSITION": 0
|
||||
},
|
||||
"indices": 1,
|
||||
"mode": 2
|
||||
}
|
||||
]
|
||||
}
|
||||
],
|
||||
"nodes": [
|
||||
{
|
||||
"mesh": 0
|
||||
}
|
||||
],
|
||||
"scene": 0,
|
||||
"scenes": [
|
||||
{
|
||||
"nodes": [
|
||||
0
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
Binary file not shown.
|
|
@ -0,0 +1,77 @@
|
|||
{
|
||||
"accessors": [
|
||||
{
|
||||
"bufferView": 0,
|
||||
"componentType": 5126,
|
||||
"count": 4,
|
||||
"type": "VEC3",
|
||||
"max": [
|
||||
0.5,
|
||||
0.5,
|
||||
0.0
|
||||
],
|
||||
"min": [
|
||||
-0.5,
|
||||
-0.5,
|
||||
0.0
|
||||
],
|
||||
"name": "Positions Accessor"
|
||||
},
|
||||
{
|
||||
"bufferView": 1,
|
||||
"componentType": 5125,
|
||||
"count": 5,
|
||||
"type": "SCALAR",
|
||||
"name": "Indices Accessor"
|
||||
}
|
||||
],
|
||||
"asset": {
|
||||
"generator": "glTF Asset Generator",
|
||||
"version": "2.0"
|
||||
},
|
||||
"buffers": [
|
||||
{
|
||||
"uri": "Mesh_PrimitiveMode_10.bin",
|
||||
"byteLength": 68
|
||||
}
|
||||
],
|
||||
"bufferViews": [
|
||||
{
|
||||
"buffer": 0,
|
||||
"byteLength": 48,
|
||||
"name": "Positions"
|
||||
},
|
||||
{
|
||||
"buffer": 0,
|
||||
"byteOffset": 48,
|
||||
"byteLength": 20,
|
||||
"name": "Indices"
|
||||
}
|
||||
],
|
||||
"meshes": [
|
||||
{
|
||||
"primitives": [
|
||||
{
|
||||
"attributes": {
|
||||
"POSITION": 0
|
||||
},
|
||||
"indices": 1,
|
||||
"mode": 3
|
||||
}
|
||||
]
|
||||
}
|
||||
],
|
||||
"nodes": [
|
||||
{
|
||||
"mesh": 0
|
||||
}
|
||||
],
|
||||
"scene": 0,
|
||||
"scenes": [
|
||||
{
|
||||
"nodes": [
|
||||
0
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
Binary file not shown.
|
|
@ -0,0 +1,77 @@
|
|||
{
|
||||
"accessors": [
|
||||
{
|
||||
"bufferView": 0,
|
||||
"componentType": 5126,
|
||||
"count": 4,
|
||||
"type": "VEC3",
|
||||
"max": [
|
||||
0.5,
|
||||
0.5,
|
||||
0.0
|
||||
],
|
||||
"min": [
|
||||
-0.5,
|
||||
-0.5,
|
||||
0.0
|
||||
],
|
||||
"name": "Positions Accessor"
|
||||
},
|
||||
{
|
||||
"bufferView": 1,
|
||||
"componentType": 5125,
|
||||
"count": 4,
|
||||
"type": "SCALAR",
|
||||
"name": "Indices Accessor"
|
||||
}
|
||||
],
|
||||
"asset": {
|
||||
"generator": "glTF Asset Generator",
|
||||
"version": "2.0"
|
||||
},
|
||||
"buffers": [
|
||||
{
|
||||
"uri": "Mesh_PrimitiveMode_11.bin",
|
||||
"byteLength": 64
|
||||
}
|
||||
],
|
||||
"bufferViews": [
|
||||
{
|
||||
"buffer": 0,
|
||||
"byteLength": 48,
|
||||
"name": "Positions"
|
||||
},
|
||||
{
|
||||
"buffer": 0,
|
||||
"byteOffset": 48,
|
||||
"byteLength": 16,
|
||||
"name": "Indices"
|
||||
}
|
||||
],
|
||||
"meshes": [
|
||||
{
|
||||
"primitives": [
|
||||
{
|
||||
"attributes": {
|
||||
"POSITION": 0
|
||||
},
|
||||
"indices": 1,
|
||||
"mode": 5
|
||||
}
|
||||
]
|
||||
}
|
||||
],
|
||||
"nodes": [
|
||||
{
|
||||
"mesh": 0
|
||||
}
|
||||
],
|
||||
"scene": 0,
|
||||
"scenes": [
|
||||
{
|
||||
"nodes": [
|
||||
0
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
Binary file not shown.
|
|
@ -0,0 +1,77 @@
|
|||
{
|
||||
"accessors": [
|
||||
{
|
||||
"bufferView": 0,
|
||||
"componentType": 5126,
|
||||
"count": 4,
|
||||
"type": "VEC3",
|
||||
"max": [
|
||||
0.5,
|
||||
0.5,
|
||||
0.0
|
||||
],
|
||||
"min": [
|
||||
-0.5,
|
||||
-0.5,
|
||||
0.0
|
||||
],
|
||||
"name": "Positions Accessor"
|
||||
},
|
||||
{
|
||||
"bufferView": 1,
|
||||
"componentType": 5125,
|
||||
"count": 4,
|
||||
"type": "SCALAR",
|
||||
"name": "Indices Accessor"
|
||||
}
|
||||
],
|
||||
"asset": {
|
||||
"generator": "glTF Asset Generator",
|
||||
"version": "2.0"
|
||||
},
|
||||
"buffers": [
|
||||
{
|
||||
"uri": "Mesh_PrimitiveMode_12.bin",
|
||||
"byteLength": 64
|
||||
}
|
||||
],
|
||||
"bufferViews": [
|
||||
{
|
||||
"buffer": 0,
|
||||
"byteLength": 48,
|
||||
"name": "Positions"
|
||||
},
|
||||
{
|
||||
"buffer": 0,
|
||||
"byteOffset": 48,
|
||||
"byteLength": 16,
|
||||
"name": "Indices"
|
||||
}
|
||||
],
|
||||
"meshes": [
|
||||
{
|
||||
"primitives": [
|
||||
{
|
||||
"attributes": {
|
||||
"POSITION": 0
|
||||
},
|
||||
"indices": 1,
|
||||
"mode": 6
|
||||
}
|
||||
]
|
||||
}
|
||||
],
|
||||
"nodes": [
|
||||
{
|
||||
"mesh": 0
|
||||
}
|
||||
],
|
||||
"scene": 0,
|
||||
"scenes": [
|
||||
{
|
||||
"nodes": [
|
||||
0
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
Binary file not shown.
Some files were not shown because too many files have changed in this diff Show more
Loading…
Add table
Add a link
Reference in a new issue