RenderRadius and sliced rendering
-
-
- Posts: 2941
- Joined: Sat May 28, 2016 1:01 pm
Re: RenderRadius and sliced rendering
I pushed the branch to https://github.com/dpjudas/gzdoom/tree/renderslices in case anyone wants to try the performance improvements on their own computer. Note that this branch isn't ready for merging yet as there's a race condition still when it loads textures that causes it to crash in some rare cases.
-
-
- Posts: 2941
- Joined: Sat May 28, 2016 1:01 pm
Re: RenderRadius and sliced rendering
I pushed an update to this branch fixing the race condition. This should generally be ready for merging now. It is also silly fast with that fix, now running at 92 FPS in Frozen Time's bridge, beating the hardware renderer running at 71 on my computer. That was fun to see. What a difference removing a mutex lock can do. 

-
-
- Posts: 17368
- Joined: Mon Oct 27, 2003 12:07 am
- Location: Kuala Lumpur, Malaysia
Re: RenderRadius and sliced rendering
So I gave this branch a spin out of curiosity and holy crap. What kind of wizardry is this. :D :D :D


Paletted VS true color. Both OpenGL backend. Eviternity, heavily gameplay modded (my own mods). Has dynamic lights enabled in the TC one.
400 FPS / 200 FPS respectively, at 1080p. This is crazy. I've never seen software rendering perform this fast before!
Hardware:
Processor Intel(R) Core(TM) i7-8700 CPU @ 3.20GHz, 3192 Mhz, 6 Core(s), 12 Logical Processor(s)
RAM 16 GB
RTX 2080


Paletted VS true color. Both OpenGL backend. Eviternity, heavily gameplay modded (my own mods). Has dynamic lights enabled in the TC one.
400 FPS / 200 FPS respectively, at 1080p. This is crazy. I've never seen software rendering perform this fast before!
Hardware:
Processor Intel(R) Core(TM) i7-8700 CPU @ 3.20GHz, 3192 Mhz, 6 Core(s), 12 Logical Processor(s)
RAM 16 GB
RTX 2080
-
- Lead GZDoom+Raze Developer
- Posts: 48666
- Joined: Sat Jul 19, 2003 10:19 am
- Location: Germany
Re: RenderRadius and sliced rendering
Seeing those pictures reminds me again: Someone really needs to fix the blending for shaded decals in paletted mode. This has been broken forever and uses the color after colormap application to derive alpha, not the original color.
-
- Vintage GZDoom Developer
- Posts: 3121
- Joined: Fri Apr 23, 2004 3:51 am
- Location: Spain
Re: RenderRadius and sliced rendering
Is there interest on this? dpJudas said it was "generally ready for merging".
-
- Lead GZDoom+Raze Developer
- Posts: 48666
- Joined: Sat Jul 19, 2003 10:19 am
- Location: Germany
Re: RenderRadius and sliced rendering
There is no PR so there's nothing to merge as far as I am concerned.