Commit Graph

127 Commits

Author SHA1 Message Date
raysan5
b19e155b34 Support UNCOMPRESSED_R32G32B32A32 texture format 2017-12-28 17:58:37 +01:00
Ray San
27c274bc3c Corrected issue with SaveImageAs()
That function depends on SavePNG() and forces platform check on textures
module, that behaviour should be changed, platform definition should be
only required on core module...
2017-12-20 12:36:47 +01:00
Ray San
53ad53d051 Manually review previous PR 2017-12-15 13:44:31 +01:00
user
08fc886afd added proper define checks for png-save if it's disabled 2017-12-14 11:40:08 +01:00
Ray
a6f9cc5629 Remove rres support
Let the user choose if using rres external library
2017-12-11 11:55:02 +01:00
Ray San
37986b26cb Corrected issue with text drawing on image 2017-11-06 14:13:50 +01:00
Ray San
3d755d617a Some code tweaks... 2017-11-02 20:08:52 +01:00
Ray San
415e7e972c Review some issues, view description
- Review RPI compilation (core_drop_files not supported)
- Review ImageFormat(), some issues
- GetTextureData() reviewed for RPI
2017-10-30 13:51:46 +01:00
Ray
539a9ca50e Corrected ImageTextEx()
- Added new function: GenImageColor()

ImageDraw() should be reviewed... specially alpha blending...
2017-10-25 01:24:17 +02:00
Ray
2068037417 Code tweak 2017-09-26 00:51:31 +02:00
raysan5
20968830c0 Added mesh generation functions 2017-09-18 00:59:22 +02:00
raysan5
b0adac96b7 Review issue with mipmaps setup
On DDS files mipmapCount header parameter could be unused and set to 0,
resulting in a wrong mipmap count and wrong compressed texture loading.
2017-08-24 20:33:30 +02:00
raysan5
0169b72bdc Minor tweaks 2017-08-06 10:43:43 +02:00
raysan5
eeca607506 Review transforms to match OpenGL 1.1 2017-08-04 18:34:51 +02:00
raysan5
2227742e96 Corrected bug on texture rotation 2017-07-22 18:10:34 +02:00
Ray
6546474fa4 Manual integration of material-pbr into develop 2017-07-17 00:33:40 +02:00
raysan5
6589c808b5 Review some formatting for consistency 2017-07-02 19:29:01 +02:00
raysan5
9f09f6f550 Rename enum LogType names...
...to avoid possible conflicting symbols
2017-07-02 12:35:13 +02:00
Wilhem Barbier
056a494baf Fix some other typos 2017-06-29 10:36:58 +02:00
Wilhem Barbier
786cd63057 Add a density parameter to GenImageRadialGradient 2017-06-28 17:27:47 +02:00
Ray
c3049a9b06 Merge pull request #311 from nounoursheureux/image_gen
Add more image generation functions: radial gradient and perlin noise
2017-06-28 16:20:25 +02:00
Wilhem Barbier
3fe268d004 Swap the two parameters 2017-06-28 15:38:34 +02:00
Wilhem Barbier
a0ac8ee2c4 Add more image generation functions: radial gradient and perlin noise 2017-06-28 15:29:56 +02:00
Wilhem Barbier
954757532a Add the SaveImageAs function 2017-06-28 14:32:44 +02:00
Wilhem Barbier
fcd13fd5d2 Add some functions to generate images
Namely:
- GenImageHorizontalV
- GenImageHorizontalH
- GenImageChecked
- GenImageWhiteNoise
- GenImageCellular

The gradient implementation may be a bit naive, for example it doesn't do any gamma correction.
2017-06-28 12:56:04 +02:00
Ray
8c1f32f2fe Additional check on file open 2017-06-12 14:21:50 +02:00
Ray
93e2fd8ea1 Some tweaks 2017-05-10 19:37:48 +02:00
Ray
7f6b16add4 HDR textures vertical flip 2017-05-09 22:32:21 +02:00
Ray
35c6aff21f Corrected bug on HDR loading 2017-05-08 12:50:24 +02:00
Ray
50c887cb0a Support HDR R32G32B32 float textures loading 2017-05-08 12:31:47 +02:00
Ray
2d5c8e61b1 Some code tweaks 2017-05-03 14:16:53 +02:00
Ray
d593bd0081 Some code tweaks 2017-04-30 13:03:31 +02:00
raysan5
0b869948c6 TraceLog() output tweak 2017-04-23 19:27:48 +02:00
Ray
ecfe31bf1d Make TraceLog() public to the API
enum LogType could require some revision...
2017-04-21 00:08:00 +02:00
Ray
1df7a8b4a6 Update some files 2017-04-20 18:09:30 +02:00
raysan5
c67cffea38 Updated STB libs to latest version 2017-04-16 14:06:04 +02:00
Ray
99affa0caf Corrected issue when retrieving texture from GPU 2017-04-04 23:44:36 +02:00
Ray
080a79f0b0 Added IsFileExtension()
Replaced old GetExtension() function
Make IsFileExtension() public to the API
2017-03-29 00:35:42 +02:00
Ray
5387b45431 Working on configuration flags 2017-03-25 12:01:01 +01:00
Ray
59652c75b4 Review some comments 2017-03-20 20:34:44 +01:00
Ray
05cff44d0a Improved modules description -IN PROGRESS-
Working in modules configuration flags...
2017-02-16 00:50:02 +01:00
raysan5
afcd748fdf Reviewed fread() usage around the code 2017-02-11 23:17:56 +01:00
raysan5
1a879ba08e Refactor SpriteFont struct
Now it uses CharInfo data, this way, it's better aligned with the future
RRES file format data layout for sprite font characters.
2017-02-05 02:59:39 +01:00
Ray
c85dfd4bc6 Remove unecessary spaces... 2017-01-28 23:02:30 +01:00
raysan5
61f6b0f707 Removed GetNextPOT(), review TraceLog() 2017-01-15 01:10:23 +01:00
raysan5
bf3a213e44 Some functions review and additions
- Improved ImageCopy() to support compressed formats
- Renaming file-formats header structs for consistency
- Review variables naming on ImageDither() for consistency
- Improved LoadImagePro() to make a copy of data
- Preliminary support of rRES file format on LoadImage()
2016-12-27 17:40:59 +01:00
raysan5
14cdd7fbff Added raw image file reading data check 2016-12-25 20:41:36 +01:00
raysan5
6d6c542a1d Review some functions for consistency
Removed: LoadTextureEx()
Added: LoadImagePro()
2016-12-25 02:00:36 +01:00
Ray
814507906f Improving rRES custom format support -IN PROGRESS-
Start removing old rRES functions.
2016-12-17 19:05:40 +01:00
Ray
377dcb025f Corrected some warnings 2016-12-05 01:14:18 +01:00