Commit graph

8,265 commits

Author SHA1 Message Date
Bigfoot71
6a3818b34f fix gradient calculation 2025-05-18 03:49:53 +02:00
Bigfoot71
0b08e75a2e fix and improve polygon clipping
Sets the vertex count to zero when the polygon is invalid
Stops clipping when the vertex count drops below 3
2025-05-18 03:49:11 +02:00
Bigfoot71
8624edf63d review current vertex data
+ increase max clipped polygon vertices (for extreme cases)
2025-05-18 03:08:01 +02:00
Bigfoot71
7b7ed98873 improve triangle rasterization along Y axis
improved robustness against numerical errors
incremental interpolation along Y
simplified function, fewer jumps
2025-05-18 02:07:36 +02:00
Bigfoot71
2299b6b8e6 increase max clipped polygon vertices 2025-05-18 00:24:52 +02:00
Bigfoot71
72e753a60a rm def 2025-05-17 21:21:23 +02:00
Bigfoot71
b9cfbebd40 impl sdl platform 2025-05-17 21:20:13 +02:00
Bigfoot71
88c24f8de7 fix sw_quad_sort_cw 2025-05-17 21:14:55 +02:00
Bigfoot71
903f56ca7b review triangle scanlines
increment all data
2025-05-17 21:10:37 +02:00
Bigfoot71
3913ffeac2 fix texture pool alloc.. 2025-05-17 18:17:29 +02:00
Bigfoot71
f7df285d69 review swMultMatrixf 2025-05-17 18:09:50 +02:00
Bigfoot71
5bab07b3e7 fallback color/texcoord (swDrawArrays) 2025-05-17 17:55:00 +02:00
Bigfoot71
3c25efc412 fix animNormals (DrawMesh) 2025-05-17 17:50:11 +02:00
Bigfoot71
6c73c62713 tweaks 2025-05-17 17:21:14 +02:00
Bigfoot71
87fae2cf31 review pixelformat 2025-05-17 17:06:42 +02:00
Bigfoot71
ea8ecb2d21 check swInit 2025-05-17 17:01:20 +02:00
Bigfoot71
c35a74a13b set minimum req vertices to 3 (quads) 2025-05-17 16:38:23 +02:00
Bigfoot71
7ec3a5fe6e review texture format + fix copy 2025-05-17 16:32:14 +02:00
Bigfoot71
5b46c6e66f update swClose 2025-05-17 16:18:13 +02:00
Bigfoot71
9d49dbcb8d fix DrawMesh for GL 1.1 2025-05-17 16:07:25 +02:00
Bigfoot71
074b68a809 build fixes 2025-05-17 16:07:04 +02:00
Bigfoot71
169f7f4ed9 temp tweak 2025-05-17 15:16:32 +02:00
Bigfoot71
a03619fec0 add RL_OPENGL_11_SOFTWARE enum 2025-05-17 14:53:16 +02:00
Bigfoot71
d17116fb08 adding GRAPHICS_API_OPENGL_11_SOFTWARE in DrawMesh 2025-05-17 14:42:03 +02:00
Bigfoot71
1820586d1f update rlgl.h 2025-05-17 14:39:08 +02:00
Le Juez Victor
281bff77b3
Merge branch 'raysan5:master' into rlsw 2025-05-17 14:35:43 +02:00
Bigfoot71
09b1c8ba8c use of restrict for blending function parameters 2025-05-16 21:42:34 +02:00
Bigfoot71
0a3e1f361e oops, translating some comments 2025-05-16 21:26:16 +02:00
Bigfoot71
e565077833 new rendering path for axis aligned quads 2025-05-16 21:04:15 +02:00
Bigfoot71
515e894076 tweak the pipeline flow regarding the face culling
avoids misprediction, improves vectorization if possible
2025-05-15 02:54:32 +02:00
Bigfoot71
fd37d4f528 added SW_RESTRICT and redesigned sw_lerp_vertex_PNCTH 2025-05-15 02:36:04 +02:00
Bigfoot71
110445cfe2 fix 'sw_poly_point_render' 2025-05-15 02:28:12 +02:00
Bigfoot71
5e181ede7e use of a single global vertex buffer 2025-05-15 02:23:43 +02:00
Bigfoot71
1c7162271c impl specific quad rendering func 2025-05-15 02:03:23 +02:00
Ray
8c99a508c6 REVIEWED: WindowSizeCallback(), GLFW
It is called on window minification and setting internal width/height to 0, that can break things
2025-05-14 23:49:24 +02:00
Ray
a51d334440 Merge branch 'master' of https://github.com/raysan5/raylib 2025-05-14 23:47:32 +02:00
Ray
9d4c31533d Update rtext.c 2025-05-14 23:47:03 +02:00
Ray
15a0cf89b8
Merge pull request #4936 from lumenkeyes/master
build.zig fixes for android targets
2025-05-13 20:54:13 +02:00
Ray
ba31219141
Merge pull request #4937 from Bigfoot71/fix-gen-tangents
[rmodels] Fix and improve `GenMeshTangents`
2025-05-13 20:52:51 +02:00
Ray
5076d5743b
Merge pull request #4938 from JeffM2501/const_save_callback
[utils] fix const warning with SaveFileText callback
2025-05-13 20:51:47 +02:00
github-actions[bot]
4a1e9931a6 Update raylib_api.* by CI 2025-05-13 02:55:19 +00:00
Jeffery Myers
aa684a33de make save file callback match const correctness of calling function 2025-05-12 19:54:34 -07:00
Bigfoot71
d135eef462 fix and improve GenMeshTangents 2025-05-12 23:16:06 +02:00
Lumen Keyes
6f11e27bbe fix typo 2025-05-12 11:19:08 -06:00
Lumen Keyes
dea6a24777 build.zig fix: link EGL for Android 2025-05-12 11:13:32 -06:00
github-actions[bot]
63b988ade9 Update raylib_api.* by CI 2025-05-11 09:05:50 +00:00
Ray
f7d03efb49 REVIEWED: DecodeDataBase64(), follow convention:
- All `char *` refer to text strings
- All `unsigned char *` refer to generic byte arrays
2025-05-11 11:05:25 +02:00
Ray
3083f0cd43 REVIEWED: SaveFileText(), const input text 2025-05-11 11:03:49 +02:00
Bigfoot71
55e503171b review framebuffer filling functions 2025-05-11 03:06:57 +02:00
Bigfoot71
a8f222d52c optimized copy/blit functions for each dst format 2025-05-11 02:35:34 +02:00