raysan5
0c3902b543
ADDED: GetModelBoundingBox()
Reorganized models functionality, it still needs some review...
há 4 anos
raysan5
7c7ee1cdc8
REVERTED: Mesh indices issue #1891
há 4 anos
raysan5
e9c7ab925f
REVIEWED: rlDrawVertexArrayElements() #1891
há 4 anos
Ray
0fa295c72d
Review formating to follow raylib style conventions
há 4 anos
630Studios
53bb87c8fb
[Models] Better Fix for GenMeshTangents issue #1876 ( #1878 )
* GenMeshTangents Fix
* GenMeshTangents Fix - Comment Update
* GenMeshTangents Fix - Comment Update final
* Code Style Changes
* Code Style Changes Final
* Code Style Changes Final 2
* GenMeshTangents better handling for issue #1876
* GenMeshTangents better handling for issue #1876
* GenMeshTangents: Better fix for issue #1876
* vboId location fix
há 4 anos
630Studios
9aaf7a8057
GenMeshTangents Fix ( #1877 )
* GenMeshTangents Fix
* GenMeshTangents Fix - Comment Update
* GenMeshTangents Fix - Comment Update final
* Code Style Changes
* Code Style Changes Final
há 4 anos
raysan5
c4804c4c0c
REVIEWED: Wrong normal matrix calculation #1870
há 4 anos
GoldenThumbs
59acb6dbea
Updated models.c ( #1871 )
- fixed issue where vertex positions being passed in place of vertex normals.
há 4 anos
Ray
3a74534c39
Added a note
há 4 anos
raysan5
9e7ca41f58
Remove trailing spaces
há 4 anos
raysan5
5f03201616
Minor tweaks
há 4 anos
Ray
89708edf7f
REVIEWED: Latest PR to follow raylib code conventions
há 4 anos
Hristo Stamenov
71700254b4
Major revamp gltf ( #1849 )
* Added my own model and license to Raylib exclusively created by me and provided for use in the examples (and other projects if anyone decides to)
* Use animation vertices on initial load if possible.
* Added girl model to model example
* Revamped GLTF model loading as it was wrong by default. Also updated some comments.
GLTF models were loaded only by mesh but they should be loaded recursively by hierarchical nodes because tehre are some static node transformations that are to be applied to the vertices. It also resulted in more meshes being included in some models.
It is the correct way of loading GLTF and what is suggested in the official examples.
Currenlty limiting to only one scene but more can be included later.
* Refactored the new names and structure of extracted functions.
* Safer and easier read value.
* Made reading easier for accessor->bufferView->buffer in GLTF.
Now there is no need to check for supported types or anything.
* Correct inclusion of limits.h in the cases of MSVC based compilers vs the world
* Removed weird example file
há 4 anos
Sirvoid
1a420b77e3
Fixed: Binding vertex position twice ( #1835 )
há 4 anos
Ray
68e408474d
Renamed SUPPORT_MOUSE_CURSOR_NATIVE -> SUPPORT_MOUSE_CURSOR_POINT
há 4 anos
Ray
4decbb2586
RENAMED: MeshTangents() -> GenMeshTangents()
RENAMED: MeshBinormals() -> GenMeshBinormals()
há 4 anos
Ray
4b93feb172
Remove trail spaces
há 4 anos
Ray
b188008a1c
Review code formatting
há 4 anos
Ray
7bc2e922c9
Review some comments
há 4 anos
Ray
76a907bb79
Remove tabs
há 4 anos
raysan5
e95d8bc655
Minor format tweaks
há 4 anos
Ray
121c689b78
Review code formatting
há 4 anos
Crydsch
edeaff4bd4
Better collisions ( #1803 )
* review collisions ray-box and ray-sphere
* Applied raysan's refactor
Improved GetRayCollisionBox
* Replace GetRayCollisionGround with GetCollisionQuad
* Update example core_3d_picking
* Update example models_loading
* Fixed issues after merge
* remove debug stuff
Co-authored-by: Cry dsch <chris.obo@gmx.net>
há 4 anos
Ray
1c5de9721a
WARNING: BREAKING: RENAMED: RayHitInfo to RayCollision #1781
- RENAMED: RayHitInfo to RayCollision
- RENAMED/REDESIGNED: Multiple Ray collision functions to be more consistent and return RayCollision data -WIP-
há 4 anos
Ray
0369ec9adf
Some code tweaks
há 4 anos
Ray
c828e481fb
Review code format
há 4 anos
Hristo Stamenov
470574517a
Implement vertex color attribute for GLTF and IQM ( #1790 )
Added a simple cube with vertex colors for testing both.
há 4 anos
Ray
03710c9d8e
Some code tweaks for consistency
há 4 anos
Ray
f33cec64aa
Use output->boneCount instead of nodes_count
há 4 anos
Ray
e401d5c48e
WARNING: RENAMED: MeshBoundingBox() -> GetMeshBoundingBox()
Renamed for consistency with other function in raylib.
há 4 anos
Guillaume DEVOILLE
b90ac7bd31
Fixed over-allocation of buffer ( #1772 )
output->framePoses[frame] is over-allocated.
framePoses is a 2D array:
- first dimension: frames (allocated l. 4717)
- second dimension: nodes (allocated l. 4731)
Second dimension should be allocated of nodes_count transformations only.
há 4 anos
Ray
3baba7ffe8
Review some VS warnings and messages
há 4 anos
Guillaume DEVOILLE
45b0dc63cd
Fixed GLTF boneWeights uint32 loading ( #1768 )
boneWeights uint32 were loaded in normals instead of boneWeights.
há 4 anos
Ray
6bd63de8d0
Reviewed latest PR
REMOVED: DrawBillboardEx()
há 4 anos
nobytesgiven
ac204a11f7
Redesigned billboards - added rotation/pro functions ( #1759 )
* Redesigned billboards - added rotation/pro functions
* updated parameters
Co-authored-by: nobytesgiven <nobytesigiven@github.com>
há 4 anos
Ray
a44815e939
REMOVED: GenMeshDefault()
há 4 anos
Ray
1e65817d05
Update models.c
há 4 anos
Ray
bb743e8c6e
ADDED: UpdateMeshBuffer()
há 4 anos
nathants
1c45a882f7
use bone weights for animation ( #1728 )
há 4 anos
Ray
581bd0eb02
Remove trailing spaces
há 4 anos
Ray
d289085ce3
Reviewed DrawLine3D() limits #1721
há 4 anos
Ray
06f16f199a
REVIEWED: DrawLine3D() #1721
Increased batch limit check to compensate internal buffers alignment for lines drawing
há 4 anos
Jon
c74230a9ea
Enable DRM platform cross compilation support ( #1717 )
* Log a warning if chdir failed, use agnostic CHDIR instead of chdir
* Only include libdrm directory explicitly when not cross compiling
há 4 anos
raysan5
7b37caa96c
REVIEWED: Model scale #1700
há 4 anos
raysan5
c21baf0d92
ADDED: GenMeshDefault() #1556
há 4 anos
raysan5
aed0fee2ca
Remove trailing spaces
há 4 anos
raysan5
cdc3754449
ADDED: Support model normal matrix location #1691
há 4 anos
raysan5
c772de702b
REVIEWED: DrawMeshInstanced() matrix computations
Simplified some parts and reviewed for a correct computation of matrices, considering stereo render view/projection per eye transformations
há 4 anos
raysan5
fd3e2fda00
RENAMED: example: shaders_mesh_instancing
shaders_rlgl_mesh_instanced -> shaders_mesh_instancing
há 4 anos
raysan5
8f1d81df0f
Review code formatting
há 4 anos