new stuff
This commit is contained in:
parent
8998bc3936
commit
64c8492e5c
6907 changed files with 3401899 additions and 0 deletions
17
vendor/assimp/test/models/glTF2/MorphPrimitivesTest/LICENSE.md
vendored
Normal file
17
vendor/assimp/test/models/glTF2/MorphPrimitivesTest/LICENSE.md
vendored
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
vendor/assimp/test/models/glTF2/MorphPrimitivesTest/README.body.md
vendored
Normal file
21
vendor/assimp/test/models/glTF2/MorphPrimitivesTest/README.body.md
vendored
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
vendor/assimp/test/models/glTF2/MorphPrimitivesTest/README.md
vendored
Normal file
50
vendor/assimp/test/models/glTF2/MorphPrimitivesTest/README.md
vendored
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
|
||||
BIN
vendor/assimp/test/models/glTF2/MorphPrimitivesTest/glTF/MorphPrimitivesTest.bin
vendored
Normal file
BIN
vendor/assimp/test/models/glTF2/MorphPrimitivesTest/glTF/MorphPrimitivesTest.bin
vendored
Normal file
Binary file not shown.
331
vendor/assimp/test/models/glTF2/MorphPrimitivesTest/glTF/MorphPrimitivesTest.gltf
vendored
Normal file
331
vendor/assimp/test/models/glTF2/MorphPrimitivesTest/glTF/MorphPrimitivesTest.gltf
vendored
Normal file
|
|
@ -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
vendor/assimp/test/models/glTF2/MorphPrimitivesTest/glTF/uv_texture.jpg
(Stored with Git LFS)
vendored
Normal file
BIN
vendor/assimp/test/models/glTF2/MorphPrimitivesTest/glTF/uv_texture.jpg
(Stored with Git LFS)
vendored
Normal file
Binary file not shown.
Loading…
Add table
Add a link
Reference in a new issue