Commit graph

16 commits

Author SHA1 Message Date
Magnus Norddahl
ce6e1e1e47 Fully hook up sprite clipping by subsector 2016-12-02 13:24:53 +01:00
Magnus Norddahl
01008f0daa Fix sprite bsp clipping bug and wall sorting bug 2016-12-02 13:06:16 +01:00
Magnus Norddahl
71350f2c17 Sprite line clipping by subsector 2016-12-02 08:12:01 +01:00
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
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
62188d1ea5 Change the line portal shape to be determined by the same code that decides the shape of other walls 2016-11-26 07:06:10 +01:00
Magnus Norddahl
cc3ac9ea05 Line portal rendering 2016-11-25 23:44:55 +01:00
Magnus Norddahl
eaa15f2b74 Render other sector portal types 2016-11-25 20:19:35 +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
b2ad26d2d5 Sealing off portal entrances for the transparency pass 2016-11-25 07:44:51 +01:00
Magnus Norddahl
1def7b3eae More portal handling stuff 2016-11-25 01:08:25 +01:00
Magnus Norddahl
558a4bcdca Partial sky portal support 2016-11-24 23:08:36 +01:00
Magnus Norddahl
cff72fb072 Add stencil value to decal, particle, plane, port, sky, sprite, wall and wallsprite classes 2016-11-24 08:23:50 +01:00
Magnus Norddahl
47aaf781c6 Split RenderPolyScene into two to allow rendering from multiple viewpoints 2016-11-24 05:51:37 +01:00