Magnus Norddahl
|
9416d436fe
|
Move software renderer into its own namespace to isolate its globals and make
any access explicit. This reveals the places in the code where they are being
accessed where they shouldn't and prevents accidental usage.
|
2016-12-01 02:38:32 +01:00 |
|
Magnus Norddahl
|
1bed6feadc
|
Detach poly renderer from r_main
|
2016-12-01 00:42:14 +01:00 |
|
Magnus Norddahl
|
c37ce1fdbc
|
Add plane clipping to the triangle drawer
|
2016-11-26 10:49:29 +01:00 |
|
Magnus Norddahl
|
8bbb63e913
|
Add portal plane clipping
|
2016-11-26 09:01:58 +01:00 |
|
Magnus Norddahl
|
864358389e
|
Implement portal recursion limit
|
2016-11-25 18:15:48 +01:00 |
|
Magnus Norddahl
|
93af906a1d
|
Add support for multiple portals
|
2016-11-25 17:14:26 +01:00 |
|
Magnus Norddahl
|
47aaf781c6
|
Split RenderPolyScene into two to allow rendering from multiple viewpoints
|
2016-11-24 05:51:37 +01:00 |
|
Magnus Norddahl
|
2316658dfc
|
Fix kdizd blinking issue because the vertex buffer was too small
|
2016-11-24 02:11:35 +01:00 |
|
Magnus Norddahl
|
91d180bec6
|
Fix render to texture
|
2016-11-23 21:10:19 +01:00 |
|
Magnus Norddahl
|
7af504df58
|
Draw 3d floor sides
|
2016-11-21 20:50:54 +01:00 |
|
Magnus Norddahl
|
6761e8639a
|
Add palette support
|
2016-11-20 04:06:21 +01:00 |
|
Magnus Norddahl
|
5d6ceb868e
|
Move viewport stuff to its own function
|
2016-11-18 14:40:53 +01:00 |
|
Magnus Norddahl
|
dbb6c7ca27
|
Add support for specifying a viewport out of screen bounds and fixed statusbar by doing just that!
|
2016-11-18 01:58:39 +01:00 |
|
Rachael Alexanderson
|
aa08285676
|
- Moved scaling before rotation again - this time, using a formula provided by Graf, the rendering pitch is now dynamically scaled based on the aspect ratio, causing pitch aiming to once again be correct.
|
2016-11-17 16:44:55 -05:00 |
|
Magnus Norddahl
|
6be80efa51
|
Moved scale back to be after pitch - otherwise the the bullets don't end up where you point
|
2016-11-17 21:19:50 +01:00 |
|
Magnus Norddahl
|
eac9367ace
|
Fix perspective when status bar is visible
|
2016-11-17 21:07:00 +01:00 |
|
Rachael Alexanderson
|
7447c49dc5
|
- Added pixelratio support for the softpoly renderer.
|
2016-11-17 13:50:35 -05:00 |
|
Magnus Norddahl
|
511eb59479
|
Add particle drawing
|
2016-11-17 01:29:08 +01:00 |
|
Magnus Norddahl
|
59f7dedfb4
|
Added wall sprite support. Unfortunately it would seem that a bullet hole is not a wall sprite..
|
2016-11-16 22:31:49 +01:00 |
|
Magnus Norddahl
|
f457f0340c
|
Add 3D floor planes
|
2016-11-16 11:18:40 +01:00 |
|
Magnus Norddahl
|
ee15856786
|
Deep water support
|
2016-11-15 15:15:26 +01:00 |
|
Magnus Norddahl
|
5f1b822523
|
Mark rendered lines in the automap
|
2016-11-15 13:30:30 +01:00 |
|
Magnus Norddahl
|
3673338644
|
Split r_poly into multiple files handling each aspect of rendering a scene
|
2016-11-14 14:19:48 +01:00 |
|
Magnus Norddahl
|
411eb57952
|
Fix rendering of masked walls
|
2016-11-13 15:16:55 +01:00 |
|
Magnus Norddahl
|
c914a7a7fe
|
Cull walls
|
2016-11-13 13:24:36 +01:00 |
|
Magnus Norddahl
|
27eb8e36ae
|
Fix solid segment culling
|
2016-11-13 11:44:07 +01:00 |
|
Magnus Norddahl
|
402227d6b6
|
Add some intersection tests useful for culling
|
2016-11-12 14:55:14 +01:00 |
|
Magnus Norddahl
|
e3dc9c93b9
|
Use a simpler algorithm for the stencil buffer as the old one was too slow
|
2016-11-12 13:50:28 +01:00 |
|
Magnus Norddahl
|
eb4021b997
|
Codegen for all triangle variants
|
2016-11-12 10:21:02 +01:00 |
|
Magnus Norddahl
|
c852b6c5e9
|
Add codegen for one of the triangle variants
|
2016-11-12 00:50:21 +01:00 |
|
Magnus Norddahl
|
3cc5cec5a0
|
Hook up subsector gbuffer
|
2016-11-11 19:26:28 +01:00 |
|
Magnus Norddahl
|
5a9d4ee9d9
|
Simplify argument passing
|
2016-11-11 18:24:59 +01:00 |
|
Magnus Norddahl
|
529a93b680
|
Sky rendering fixes
|
2016-11-11 10:15:27 +01:00 |
|
Magnus Norddahl
|
373038231c
|
More stencil sky stuff
|
2016-11-10 13:58:03 +01:00 |
|
Magnus Norddahl
|
049ceecca5
|
Toying with stencils
|
2016-11-10 10:44:35 +01:00 |
|
Magnus Norddahl
|
204d09efde
|
Add a stencil buffer
|
2016-11-10 08:08:37 +01:00 |
|
Magnus Norddahl
|
b94096ffe1
|
Crash fixes
|
2016-11-10 05:30:33 +01:00 |
|
Magnus Norddahl
|
6c52e1e52b
|
Draw sky in a very expensive way
|
2016-11-10 05:01:33 +01:00 |
|
Magnus Norddahl
|
dc0e6d40a4
|
Distance sort sprites
|
2016-11-09 11:38:07 +01:00 |
|
Magnus Norddahl
|
cffdfdf7fd
|
Cull bsp using solid segments
|
2016-11-09 01:33:40 +01:00 |
|
Magnus Norddahl
|
28d1cdc1cc
|
Add TriUniforms and move light to it
|
2016-11-08 16:16:24 +01:00 |
|
Magnus Norddahl
|
6620d99fbb
|
Fix frame buffer bounds and access errors
|
2016-11-08 15:27:45 +01:00 |
|
Magnus Norddahl
|
cb4b74e0c3
|
Double render speed of triangle drawer in the poly version by removing sprite clip and assigning whole blocks to threads
|
2016-11-08 14:28:58 +01:00 |
|
Magnus Norddahl
|
2e2d6da00f
|
Only draw thing if its in the subsector
|
2016-11-08 05:48:45 +01:00 |
|
Magnus Norddahl
|
d0f0500f0d
|
Draw things
|
2016-11-08 05:17:29 +01:00 |
|
Magnus Norddahl
|
b9d6fc6856
|
Add some light and transparency
|
2016-11-08 02:48:14 +01:00 |
|
Magnus Norddahl
|
237f54f4be
|
Toying with triangle drawer and GL BSP nodes
|
2016-11-07 09:25:12 +01:00 |
|