Improve gltf support (#1647)
* Implement a load values from accessor function. Added some more value types for the different GLTF attributes. Fixed crash when loading animated triangle. * Split GLTF model loading into separate functions for readability. * Fixed the already working models that I broke when introducing GLTFReadValue. Improved the example for gltf models to be able to switch between a few models. * Removed license from screen. It is pu inside a license file anyway. * Small improvements on the naming of functions Removed (*model). and replaced it with model->
This commit is contained in:
parent
01e28263be
commit
f9b79403d1
4 changed files with 478 additions and 317 deletions
BIN
examples/models/resources/gltf/Textures/raylib_32x32.png
Normal file
BIN
examples/models/resources/gltf/Textures/raylib_32x32.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 189 B |
BIN
examples/models/resources/gltf/raylib_32x32.glb
Normal file
BIN
examples/models/resources/gltf/raylib_32x32.glb
Normal file
Binary file not shown.
Loading…
Add table
Add a link
Reference in a new issue