REVIEWED: models resources structure
This commit is contained in:
parent
75b5cc0084
commit
599d6e810f
37 changed files with 15 additions and 29508 deletions
|
|
@ -1,20 +1,23 @@
|
||||||
| resource | author | licence | notes |
|
| resource | author | licence | notes |
|
||||||
| :------------------- | :---------: | :------ | :---- |
|
| :------------------- | :---------: | :------ | :---- |
|
||||||
| models/castle.obj,<br> models/castle_diffuse.png | [Alberto Cano](https://www.artstation.com/albertocano) | [CC-BY-NC](https://creativecommons.org/licenses/by-nc/4.0/legalcode) | - |
|
| models/obj/castle.obj,<br>models/castle_diffuse.png | [Alberto Cano](https://www.artstation.com/albertocano) | [CC-BY-NC](https://creativecommons.org/licenses/by-nc/4.0/legalcode) | - |
|
||||||
| models/bridge.obj,<br> models/bridge_diffuse.png | [Alberto Cano](https://www.artstation.com/albertocano) | [CC-BY-NC](https://creativecommons.org/licenses/by-nc/4.0/legalcode) | - |
|
| models/obj/bridge.obj,<br>models/bridge_diffuse.png | [Alberto Cano](https://www.artstation.com/albertocano) | [CC-BY-NC](https://creativecommons.org/licenses/by-nc/4.0/legalcode) | - |
|
||||||
| models/house.obj,<br> models/house_diffuse.png | [Alberto Cano](https://www.artstation.com/albertocano) | [CC-BY-NC](https://creativecommons.org/licenses/by-nc/4.0/legalcode) | - |
|
| models/obj/house.obj,<br>models/house_diffuse.png | [Alberto Cano](https://www.artstation.com/albertocano) | [CC-BY-NC](https://creativecommons.org/licenses/by-nc/4.0/legalcode) | - |
|
||||||
| models/market.obj,<br> models/market_diffuse.png | [Alberto Cano](https://www.artstation.com/albertocano) | [CC-BY-NC](https://creativecommons.org/licenses/by-nc/4.0/legalcode) | - |
|
| models/obj/market.obj,<br>models/market_diffuse.png | [Alberto Cano](https://www.artstation.com/albertocano) | [CC-BY-NC](https://creativecommons.org/licenses/by-nc/4.0/legalcode) | - |
|
||||||
| models/turret.obj,<br> models/turret_diffuse.png | [Alberto Cano](https://www.artstation.com/albertocano) | [CC-BY-NC](https://creativecommons.org/licenses/by-nc/4.0/legalcode) | - |
|
| models/obj/turret.obj,<br>models/turret_diffuse.png | [Alberto Cano](https://www.artstation.com/albertocano) | [CC-BY-NC](https://creativecommons.org/licenses/by-nc/4.0/legalcode) | - |
|
||||||
| models/well.obj,<br> models/well_diffuse.png | [Alberto Cano](https://www.artstation.com/albertocano) | [CC-BY-NC](https://creativecommons.org/licenses/by-nc/4.0/legalcode) | - |
|
| models/obj/well.obj,<br>models/well_diffuse.png | [Alberto Cano](https://www.artstation.com/albertocano) | [CC-BY-NC](https://creativecommons.org/licenses/by-nc/4.0/legalcode) | - |
|
||||||
| models/cube.obj,<br> models/cube_diffuse.png | [@raysan5](https://github.com/raysan5) | [CC0](https://creativecommons.org/publicdomain/zero/1.0/) | - |
|
| models/obj/cube.obj,<br>models/cube_diffuse.png | [@raysan5](https://github.com/raysan5) | [CC0](https://creativecommons.org/publicdomain/zero/1.0/) | - |
|
||||||
| models/vertex_colored_object.iqm | ❔ | ❔ | - |
|
| models/iqm/guy.iqm,<br>models/iqm/guyanim.iqm,<br>models/iqm/guytex.png,<br>models/iqm/guy.blend | [@culacant](https://github.com/culacant) | [CC0](https://creativecommons.org/publicdomain/zero/1.0/) | - |
|
||||||
|
| models/iqm/vertex_colored_object.iqm | ❔ | ❔ | - |
|
||||||
|
| models/gltf/plane/plane.gltf,<br>models/gltf/plane/plane.bin,<br>models/gltf/plane/plane_diffuse.png | [GiaHanLam](https://sketchfab.com/GiaHanLam) | [CC-BY](https://creativecommons.org/licenses/by/4.0/) | Used by: [`models_yaw_pitch_roll.c`](https://github.com/raysan5/raylib/blob/master/examples/models/models_yaw_pitch_roll.c)
|
||||||
|
| models/gltf/... | _various_ | Check [LICENSE](https://github.com/raysan5/raylib/blob/master/examples/models/resources/models/gltf/LICENSE) | - |
|
||||||
|
| models/vox/chr_knight.vox | ❔ | ❔ | - |
|
||||||
|
| models/vox/chr_sword.vox | ❔ | ❔ | - |
|
||||||
|
| models/vox/monu9.vox | ❔ | ❔ | - |
|
||||||
| billboard.png | [@emegeme](https://github.com/emegeme) | [CC0](https://creativecommons.org/publicdomain/zero/1.0/) | - |
|
| billboard.png | [@emegeme](https://github.com/emegeme) | [CC0](https://creativecommons.org/publicdomain/zero/1.0/) | - |
|
||||||
| cubicmap.png | [@raysan5](https://github.com/raysan5) | [CC0](https://creativecommons.org/publicdomain/zero/1.0/) | - |
|
| cubicmap.png | [@raysan5](https://github.com/raysan5) | [CC0](https://creativecommons.org/publicdomain/zero/1.0/) | - |
|
||||||
| cubicmap_atlas.png | [@emegeme](https://github.com/emegeme) | [CC0](https://creativecommons.org/publicdomain/zero/1.0/) | - |
|
| cubicmap_atlas.png | [@emegeme](https://github.com/emegeme) | [CC0](https://creativecommons.org/publicdomain/zero/1.0/) | - |
|
||||||
| heightmap.png | [@raysan5](https://github.com/raysan5) | [CC0](https://creativecommons.org/publicdomain/zero/1.0/) | - |
|
| heightmap.png | [@raysan5](https://github.com/raysan5) | [CC0](https://creativecommons.org/publicdomain/zero/1.0/) | - |
|
||||||
| dresden_square_1k.hdr | [HDRIHaven](https://hdrihaven.com/hdri/?h=dresden_square) | [CC0](https://hdrihaven.com/p/license.php) | - |
|
| dresden_square_1k.hdr | [HDRIHaven](https://hdrihaven.com/hdri/?h=dresden_square) | [CC0](https://hdrihaven.com/p/license.php) | - |
|
||||||
| dresden_square_2k.hdr | [HDRIHaven](https://hdrihaven.com/hdri/?h=dresden_square) | [CC0](https://hdrihaven.com/p/license.php) | - |
|
| dresden_square_2k.hdr | [HDRIHaven](https://hdrihaven.com/hdri/?h=dresden_square) | [CC0](https://hdrihaven.com/p/license.php) | - |
|
||||||
| skybox.png | ❔ | ❔ | - |
|
| skybox.png | ❔ | ❔ | - |
|
||||||
| **guy/...** | [@culacant](https://github.com/culacant) | [CC0](https://creativecommons.org/publicdomain/zero/1.0/) |
|
|
||||||
| **plane/...** | [GiaHanLam](https://sketchfab.com/GiaHanLam) | [CC-BY](https://creativecommons.org/licenses/by/4.0/) | Used by: [`models_yaw_pitch_roll.c`](https://github.com/raysan5/raylib/blob/master/examples/models/models_yaw_pitch_roll.c)
|
|
||||||
| **gltf/...** | _various_ | [LICENSE](https://github.com/raysan5/raylib/blob/master/examples/models/resources/gltf/LICENSE) | - |
|
|
||||||
File diff suppressed because it is too large
Load diff
Binary file not shown.
|
Before Width: | Height: | Size: 311 KiB |
File diff suppressed because it is too large
Load diff
Binary file not shown.
|
Before Width: | Height: | Size: 434 KiB |
|
|
@ -1,68 +0,0 @@
|
||||||
# reference material
|
|
||||||
#mtllib cube.mtl
|
|
||||||
|
|
||||||
# object box
|
|
||||||
|
|
||||||
# vertex (XZY)
|
|
||||||
v 5.5 0 1.5
|
|
||||||
v 8.5 0 1.5
|
|
||||||
v 5.5 0 -1.5
|
|
||||||
v 8.5 0 -1.5
|
|
||||||
v 5.5 3 1.5
|
|
||||||
v 8.5 3 1.5
|
|
||||||
v 5.5 3 -1.5
|
|
||||||
v 8.5 3 -1.5
|
|
||||||
|
|
||||||
# normals (XYZ)
|
|
||||||
vn 0 -1 0
|
|
||||||
vn 0 1 0
|
|
||||||
vn 0 0 1
|
|
||||||
vn 1 0 0
|
|
||||||
vn 0 0 -1
|
|
||||||
vn -1 0 0
|
|
||||||
|
|
||||||
# UVs (XY)
|
|
||||||
vt 0.5 0 0
|
|
||||||
vt 1 0 0
|
|
||||||
vt 1 0.5 0
|
|
||||||
vt 0.5 0.5 0
|
|
||||||
vt 0.5 0.5 0
|
|
||||||
vt 1 0.5 0
|
|
||||||
vt 0.5 1 0
|
|
||||||
vt 1 1 0
|
|
||||||
vt 0 0.5 0
|
|
||||||
vt 1 0.5 0
|
|
||||||
vt 1 0 0
|
|
||||||
vt 0 0 0
|
|
||||||
vt 0 0.5 0
|
|
||||||
vt 1 0.5 0
|
|
||||||
vt 1 1 0
|
|
||||||
vt 0 1 0
|
|
||||||
vt 0.5 0 0
|
|
||||||
vt 0 0 0
|
|
||||||
vt 0 0.5 0
|
|
||||||
vt 0.5 0.5 0
|
|
||||||
vt 0 0.5 0
|
|
||||||
vt 0.5 0.5 0
|
|
||||||
vt 0.5 1 0
|
|
||||||
vt 0 1 0
|
|
||||||
|
|
||||||
# merger
|
|
||||||
g box
|
|
||||||
|
|
||||||
# reference material
|
|
||||||
#usemtl mat01
|
|
||||||
|
|
||||||
# faces
|
|
||||||
f 1/9/1 3/10/1 4/11/1
|
|
||||||
f 4/11/1 2/12/1 1/9/1
|
|
||||||
f 5/13/2 6/14/2 8/15/2
|
|
||||||
f 8/15/2 7/16/2 5/13/2
|
|
||||||
f 1/17/6 2/18/6 6/19/6
|
|
||||||
f 6/19/6 5/20/6 1/17/6
|
|
||||||
f 2/6/1 4/5/1 8/7/1
|
|
||||||
f 8/7/1 6/8/1 2/6/1
|
|
||||||
f 4/2/3 3/1/3 7/4/3
|
|
||||||
f 7/4/3 8/3/3 4/2/3
|
|
||||||
f 3/22/5 1/21/5 5/24/5
|
|
||||||
f 5/24/5 7/23/5 3/22/5
|
|
||||||
Binary file not shown.
|
Before Width: | Height: | Size: 23 KiB |
BIN
examples/models/resources/models/gltf/AnimatedMorphCube.glb
Normal file
BIN
examples/models/resources/models/gltf/AnimatedMorphCube.glb
Normal file
Binary file not shown.
118
examples/models/resources/models/gltf/AnimatedTriangle.gltf
Normal file
118
examples/models/resources/models/gltf/AnimatedTriangle.gltf
Normal file
|
|
@ -0,0 +1,118 @@
|
||||||
|
{
|
||||||
|
"scene" : 0,
|
||||||
|
"scenes" : [
|
||||||
|
{
|
||||||
|
"nodes" : [ 0 ]
|
||||||
|
}
|
||||||
|
],
|
||||||
|
|
||||||
|
"nodes" : [
|
||||||
|
{
|
||||||
|
"mesh" : 0,
|
||||||
|
"rotation" : [ 0.0, 0.0, 0.0, 1.0 ]
|
||||||
|
}
|
||||||
|
],
|
||||||
|
|
||||||
|
"meshes" : [
|
||||||
|
{
|
||||||
|
"primitives" : [ {
|
||||||
|
"attributes" : {
|
||||||
|
"POSITION" : 1
|
||||||
|
},
|
||||||
|
"indices" : 0
|
||||||
|
} ]
|
||||||
|
}
|
||||||
|
],
|
||||||
|
|
||||||
|
"animations": [
|
||||||
|
{
|
||||||
|
"samplers" : [
|
||||||
|
{
|
||||||
|
"input" : 2,
|
||||||
|
"interpolation" : "LINEAR",
|
||||||
|
"output" : 3
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"channels" : [ {
|
||||||
|
"sampler" : 0,
|
||||||
|
"target" : {
|
||||||
|
"node" : 0,
|
||||||
|
"path" : "rotation"
|
||||||
|
}
|
||||||
|
} ]
|
||||||
|
}
|
||||||
|
],
|
||||||
|
|
||||||
|
"buffers" : [
|
||||||
|
{
|
||||||
|
"uri" : "data:application/octet-stream;base64,AAABAAIAAAAAAAAAAAAAAAAAAAAAAIA/AAAAAAAAAAAAAAAAAACAPwAAAAA=",
|
||||||
|
"byteLength" : 44
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"uri" : "data:application/octet-stream;base64,AAAAAAAAgD4AAAA/AABAPwAAgD8AAAAAAAAAAAAAAAAAAIA/AAAAAAAAAAD0/TQ/9P00PwAAAAAAAAAAAACAPwAAAAAAAAAAAAAAAPT9ND/0/TS/AAAAAAAAAAAAAAAAAACAPw==",
|
||||||
|
"byteLength" : 100
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"bufferViews" : [
|
||||||
|
{
|
||||||
|
"buffer" : 0,
|
||||||
|
"byteOffset" : 0,
|
||||||
|
"byteLength" : 6,
|
||||||
|
"target" : 34963
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"buffer" : 0,
|
||||||
|
"byteOffset" : 8,
|
||||||
|
"byteLength" : 36,
|
||||||
|
"target" : 34962
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"buffer" : 1,
|
||||||
|
"byteOffset" : 0,
|
||||||
|
"byteLength" : 100
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"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, 1.0, 0.0 ],
|
||||||
|
"min" : [ 0.0, 0.0, 0.0 ]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"bufferView" : 2,
|
||||||
|
"byteOffset" : 0,
|
||||||
|
"componentType" : 5126,
|
||||||
|
"count" : 5,
|
||||||
|
"type" : "SCALAR",
|
||||||
|
"max" : [ 1.0 ],
|
||||||
|
"min" : [ 0.0 ]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"bufferView" : 2,
|
||||||
|
"byteOffset" : 20,
|
||||||
|
"componentType" : 5126,
|
||||||
|
"count" : 5,
|
||||||
|
"type" : "VEC4",
|
||||||
|
"max" : [ 0.0, 0.0, 1.0, 1.0 ],
|
||||||
|
"min" : [ 0.0, 0.0, 0.0, -0.707 ]
|
||||||
|
}
|
||||||
|
],
|
||||||
|
|
||||||
|
"asset" : {
|
||||||
|
"version" : "2.0"
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
||||||
BIN
examples/models/resources/models/gltf/BoxAnimated.glb
Normal file
BIN
examples/models/resources/models/gltf/BoxAnimated.glb
Normal file
Binary file not shown.
BIN
examples/models/resources/models/gltf/GearboxAssy.glb
Normal file
BIN
examples/models/resources/models/gltf/GearboxAssy.glb
Normal file
Binary file not shown.
23
examples/models/resources/models/gltf/LICENSE
Normal file
23
examples/models/resources/models/gltf/LICENSE
Normal file
|
|
@ -0,0 +1,23 @@
|
||||||
|
Rigged Figure model has been created by Cesium (https://cesium.com/cesiumjs/),
|
||||||
|
and licensed as Creative Commons Attribution 4.0 International License.
|
||||||
|
|
||||||
|
Box Animated model has been created by Cesium (https://cesium.com/cesiumjs/)
|
||||||
|
and is licensed as Creative Commons Attribution 4.0 International License
|
||||||
|
|
||||||
|
Avocado model is provided by Microsoft
|
||||||
|
and licensed as CC0 Universal Public Domain
|
||||||
|
|
||||||
|
Animated Morph Cube model is provided by Microsoft
|
||||||
|
and licensed as CC0 Universal Public Domain
|
||||||
|
|
||||||
|
Animated Triangle model is licensed as CC0 Universal Public Domain
|
||||||
|
|
||||||
|
Gearbox Assy model has been provided by Okino Computer Graphics, using Okino Polytrans Software.
|
||||||
|
no license information was provided
|
||||||
|
|
||||||
|
Girl model has been provided by Hristo Stamenov (https://thatonegamedev.com/)
|
||||||
|
and licensed as CC0 Universal Public Domain
|
||||||
|
|
||||||
|
Check for details on CC0: https://creativecommons.org/publicdomain/zero/1.0/
|
||||||
|
Check for details on CC4: http://creativecommons.org/licenses/by/4.0/
|
||||||
|
GLTF sample models for testing are taken from: https://github.com/KhronosGroup/glTF-Sample-Models/
|
||||||
BIN
examples/models/resources/models/gltf/girl.glb
Normal file
BIN
examples/models/resources/models/gltf/girl.glb
Normal file
Binary file not shown.
9
examples/models/resources/models/gltf/plane/LICENSE
Normal file
9
examples/models/resources/models/gltf/plane/LICENSE
Normal file
|
|
@ -0,0 +1,9 @@
|
||||||
|
WWI Plane Model created by GiaHanLam (https://sketchfab.com/GiaHanLam)
|
||||||
|
This model is free to use, licensed as Creative Commons Attribution (CC-BY 4.0)
|
||||||
|
|
||||||
|
License details: https://creativecommons.org/licenses/by/4.0/
|
||||||
|
|
||||||
|
As per the license, author must be credited and commercial use is allowed.
|
||||||
|
|
||||||
|
This model was donwload from author Sketchfab account: https://sketchfab.com/3d-models/wwi-plane-model-f0d39a6daacd4925a8922db193886715
|
||||||
|
|
||||||
BIN
examples/models/resources/models/gltf/plane/plane.bin
Normal file
BIN
examples/models/resources/models/gltf/plane/plane.bin
Normal file
Binary file not shown.
327
examples/models/resources/models/gltf/plane/plane.gltf
Normal file
327
examples/models/resources/models/gltf/plane/plane.gltf
Normal file
|
|
@ -0,0 +1,327 @@
|
||||||
|
{
|
||||||
|
"accessors": [
|
||||||
|
{
|
||||||
|
"bufferView": 2,
|
||||||
|
"componentType": 5126,
|
||||||
|
"count": 3446,
|
||||||
|
"max": [
|
||||||
|
143.99604797363281,
|
||||||
|
168.74668884277344,
|
||||||
|
75.31597900390625
|
||||||
|
],
|
||||||
|
"min": [
|
||||||
|
-143.99604797363281,
|
||||||
|
-43.94732666015625,
|
||||||
|
-49.556678771972656
|
||||||
|
],
|
||||||
|
"type": "VEC3"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"bufferView": 2,
|
||||||
|
"byteOffset": 41352,
|
||||||
|
"componentType": 5126,
|
||||||
|
"count": 3446,
|
||||||
|
"max": [
|
||||||
|
1,
|
||||||
|
0.99916732311248779,
|
||||||
|
0.99978786706924438
|
||||||
|
],
|
||||||
|
"min": [
|
||||||
|
-1,
|
||||||
|
-0.99928808212280273,
|
||||||
|
-0.99977350234985352
|
||||||
|
],
|
||||||
|
"type": "VEC3"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"bufferView": 3,
|
||||||
|
"componentType": 5126,
|
||||||
|
"count": 3446,
|
||||||
|
"max": [
|
||||||
|
1,
|
||||||
|
1,
|
||||||
|
1,
|
||||||
|
1
|
||||||
|
],
|
||||||
|
"min": [
|
||||||
|
0,
|
||||||
|
0,
|
||||||
|
0,
|
||||||
|
0
|
||||||
|
],
|
||||||
|
"type": "VEC4"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"bufferView": 1,
|
||||||
|
"componentType": 5126,
|
||||||
|
"count": 3446,
|
||||||
|
"max": [
|
||||||
|
4.8965663909912109,
|
||||||
|
0.99786919355392456
|
||||||
|
],
|
||||||
|
"min": [
|
||||||
|
0.0036561768501996994,
|
||||||
|
0.0083234198391437531
|
||||||
|
],
|
||||||
|
"type": "VEC2"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"bufferView": 0,
|
||||||
|
"componentType": 5125,
|
||||||
|
"count": 7692,
|
||||||
|
"max": [
|
||||||
|
3445
|
||||||
|
],
|
||||||
|
"min": [
|
||||||
|
0
|
||||||
|
],
|
||||||
|
"type": "SCALAR"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"asset": {
|
||||||
|
"extras": {
|
||||||
|
"author": "GiaHanLam (https://sketchfab.com/GiaHanLam)",
|
||||||
|
"license": "CC-BY-4.0 (http://creativecommons.org/licenses/by/4.0/)",
|
||||||
|
"source": "https://sketchfab.com/3d-models/wwi-plane-model-f0d39a6daacd4925a8922db193886715",
|
||||||
|
"title": "WWI Plane Model"
|
||||||
|
},
|
||||||
|
"generator": "Sketchfab-8.25.0",
|
||||||
|
"version": "2.0"
|
||||||
|
},
|
||||||
|
"bufferViews": [
|
||||||
|
{
|
||||||
|
"buffer": 0,
|
||||||
|
"byteLength": 30768,
|
||||||
|
"byteOffset": 0,
|
||||||
|
"name": "floatBufferViews",
|
||||||
|
"target": 34963
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"buffer": 0,
|
||||||
|
"byteLength": 27568,
|
||||||
|
"byteOffset": 30768,
|
||||||
|
"byteStride": 8,
|
||||||
|
"name": "floatBufferViews",
|
||||||
|
"target": 34962
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"buffer": 0,
|
||||||
|
"byteLength": 82704,
|
||||||
|
"byteOffset": 58336,
|
||||||
|
"byteStride": 12,
|
||||||
|
"name": "floatBufferViews",
|
||||||
|
"target": 34962
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"buffer": 0,
|
||||||
|
"byteLength": 55136,
|
||||||
|
"byteOffset": 141040,
|
||||||
|
"byteStride": 16,
|
||||||
|
"name": "floatBufferViews",
|
||||||
|
"target": 34962
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"buffers": [
|
||||||
|
{
|
||||||
|
"byteLength": 196176,
|
||||||
|
"uri": "plane.bin"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"images": [
|
||||||
|
{
|
||||||
|
"uri": "plane_diffuse.png"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"materials": [
|
||||||
|
{
|
||||||
|
"doubleSided": true,
|
||||||
|
"name": "Material_24",
|
||||||
|
"pbrMetallicRoughness": {
|
||||||
|
"baseColorFactor": [
|
||||||
|
1,
|
||||||
|
1,
|
||||||
|
1,
|
||||||
|
1
|
||||||
|
],
|
||||||
|
"baseColorTexture": {
|
||||||
|
"index": 0,
|
||||||
|
"texCoord": 0
|
||||||
|
},
|
||||||
|
"metallicFactor": 0,
|
||||||
|
"roughnessFactor": 0.59999999999999998
|
||||||
|
}
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"meshes": [
|
||||||
|
{
|
||||||
|
"name": "BODY_Material #24_0",
|
||||||
|
"primitives": [
|
||||||
|
{
|
||||||
|
"attributes": {
|
||||||
|
"COLOR_0": 2,
|
||||||
|
"NORMAL": 1,
|
||||||
|
"POSITION": 0,
|
||||||
|
"TEXCOORD_0": 3
|
||||||
|
},
|
||||||
|
"indices": 4,
|
||||||
|
"material": 0,
|
||||||
|
"mode": 4
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"nodes": [
|
||||||
|
{
|
||||||
|
"children": [
|
||||||
|
1
|
||||||
|
],
|
||||||
|
"name": "RootNode (gltf orientation matrix)",
|
||||||
|
"rotation": [
|
||||||
|
-0.70710678118654746,
|
||||||
|
-0,
|
||||||
|
-0,
|
||||||
|
0.70710678118654757
|
||||||
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"children": [
|
||||||
|
2
|
||||||
|
],
|
||||||
|
"name": "RootNode (model correction matrix)"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"children": [
|
||||||
|
3
|
||||||
|
],
|
||||||
|
"matrix": [
|
||||||
|
1,
|
||||||
|
0,
|
||||||
|
0,
|
||||||
|
0,
|
||||||
|
0,
|
||||||
|
0,
|
||||||
|
1,
|
||||||
|
0,
|
||||||
|
0,
|
||||||
|
-1,
|
||||||
|
0,
|
||||||
|
0,
|
||||||
|
0,
|
||||||
|
0,
|
||||||
|
0,
|
||||||
|
1
|
||||||
|
],
|
||||||
|
"name": "base"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"children": [
|
||||||
|
4,
|
||||||
|
6
|
||||||
|
],
|
||||||
|
"name": "RootNode"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"children": [
|
||||||
|
5
|
||||||
|
],
|
||||||
|
"matrix": [
|
||||||
|
1,
|
||||||
|
0,
|
||||||
|
0,
|
||||||
|
0,
|
||||||
|
0,
|
||||||
|
2.2204460492503131e-16,
|
||||||
|
-1,
|
||||||
|
0,
|
||||||
|
0,
|
||||||
|
1,
|
||||||
|
2.2204460492503131e-16,
|
||||||
|
0,
|
||||||
|
0,
|
||||||
|
0,
|
||||||
|
0,
|
||||||
|
1
|
||||||
|
],
|
||||||
|
"name": "BODY"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"mesh": 0,
|
||||||
|
"name": "BODY_Material #24_0"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"children": [
|
||||||
|
7
|
||||||
|
],
|
||||||
|
"matrix": [
|
||||||
|
1,
|
||||||
|
0,
|
||||||
|
0,
|
||||||
|
0,
|
||||||
|
0,
|
||||||
|
1,
|
||||||
|
0,
|
||||||
|
0,
|
||||||
|
0,
|
||||||
|
0,
|
||||||
|
1,
|
||||||
|
0,
|
||||||
|
-680,
|
||||||
|
0,
|
||||||
|
90,
|
||||||
|
1
|
||||||
|
],
|
||||||
|
"name": "Sky001"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"children": [
|
||||||
|
8
|
||||||
|
],
|
||||||
|
"matrix": [
|
||||||
|
1,
|
||||||
|
0,
|
||||||
|
0,
|
||||||
|
0,
|
||||||
|
0,
|
||||||
|
2.2204460492503131e-16,
|
||||||
|
1,
|
||||||
|
0,
|
||||||
|
0,
|
||||||
|
-1,
|
||||||
|
2.2204460492503131e-16,
|
||||||
|
0,
|
||||||
|
0,
|
||||||
|
0,
|
||||||
|
0,
|
||||||
|
1
|
||||||
|
],
|
||||||
|
"name": ""
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": ""
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"samplers": [
|
||||||
|
{
|
||||||
|
"magFilter": 9729,
|
||||||
|
"minFilter": 9987,
|
||||||
|
"wrapS": 10497,
|
||||||
|
"wrapT": 10497
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"scene": 0,
|
||||||
|
"scenes": [
|
||||||
|
{
|
||||||
|
"name": "OSG_Scene",
|
||||||
|
"nodes": [
|
||||||
|
0
|
||||||
|
]
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"textures": [
|
||||||
|
{
|
||||||
|
"sampler": 0,
|
||||||
|
"source": 0
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
|
|
||||||
BIN
examples/models/resources/models/gltf/plane/plane_diffuse.png
Normal file
BIN
examples/models/resources/models/gltf/plane/plane_diffuse.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 804 KiB |
BIN
examples/models/resources/models/gltf/raylib_32x32.glb
Normal file
BIN
examples/models/resources/models/gltf/raylib_32x32.glb
Normal file
Binary file not shown.
BIN
examples/models/resources/models/gltf/rigged_figure.glb
Normal file
BIN
examples/models/resources/models/gltf/rigged_figure.glb
Normal file
Binary file not shown.
BIN
examples/models/resources/models/gltf/vertex_colored_object.glb
Normal file
BIN
examples/models/resources/models/gltf/vertex_colored_object.glb
Normal file
Binary file not shown.
Some files were not shown because too many files have changed in this diff Show more
Loading…
Reference in a new issue