Commit Graph

241 Commits

Author SHA1 Message Date
Ray ff9b486ebe Removed matrix resetting...
to emulate OpenGL funcionality
2017-09-22 13:53:29 +02:00
Ray 1d91a46008 Corrected out-of-bounds array issue 2017-09-13 22:23:24 +02:00
raysan5 0fc1323c80 Renamed modelviewprojection matrix 2017-08-25 01:43:55 +02:00
raysan5 6369b47f11 Force OpenGL 3.3 on OSX if selected OpenGL 2.1 2017-08-04 19:18:55 +02:00
raysan5 eeca607506 Review transforms to match OpenGL 1.1 2017-08-04 18:34:51 +02:00
Ray 2a263f7b5f Corrected compilation on OpenGL ES 2.0 2017-07-28 19:59:04 +02:00
raysan5 a766e2c480 Updated Vector math to new naming 2017-07-22 22:15:50 +02:00
raysan5 cbb134946c Corrected GetMouseRay() and rlUnproject()
Now it works great with reviewed maths
2017-07-22 11:02:40 +02:00
raysan5 00d2768bc9 Corrected bug on MatrixPerspective()
Some other tweaks...
2017-07-22 10:35:49 +02:00
raysan5 e52032f646 Complete review of raymath
Now it should be coherent with OpenGL math standards
2017-07-21 17:19:28 +02:00
raysan5 38d9fcb08e Moved some functions to raymath
Exposed some raymath useful functions to raylib API
2017-07-21 15:25:35 +02:00
raysan5 980d9d4cd4 rlgl usable as standalone library 2017-07-21 10:42:57 +02:00
raysan5 2679c4ae9b Review mesh loading and textures generation 2017-07-21 09:34:09 +02:00
raysan5 63fd96354e Simplify a bit GenTexture*() functions
Still shader dependant, locations set should be moved out
2017-07-20 14:27:59 +02:00
raysan5 52cd5c6324 Corrected some issues
Corrected compilation for OpenGL 1.1
Review mesh data uploading to GPU
2017-07-20 12:26:25 +02:00
raysan5 0dabb2708b Reorganized a couple of functions 2017-07-19 19:53:53 +02:00
raysan5 76c6f0b1e6 Working on PBR system
Moved PBR material loading to example, right decision?
2017-07-19 18:55:32 +02:00
raysan5 d368403a13 Working on PBR materials, renamed some data 2017-07-19 10:09:34 +02:00
raysan5 e893f3629e Corrected some issues 2017-07-17 12:02:46 +02:00
Ray 6546474fa4 Manual integration of material-pbr into develop 2017-07-17 00:33:40 +02:00
raysan5 9f09f6f550 Rename enum LogType names...
...to avoid possible conflicting symbols
2017-07-02 12:35:13 +02:00
Ray 93e2fd8ea1 Some tweaks 2017-05-10 19:37:48 +02:00
Ray 50c887cb0a Support HDR R32G32B32 float textures loading 2017-05-08 12:31:47 +02:00
Ray 822c2ddad5 Some defines tweaks for consistency 2017-05-08 02:47:44 +02:00
Ray d593bd0081 Some code tweaks 2017-04-30 13:03:31 +02:00
raysan5 247da006ae Rename parameter 2017-04-22 22:35:04 +02:00
Ray 35172430c6 Added SUPPORT_VR_SIMULATOR flag 2017-04-18 11:49:02 +02:00
Ray fdf8501e81 Improve vr support and simulator 2017-04-05 00:02:40 +02:00
Ray 5387b45431 Working on configuration flags 2017-03-25 12:01:01 +01:00
Ray 974a6d4031 Corrected bug 2017-03-21 13:21:07 +01:00
Ray 59652c75b4 Review some comments 2017-03-20 20:34:44 +01:00
raysan5 5d1f661661 Remove Oculus support from code
Moved to custom example, now raylib only supports simulated VR
rendering.
Oculus code was too device dependant... waiting for OpenXR.
2017-03-14 01:05:22 +01:00
Ray 05cff44d0a Improved modules description -IN PROGRESS-
Working in modules configuration flags...
2017-02-16 00:50:02 +01:00
Ray a08117155d Init memory for screenshot to zero 2017-02-01 00:28:28 +01:00
Ray c85dfd4bc6 Remove unecessary spaces... 2017-01-28 23:02:30 +01:00
Ray 37a64df7b9 Move lighting system out of raylib
Lighting is implemented as a raylib example now
2017-01-27 23:03:08 +01:00
raysan5 4a158d972d Added LoadText() function
Actually, renamed ReadTextFile() from rlgl and make it public
2017-01-15 01:09:15 +01:00
Joel Davis 674ee2cf75 Fix vbo indexes for rlglUpdateMesh 2016-12-31 14:05:30 -08:00
raysan5 e7464d5fc3 Review some formatting and naming
- Renamed WritePNG() to SavePNG() for consistency with other file
loading functions
- Renamed WriteBitmap() to SaveBMP() for consistency with other file
loading functions
- Redesigned SaveBMP() to use stb_image_write
2016-12-27 17:37:35 +01:00
raysan5 852f3d4fd0 Review comments and formatting 2016-12-25 02:01:13 +01:00
Ray d5c0f9d386 Replaced log2() function by equivalent
log2() is not available in some standard C library implementations
2016-12-09 10:15:44 +01:00
Ray 377dcb025f Corrected some warnings 2016-12-05 01:14:18 +01:00
raysan5 46ce30a2eb Corrected bugs for OpenGL 1.1 backend 2016-11-24 19:02:34 +01:00
Ray f1bcfc1352 Corrected bug on GenTextureMipmaps()
texture.mipmaps value needs to be updated, so, texture must be passed by
reference instead of by value
2016-11-22 12:14:55 +01:00
raysan5 bee283b12b Some tweaks around 2016-11-17 12:55:30 +01:00
raysan5 6d1b712a96 Reviewed modules comments 2016-11-16 18:46:13 +01:00
Ray f16f39e8aa code tweaks to avoid some warnings 2016-11-02 00:50:08 +01:00
raysan5 673dcf9436 Comments tweaks 2016-10-31 20:39:03 +01:00
raysan5 988d39029f Support textures filtering 2016-10-29 22:17:19 +02:00
raysan5 4ff98f34bb Function to set texture parameters -IN PROGRESS- 2016-10-27 13:40:48 +02:00