c649bec26c
Have LoadMaterials call the same code that OBJ loader does so that we can read MTL files ( #2872 )
2023-01-20 16:13:19 +01:00
edaca16d7c
Fix warnings in raylib project from MSVC ( #2871 )
2023-01-20 16:05:19 +01:00
116603e61c
don't try to free a void* buffer as if it's a cgltf_data structure ( #2867 )
2023-01-19 21:21:05 +01:00
d3c1a04983
REVIEWED: GLTF animations support #2844
2023-01-02 20:46:33 +01:00
f2e3d6eca7
[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
2023-01-02 20:23:48 +01:00
b59fab7ee6
Update year to 2023
2023-01-01 16:00:56 +01:00
fadc29d811
WARNING: REMOVED: DrawCubeTexture(), DrawCubeTextureRec()
...
Those two functions have been moved to a new example: `models_draw_cube_texture`. The reasons for this decision:
- Function inflexibility: Many users with the need to draw a textured cube could need to customize the texture applied to every face, that function did not allow that kind of functionality.
- rlgl functionality exposure: The implementation exposed will teach users how to implement custom textured triangles drawing.
2022-11-15 12:16:28 +01:00
31edd13a72
Minor formating tweaks
2022-11-10 12:03:17 +01:00
7e7939e1ad
Add DrawCapsule(Wires) ( #2761 )
...
* Add DrawCapsule & DrawCapsuleWires
* Add DrawCapsule & DrawCapsuleWires to example
Co-authored-by: Ian Band <ian.r.band@gmail.com >
2022-10-17 11:36:53 +02:00
7ab056b6ef
REVIEWED: GeneshHeightmap(), fix #2716
2022-09-25 15:41:49 +02:00
9996e328cb
WARNING: BREAKING: Removed rlCheckRenderBatchLimit() requirement
...
Updated version to `rlgl 4.2`
2022-09-05 13:20:09 +02:00
0917290e95
REVIEWED: M3D model loading #2688
2022-09-04 18:49:54 +02:00
fb1037a241
ADDED: Complete support for M3D animations! #2648
2022-09-01 20:46:06 +02:00
23cc39a265
Implemented latest .M3D improvements #2648
2022-09-01 10:27:16 +02:00
0c7ba773ec
Fixed issue with LoadIQM() #2676
2022-09-01 10:14:45 +02:00
f66b1a3136
REVIEWED: Support M3D file loading #2648
2022-08-26 10:04:38 +02:00
e92bc8ca4e
REVIEWED: M3D implementation #2648
2022-08-22 11:11:05 +02:00
4ee5fdf619
ADDED: Support M3D model file format (meshes and materials) #2648
2022-08-20 14:01:54 +02:00
bf2ad9df5f
P A I N
2022-08-13 22:42:38 +02:00
092b6f956e
WARNING: REVIEWED: rlCheckRenderBatchLimit()
2022-08-13 22:30:11 +02:00
48c7f65b77
minor tweaks
2022-08-13 22:28:47 +02:00
e0f0a5f663
REMOVED: GenMeshBinormals(), actually, never implemented
2022-07-05 12:55:51 +02:00
cd53531050
Added some comments
2022-07-05 00:50:23 +02:00
c6c71fe73c
REVIEWED: DrawMesh() #2511
...
Disable color vertex attribute if not provided by mesh
2022-07-04 17:47:47 +02:00
9be186624c
REVIEWED: DrawBillboard*()
2022-06-29 21:56:19 +02:00
63568721f9
fix: precision loss, discard unused ( #2541 )
2022-06-24 10:59:31 +02:00
5044ce9de3
Reviewed batch buffer overflow #2526
2022-06-21 20:28:50 +02:00
bf208decc0
REVIEWED: Compilation warnings
2022-06-07 10:04:24 +02:00
a28dfbae9f
REVIEWED: Batch limits check #2489
2022-05-31 23:25:21 +02:00
d0318aac4a
REVIEWED: DrawBillboardPro() #2494
2022-05-30 20:30:16 +02:00
3580267479
Fix Issue #2441 ( #2442 )
...
Remove line that caused a memory leak
2022-04-26 12:25:39 +02:00
90fc7c0376
WARNING: BREAKING: REMOVED: GetRayCollisionModel() #2405
2022-03-30 20:11:22 +02:00
0da7830745
REVIEWED: Avoid some float -> double promotions
2022-03-20 12:15:51 +01:00
937e7b3dd9
REVIEWED: Some functions input parametes that should be const
2022-02-20 20:35:28 +01:00
68bad6986d
make const ( #2348 )
...
* make const
* make const
2022-02-20 20:12:55 +01:00
d4382f4a52
Removed trailing spaces
2022-02-18 20:30:46 +01:00
963de06d08
follow style guide ( #2346 )
...
* follow style guide
* Update rmodels.c
2022-02-17 00:54:21 +01:00
45ef46c5e8
fix: material color won't be loaded if there's no texture for that material ( #2298 )
2022-01-21 12:52:07 +01:00
a940f41b4b
Update year to 2022
2021-12-31 20:06:22 +01:00
dcc0791502
check not null before accessing by index ( #2243 )
2021-12-24 19:54:25 +01:00
5499388a4c
REVIEWED: GenMeshCylinder() #2225
2021-12-19 13:40:55 +01:00
ef5be632fe
REVIEWED: ExportMesh() #2220
2021-12-17 20:55:38 +01:00
48918ca5c6
REVIEWED: DrawMesh*() issue #2211
2021-12-16 00:19:41 +01:00
e637ad9d2a
Support custom modules inclusion
...
Allow to choose which modules are compiled with raylib, if some modules are excluded from compilation, required functionality is not available but smaller builds are possible.
2021-12-04 19:56:02 +01:00
ba8c73a327
Added some reference code to load bones id and weight data for animations
2021-12-02 20:48:12 +01:00
5a6aa52a7c
REVIEWED: ExportMesh() #2138
2021-11-15 10:14:00 +01:00
72758de6ea
Reviewed warnings
2021-10-26 22:26:28 +02:00
086f76ba7a
Fix warnings in raylib build ( #2084 )
2021-10-25 10:18:42 +02:00
62965aa6d7
Comments tweaks
2021-10-23 14:17:26 +02:00
04a4efb591
Added some comments on LoadGLTF()
2021-10-23 14:00:05 +02:00