summaryrefslogtreecommitdiffhomepage
path: root/examples/models/resources
diff options
context:
space:
mode:
authorhristo <[email protected]>2021-01-28 12:29:06 +0200
committerGitHub <[email protected]>2021-01-28 11:29:06 +0100
commit731ab15d5768340bcfb028878fb3d92ae49ec1ab (patch)
tree533190c7cb95210d7c62426c63c3263a4a8b2aca /examples/models/resources
parent88a6f16c9a552ebb8c39fff57cf16cfce7c88913 (diff)
downloadraylib-731ab15d5768340bcfb028878fb3d92ae49ec1ab.tar.gz
raylib-731ab15d5768340bcfb028878fb3d92ae49ec1ab.zip
Gltf animation support (#1551)
* Added example for gltf animation and split some functions for loading model animations into IQM and GLTF similar to how models are being loaded. * Removed wrongly duplicated function * Bone loading for gltf model (not working at this point) * Loading info about vertex to joint connection but animation is still not working * Skeleton and pose is correctly loaded. Need to communicate about interpolation in GLTF * The model almost looks like a real person on animation. * Fixed model loading with bones. Also updated license info on the model. * Cleaned up some code and updated examples. * Fix identation issues * Fix identation issues * Fix identation issues
Diffstat (limited to 'examples/models/resources')
-rw-r--r--examples/models/resources/gltf/Avocado.glbbin0 -> 8328156 bytes
-rw-r--r--examples/models/resources/gltf/LICENSE11
-rw-r--r--examples/models/resources/gltf/rigged_figure.glbbin0 -> 50116 bytes
3 files changed, 11 insertions, 0 deletions
diff --git a/examples/models/resources/gltf/Avocado.glb b/examples/models/resources/gltf/Avocado.glb
new file mode 100644
index 00000000..006b79c3
--- /dev/null
+++ b/examples/models/resources/gltf/Avocado.glb
Binary files differ
diff --git a/examples/models/resources/gltf/LICENSE b/examples/models/resources/gltf/LICENSE
new file mode 100644
index 00000000..77c73c62
--- /dev/null
+++ b/examples/models/resources/gltf/LICENSE
@@ -0,0 +1,11 @@
+Rigged Figure model has been created by Cesium (https://cesium.com/cesiumjs/),
+and licensed as Creative Commons Attribution 4.0 International License.
+
+Check for details: http://creativecommons.org/licenses/by/4.0/
+
+Avocado model is provided by Microsoft
+and licensed as CC0 Universal Public Domain
+
+Check for details: https://creativecommons.org/publicdomain/zero/1.0/
+
+GLTF sample models for testing are taken from: https://github.com/KhronosGroup/glTF-Sample-Models/
diff --git a/examples/models/resources/gltf/rigged_figure.glb b/examples/models/resources/gltf/rigged_figure.glb
new file mode 100644
index 00000000..c505a33d
--- /dev/null
+++ b/examples/models/resources/gltf/rigged_figure.glb
Binary files differ