[0.4.5] [Blood] Some textures flicker

Moderator: Raze Developers

Re: [0.4.5] [Blood] Some textures flicker

Postby Manuel-K » Tue Mar 03, 2020 1:53 pm

Graf Zahl wrote:(…) for unknown reasons!

Maybe a case of “we've always done it that way”?
Manuel-K
 
Joined: 15 Mar 2017

Re: [0.4.5] [Blood] Some textures flicker

Postby axredneck » Tue Mar 03, 2020 2:02 pm

AFAIK Build's software render doesn't use depth buffer at all so it doesn't have this glitch, right? (But has another glitches for this reason)
User avatar
axredneck
excuse me for my bad English
 
Joined: 11 Dec 2017
Location: Russia
Github ID: axredneck
Operating System: Other Linux 64-bit
OS Test Version: No (Using Stable Public Version)
Graphics Processor: nVidia with Vulkan support

Re: [0.4.5] [Blood] Some textures flicker

Postby Graf Zahl » Tue Mar 03, 2020 2:03 pm

Precisely. But it's a software renderer!
User avatar
Graf Zahl
Lead GZDoom+Raze Developer
Lead GZDoom+Raze Developer
 
Joined: 19 Jul 2003
Location: Germany

Re: [0.4.5] [Blood] Some textures flicker

Postby axredneck » Tue Mar 03, 2020 2:04 pm

Is it possible to not use depth buffer in Polymost too and to do sorting the way Software does?
User avatar
axredneck
excuse me for my bad English
 
Joined: 11 Dec 2017
Location: Russia
Github ID: axredneck
Operating System: Other Linux 64-bit
OS Test Version: No (Using Stable Public Version)
Graphics Processor: nVidia with Vulkan support

Re: [0.4.5] [Blood] Some textures flicker

Postby Graf Zahl » Tue Mar 03, 2020 2:09 pm

No, that won't work. And even if it was you could forget about any kind of advanced effect.
User avatar
Graf Zahl
Lead GZDoom+Raze Developer
Lead GZDoom+Raze Developer
 
Joined: 19 Jul 2003
Location: Germany

Re: [0.4.5] [Blood] Some textures flicker

Postby sinisterseed » Tue Mar 03, 2020 2:51 pm

Graf Zahl wrote:I'm already using that - the problem lies elsewhere. IIRC Build works by rotating the wall sprite into the proper orientation with its crude fixed point trig functions and those are wayyy to imprecise. But it's hard to change because too much math is done in fixed point instead of converting to float as soon as possible and use higher precision math. Last year some already existing float math was even converted back to fixed point for unknown reasons!

... they've gone backwards? Why?
User avatar
sinisterseed
GZDoom RO Translator & Raze Tester
 
Joined: 05 Nov 2019
Twitch ID: sixhundredsixteen
Github ID: sinisterseed
Operating System: Windows 10/8.1/8/201x 64-bit
OS Test Version: No (Using Stable Public Version)
Graphics Processor: nVidia with Vulkan support

Re: [0.4.5] [Blood] Some textures flicker

Postby Graf Zahl » Tue Mar 03, 2020 3:33 pm

Don't ask me. The comment came without any explanation.
User avatar
Graf Zahl
Lead GZDoom+Raze Developer
Lead GZDoom+Raze Developer
 
Joined: 19 Jul 2003
Location: Germany

Re: [0.4.5] [Blood] Some textures flicker

Postby markanini » Tue Mar 03, 2020 3:35 pm

Graf Zahl wrote:Don't ask me. The comment came without any explanation.

Someone went to far copying the style of the original code...
markanini
 
Joined: 18 Jan 2020

Re: [0.4.5] [Blood] Some textures flicker

Postby mjr4077au » Mon Sep 21, 2020 5:21 pm

To the OP, any chance you could validate whether this issue still occurs for you on the current master? There's been significant backend changes since this was first reported.
User avatar
mjr4077au
 
Joined: 17 Jun 2019
Location: Gosford NSW, Australia
Discord: mjr4077au#1027
Github ID: mjr4077au
Operating System: Windows 10/8.1/8/201x 64-bit
OS Test Version: No (Using Stable Public Version)
Graphics Processor: nVidia with Vulkan support

Re: [0.4.5] [Blood] Some textures flicker

Postby Graf Zahl » Tue Sep 22, 2020 12:05 am

The texture flickering is a core problem of how Polymost sets up attached wall sprites. To fully resolve this these need to be done differently, but that requires a true 3D renderer which Polymost isn't.
User avatar
Graf Zahl
Lead GZDoom+Raze Developer
Lead GZDoom+Raze Developer
 
Joined: 19 Jul 2003
Location: Germany

Re: [0.4.5] [Blood] Some textures flicker

Postby mjr4077au » Tue Sep 22, 2020 12:07 am

Ahh yep, no problems thanks for reminding me :)
User avatar
mjr4077au
 
Joined: 17 Jun 2019
Location: Gosford NSW, Australia
Discord: mjr4077au#1027
Github ID: mjr4077au
Operating System: Windows 10/8.1/8/201x 64-bit
OS Test Version: No (Using Stable Public Version)
Graphics Processor: nVidia with Vulkan support

Re: [0.4.5] [Blood] Some textures flicker

Postby sinisterseed » Tue Sep 22, 2020 4:13 am

May not be fully fixed for sure, but the backend changes definitely improved this, magically or otherwise.

I've not had flickering wallsprites since.
User avatar
sinisterseed
GZDoom RO Translator & Raze Tester
 
Joined: 05 Nov 2019
Twitch ID: sixhundredsixteen
Github ID: sinisterseed
Operating System: Windows 10/8.1/8/201x 64-bit
OS Test Version: No (Using Stable Public Version)
Graphics Processor: nVidia with Vulkan support

Previous

Return to Bugs

Who is online

Users browsing this forum: No registered users and 0 guests