quakeforge/libs/video/renderer
Bill Currie aafd5c3d81 [gl] Make perspective matrix setup consistent
Now GL perspective matrix setup matches that of GLSL and Vulkan, and
GL's z_up matrix matches GLSL's (as it should, since they're really
going through the same API). GL also needs the depth adjustmet matrix
now. Other than having to google the docs for glFrustum, there's nothing
wrong with the function itself, but it's nice to have direct control
over the matrices.

In the process, I discovered how horribly confused I've been at times
with respect to the handedness of GL and Quake: GL is right-handed
(y-up, z-out, x-right), as is Quake itself (but z-up, y-left, x-in), but
as the perspective matrix used in the three renderers expects z-in,
having x-right and y-up makes the matrix effectively left-handed (not
for Vulkan though, because there it's y-down, x-right, z-up, so
right-handed again).
2022-03-27 13:23:44 +09:00
..
gl [gl] Make perspective matrix setup consistent 2022-03-27 13:23:44 +09:00
glsl [renderer] Clean up viewport setting 2022-03-26 10:27:16 +09:00
sw [renderer] Clean up post processing 2022-03-26 00:42:43 +09:00
vulkan [renderer] Clean up viewport setting 2022-03-26 10:27:16 +09:00
crosshair.c Add a new crosshair. 2012-12-12 19:36:50 +09:00
font8x8.c [renderer] Add a default 8x8 font 2021-01-08 14:37:52 +09:00
Makemodule.am [gl] Get fisheye working with frame buffers 2022-03-26 12:51:31 +09:00
noisetextures.c Change pointer_t to unsigned and clean up the mess. 2012-12-21 21:53:13 +09:00
r_alias.c [renderer] Remove currententity from non-sw renderers 2021-07-22 16:15:14 +09:00
r_billboard.c [renderer] Clean up use of vup/vright/vpn 2022-03-14 09:45:27 +09:00
r_bsp.c [renderer] Clean up r_bsp a little 2022-03-17 13:09:20 +09:00
r_cvar.c [renderer] Clean up a lot of recalc_refdef use 2022-03-19 00:56:30 +09:00
r_dyn_textures.c [image] Change tex_t data from array to pointer 2021-01-25 00:54:41 +09:00
r_efrag.c [renderer] Move some functions from plugins to main lib 2022-03-07 13:40:04 +09:00
r_ent.c [renderer] Move some functions from plugins to main lib 2022-03-07 13:40:04 +09:00
r_fog.c [renderer] Fix some non-static linking issues 2022-03-09 06:55:31 +09:00
r_graph.c [renderer] Fix non-static linking of graph code 2022-03-17 10:51:29 +09:00
r_init.c [renderer] Merge the fog support code 2022-03-08 02:28:19 +09:00
r_iqm.c [util] Make hunk (optionally) thread-safe 2021-07-29 11:43:27 +09:00
r_light.c [mathlib] Remove frustum global 2022-03-19 12:33:12 +09:00
r_main.c [renderer] Move to using dynamic frame buffers 2022-03-24 12:56:29 +09:00
r_part.c [renderer] Move most of the scene rendering into r_screen 2022-03-17 17:57:50 +09:00
r_progs.c [gamecode] Pass gcc's purity test again 2022-02-14 19:30:50 +09:00
r_scrap.c [ui] Create library for UI support code 2021-06-12 22:50:51 +09:00
r_screen.c [renderer] Clean up viewport setting 2022-03-26 10:27:16 +09:00
r_sprite.c [renderer] Start merging sprite frame calculation 2021-12-24 06:45:13 +09:00
vid_common.c [renderer] Remove player_entity field 2022-03-19 09:46:53 +09:00
vid_render_gl.c [gl] Implement screen warping for liquids 2022-03-26 18:13:37 +09:00
vid_render_glsl.c [gl] Get fisheye working with frame buffers 2022-03-26 12:51:31 +09:00
vid_render_sw.c [renderer] Clean up post processing 2022-03-26 00:42:43 +09:00
vid_render_vulkan.c [renderer] Clean up post processing 2022-03-26 00:42:43 +09:00