raysan5
7f0880a735
Review spacing formatting
raylib uses spaces between '+' and '-' signs but not between '*' and '/'
signs, it's a chosen convention
9 yıl önce
raysan5
a9ab516dae
Formatting tweaks
9 yıl önce
Teodor Stoenescu
d0cf19e035
Greater LoadOBJ() flexibility
LoadOBJ can now load objects with having no texture coordinates or
objects having texture coordinates specified as tuples.
9 yıl önce
raysan5
959a228815
Removed useless spacing
9 yıl önce
raysan5
852813bdf1
Reviewed formatting
9 yıl önce
Teodor Stoenescu
6e20037f7d
Small fix for GenMeshCubicmap()
This fix allows GenMeshCubicmap() to create cubic maps having cells of
arbitrary sizes.
9 yıl önce
Ray
eb9072a2f1
Renamed functions for consistency
9 yıl önce
Ray
2f9abe6e13
Review ResolveCollisionCubicmap()
This function needs to be redesigned or removed...
9 yıl önce
raysan5
5f7ac64c44
Removed function SetModelTexture()
It's more educational to go through new material system, so, I decide to
remove this function to avoid students confusion...
9 yıl önce
raysan5
68a02e567d
Avoid external variable whiteTexture
To get it, use GetDefaultTexture()
9 yıl önce
raysan5
3e8427799c
Corrected bug on cubemap generation
9 yıl önce
Ray
17878550b1
Review heades usage
This is a first step toward a bigger project. Some modules could be
ported to header-only to be used as standalone.
9 yıl önce
raysan5
302ec438dd
Removed colTint, tint color is colDiffuse
Tint color could be applied to colDiffuse... but what's the best way?
Replace it? Multiply by? A point to think about...
9 yıl önce
Ray
caa7bc366b
Reviewed DrawLight() function and some tweaks
9 yıl önce
victorfisac
b0a0c5d431
Added tint color attribute to material data type
It tints all fragments, ignores lighting. Useful for some features like
feedback (damage color, ...).
9 yıl önce
victorfisac
f2d61d4043
Remove normal depth
Scaling normal depth (y axis) makes disappear the specular of
fragments... So I think it can be removed, it is not a very
useful/important attribute.
9 yıl önce
victorfisac
2e26ce235d
Add Draw3DCircle function and update raylib and rlgl header
Draw3DCircle is useful to draw point lights radius.
9 yıl önce
victorfisac
dcd6942ed1
Fix small bug and spacing
9 yıl önce
victorfisac
30941c0dd1
Add Draw3DLine function and fixed MLT glossiness import value
In standard shader, material glossiness is a value from 0 to 1000 like
in MLT files. So, it doesn't need to be normalized.
9 yıl önce
victorfisac
30c8058fca
Add standard lighting (1/3)
- Ambient and lambert lighting added.
- Ambient and diffuse colors linked to standard shader.
- Single light linked to standard shader.
- LoadStandardMaterial() and depending functions added.
9 yıl önce
victorfisac
3fa6fdacf2
Improved MTL loading shininess value
9 yıl önce
victorfisac
90c62c4cc0
Fix small warning
Material glossiness is a float type value...
9 yıl önce
raysan5
dcf5f45f68
Add lighting system -IN PROGRESS-
Improved materials
9 yıl önce
raysan5
7d1d9ff143
Support DYNAMIC_DRAW mesh loading
9 yıl önce
raysan5
037edbaa13
Reorganize data for consistency
9 yıl önce
raysan5
aee5d9a390
Code tweak
9 yıl önce
raysan5
1ddf594d15
Added support for indexed mesh data
9 yıl önce
Ray
ac44db26a2
Added reference
9 yıl önce
Ray
3d0208223a
First implementation of MTL loading
Not tested yet
9 yıl önce
Ray
dc4d5dabcd
Added MTL loading info
9 yıl önce
Ray
f7d4951165
Improved vertex attribs support for models
9 yıl önce
raysan5
0bcb873cbb
Improved mesh support
Depending on mesh data, it can be loaded and default vertex attribute
location points are set, including colors, tangents and texcoords2
9 yıl önce
raysan5
7ab008878a
Library redesign to accomodate materials system
9 yıl önce
raysan5
a66c8531d6
Some code simplifications
9 yıl önce
raysan5
136408d8b8
Corrected bug on bounding box
if mesh is not loaded properly it breaks the game!
9 yıl önce
raysan5
956a6e6f77
Corrected bug and comments on model unloading
9 yıl önce
raysan5
c9d22c7a14
Redesign to use Material type -IN PROGRESS-
Requires Shader access functions review
9 yıl önce
raysan5
0d911127d7
Split mesh generation from model loading
9 yıl önce
raysan5
d8bd8634ab
3d Camera: Added support for field-of-view Y
9 yıl önce
raysan5
4011c13d4b
Updated BoundingBox collision detections
9 yıl önce
raysan5
6106ab8a2e
Added color to DrawBoundigBox()
9 yıl önce
raysan5
1674465bdc
Adjust buffers usage
- Removed DrawQuad() function
- DrawBillboard() uses DrawBillboardRec()
- DrawPlane() uses RL_TRIANGLES
- DrawRectangleV() uses RL_TRIANGLES, that way, [shapes] module uses
only TRIANGLES buffers.
9 yıl önce
raysan5
8ca6f8c6ec
Do not free model mesh
9 yıl önce
raysan5
823abf666e
Reviewed code TODOs
10 yıl önce
raysan5
685273675b
Improved LoadHeightmap()
10 yıl önce
Ray
df5c64d0be
Functions parameters reorganize: Axis and Angle
sin(), cos() functions cached and replaced by float c99 versions sinf(),
cos()
10 yıl önce
raysan5
3113a20390
Added bounding box calculation
10 yıl önce
raysan5
08da91047e
Some code tweaks
10 yıl önce
victorfisac
fcd30c5649
Added ray-sphere collision detection
10 yıl önce
victorfisac
25f5995be0
Revert "Added ray-sphere collision detection"
This reverts commit 423a45ac85 .
10 yıl önce