| Age | Commit message (Collapse) | Author |
|
- fixed issue where vertex positions being passed in place of vertex normals.
|
|
|
|
|
|
|
|
|
|
* 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
|
|
|
|
|
|
RENAMED: MeshBinormals() -> GenMeshBinormals()
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* 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 <[email protected]>
|
|
- RENAMED: RayHitInfo to RayCollision
- RENAMED/REDESIGNED: Multiple Ray collision functions to be more consistent and return RayCollision data -WIP-
|
|
|
|
|
|
Added a simple cube with vertex colors for testing both.
|
|
|
|
|
|
Renamed for consistency with other function in raylib.
|
|
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.
|
|
|
|
|
|
boneWeights uint32 were loaded in normals instead of boneWeights.
|
|
REMOVED: DrawBillboardEx()
|
|
* Redesigned billboards - added rotation/pro functions
* updated parameters
Co-authored-by: nobytesgiven <[email protected]>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Increased batch limit check to compensate internal buffers alignment for lines drawing
|
|
* Log a warning if chdir failed, use agnostic CHDIR instead of chdir
* Only include libdrm directory explicitly when not cross compiling
|
|
|
|
|
|
|
|
|
|
Simplified some parts and reviewed for a correct computation of matrices, considering stereo render view/projection per eye transformations
|
|
shaders_rlgl_mesh_instanced -> shaders_mesh_instancing
|
|
|
|
|
|
As a bonus, stereo render is compatible with mesh instancing now!
|
|
Co-authored-by: Carlos Hernandez Barbera <[email protected]>
|
|
|
|
|
|
rlgl module has been completely redesigned to move Mesh/Material structures to [models] module. Still some work to do, broken elements:
- [models] OpenGL 1.1 mesh rendering: DrawMesh()
- [models] Mesh Instancing: DrawMeshInstanced()
- [models] Stereo rendering: DrawMesh()
- [models] GL_FLOAT, GL_UNSIGNED_INT exposed
- [models] GenMeshCustom()
- [rlgl] GenTexture*() functions removal?
|