diff options
| author | Charles <[email protected]> | 2023-01-02 14:23:48 -0500 |
|---|---|---|
| committer | GitHub <[email protected]> | 2023-01-02 20:23:48 +0100 |
| commit | f2e3d6eca724ee88794b20934aa9bf9d818280a9 (patch) | |
| tree | 7be26e5e7f752f9739758725df6fca447e118258 /examples/models/resources | |
| parent | fabedf76367d238a18437190e1a984b468a94e60 (diff) | |
| download | raylib-f2e3d6eca724ee88794b20934aa9bf9d818280a9.tar.gz raylib-f2e3d6eca724ee88794b20934aa9bf9d818280a9.zip | |
[models] Add GLTF animation support (#2844)
* add GLTF animation support
* use correct index when allocating animVertices and animNormals
* early exit LoadModelAnimationsGLTF if the gtlf file fails to parse
* update models/models_loading_gltf.c to play gltf animation
Updated the .blend file to use weights rather than bone parents so it
fits into the framework. Exported with weights to the .glb file.
* fix order of operations for bone scale in UpdateModelAnimation
* minor doc cleanup and improvements
* fix formatting
* fix float formatting
* fix brace alignment and replace asserts with log messages
Diffstat (limited to 'examples/models/resources')
| -rw-r--r-- | examples/models/resources/models/gltf/robot.blend | bin | 1899312 -> 2107372 bytes |
| -rw-r--r-- | examples/models/resources/models/gltf/robot.glb | bin | 1477024 -> 1602604 bytes |
2 files changed, 0 insertions, 0 deletions
diff --git a/examples/models/resources/models/gltf/robot.blend b/examples/models/resources/models/gltf/robot.blend Binary files differindex d3bdac23..efe43c5e 100644 --- a/examples/models/resources/models/gltf/robot.blend +++ b/examples/models/resources/models/gltf/robot.blend diff --git a/examples/models/resources/models/gltf/robot.glb b/examples/models/resources/models/gltf/robot.glb Binary files differindex 73f5bf44..549011e7 100644 --- a/examples/models/resources/models/gltf/robot.glb +++ b/examples/models/resources/models/gltf/robot.glb |
