summaryrefslogtreecommitdiffhomepage
path: root/src/models.c
AgeCommit message (Collapse)Author
2016-07-04Review ResolveCollisionCubicmap()Ray
This function needs to be redesigned or removed...
2016-06-24Removed function SetModelTexture()raysan5
It's more educational to go through new material system, so, I decide to remove this function to avoid students confusion...
2016-06-11Avoid external variable whiteTextureraysan5
To get it, use GetDefaultTexture()
2016-06-11Corrected bug on cubemap generationraysan5
2016-06-02Review heades usageRay
This is a first step toward a bigger project. Some modules could be ported to header-only to be used as standalone.
2016-05-31Removed colTint, tint color is colDiffuseraysan5
Tint color could be applied to colDiffuse... but what's the best way? Replace it? Multiply by? A point to think about...
2016-05-31Reviewed DrawLight() function and some tweaksRay
2016-05-30Added tint color attribute to material data typevictorfisac
It tints all fragments, ignores lighting. Useful for some features like feedback (damage color, ...).
2016-05-30Remove normal depthvictorfisac
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.
2016-05-30Add Draw3DCircle function and update raylib and rlgl headervictorfisac
Draw3DCircle is useful to draw point lights radius.
2016-05-21Fix small bug and spacingvictorfisac
2016-05-21Add Draw3DLine function and fixed MLT glossiness import valuevictorfisac
In standard shader, material glossiness is a value from 0 to 1000 like in MLT files. So, it doesn't need to be normalized.
2016-05-20Add standard lighting (1/3)victorfisac
- Ambient and lambert lighting added. - Ambient and diffuse colors linked to standard shader. - Single light linked to standard shader. - LoadStandardMaterial() and depending functions added.
2016-05-20Improved MTL loading shininess valuevictorfisac
2016-05-20Fix small warningvictorfisac
Material glossiness is a float type value...
2016-05-20Add lighting system -IN PROGRESS-raysan5
Improved materials
2016-05-20Support DYNAMIC_DRAW mesh loadingraysan5
2016-05-18Reorganize data for consistencyraysan5
2016-05-10Code tweakraysan5
2016-05-10Added support for indexed mesh dataraysan5
2016-05-09Added referenceRay
2016-05-09First implementation of MTL loadingRay
Not tested yet
2016-05-09Added MTL loading infoRay
2016-05-08Improved vertex attribs support for modelsRay
2016-05-08Improved mesh supportraysan5
Depending on mesh data, it can be loaded and default vertex attribute location points are set, including colors, tangents and texcoords2
2016-05-07Library redesign to accomodate materials systemraysan5
2016-04-03Some code simplificationsraysan5
2016-03-27Corrected bug on bounding boxraysan5
if mesh is not loaded properly it breaks the game!
2016-03-27Corrected bug and comments on model unloadingraysan5
2016-03-06Redesign to use Material type -IN PROGRESS-raysan5
Requires Shader access functions review
2016-03-05Split mesh generation from model loadingraysan5
2016-03-053d Camera: Added support for field-of-view Yraysan5
2016-03-01Updated BoundingBox collision detectionsraysan5
2016-03-01Added color to DrawBoundigBox()raysan5
2016-03-01Adjust buffers usageraysan5
- Removed DrawQuad() function - DrawBillboard() uses DrawBillboardRec() - DrawPlane() uses RL_TRIANGLES - DrawRectangleV() uses RL_TRIANGLES, that way, [shapes] module uses only TRIANGLES buffers.
2016-03-01Do not free model meshraysan5
2016-02-12Reviewed code TODOsraysan5
2016-02-11Improved LoadHeightmap()raysan5
2016-02-02Functions parameters reorganize: Axis and AngleRay
sin(), cos() functions cached and replaced by float c99 versions sinf(), cos()
2016-01-25Added bounding box calculationraysan5
2016-01-23Some code tweaksraysan5
2016-01-20Added ray-sphere collision detectionvictorfisac
2016-01-20Adapted raymath as single header libraryraysan5
Added support for single header implementation and also inline functions support
2016-01-19Added some functions (incomplete)raysan5
2016-01-18Rename VertexData struct to Meshraysan5
Reviewed vertex type variables
2016-01-13Corrected some float valuesraysan5
2016-01-07Added collision check between ray and boxvictorfisac
- Added CheckCollisionRayBox() function. - Updated and improved core 3d picking example (currently working as expected).
2015-12-30Some tweaks and details reviewraysan5
2015-12-21Added new matrix location points and extra functionsvictorfisac
- New model and view transformation matrix added, useful for shaders. Modelview matrix not deleted to keep opengl 1.1 pipeline compatibility. - New extra function added DrawModelWiresEx() to set a rotation and scale transformations to a wire model drawing. - Other writing and little audio.c bug fixed.
2015-11-05Variables initializationRay