[Fixed] Rendering issues with non-opaque 3D floors

Bugs that have been investigated and resolved somehow.

Moderator: Developers

Rendering issues with non-opaque 3D floors

Postby Lud » Mon Jan 15, 2018 6:53 pm

There are two issues that I believe are strongly related: if standing still and looking at a certain angle, transparent 3D floors' bottom disappears. If there are particles in front of the 3D floor, the glitch affects them as well.

I have an example wad, but due to the privacy of the project from which I've taken certain assets to build said example, I'd like to PM the file to the dev who offers assistance.

Tested on GZDoom g3.3pre-278-ge8a7f00 (x64).
User avatar
Lud
Pirates of the Somallean
 
Joined: 11 Feb 2016
Location: Somalia

Re: Rendering issues with non-opaque 3D floors

Postby _mental_ » Tue Jan 16, 2018 5:15 am

PM me the map, I'll check but cannot promise anything.
_mental_
 
 
 
Joined: 07 Aug 2011

Re: Rendering issues with non-opaque 3D floors

Postby Graf Zahl » Sun Jan 21, 2018 1:17 pm

One issue here is actually a mapping bug: To render the insides of a 3D floor you have to specify a flag for the special. For swimmable 3D floors this is always on but not for solid ones.
The other one looks like sprites which cross a clip plane aren't inserted on both sides, that one may take a bit longer to address, thanks to the insane shitload of special cases that got inserted over time.
User avatar
Graf Zahl
Lead GZDoom Developer
 
Joined: 19 Jul 2003
Location: Germany

Re: Rendering issues with non-opaque 3D floors

Postby Lud » Sun Jan 21, 2018 1:23 pm

Alright, will tend to the 3D floor issue in the mean time. Thank you for the information.
User avatar
Lud
Pirates of the Somallean
 
Joined: 11 Feb 2016
Location: Somalia

Re: Rendering issues with non-opaque 3D floors

Postby Graf Zahl » Thu Mar 01, 2018 7:02 am

Fixed.
User avatar
Graf Zahl
Lead GZDoom Developer
 
Joined: 19 Jul 2003
Location: Germany

Re: Rendering issues with non-opaque 3D floors

Postby _mental_ » Thu Mar 01, 2018 10:26 am

Unfortunately this fix introduces some clipping issues.
I have a lot of troubles with a minimalist sample. The best thing I can do is to ask to check this WAD.

Screenshot_Doom_20180301_170311.jpg

Launch with -iwad doom2 -file sshpsos.zip -nomonsters +map map01 "+warp -8060 0" and rotate head to the right.
The glitch is quite common in this map, warp -1070 570 and turn back, armor bonuses will disappear/reappear in front of player.
Disregard missing textures, they don't matter. Also, RFL_NO_CLIP_PLANES flag isn't set.
_mental_
 
 
 
Joined: 07 Aug 2011

Re: Rendering issues with non-opaque 3D floors

Postby Graf Zahl » Thu Mar 01, 2018 11:13 am

I made a small change. Is it better now? I couldn't see the clipped objects anymore afterward.
User avatar
Graf Zahl
Lead GZDoom Developer
 
Joined: 19 Jul 2003
Location: Germany

Re: Rendering issues with non-opaque 3D floors

Postby _mental_ » Thu Mar 01, 2018 11:22 am

Yes, it's fine now.
_mental_
 
 
 
Joined: 07 Aug 2011

Re: Rendering issues with non-opaque 3D floors

Postby Lud » Thu Mar 01, 2018 11:47 am

Bueno. Thanks, folks!
User avatar
Lud
Pirates of the Somallean
 
Joined: 11 Feb 2016
Location: Somalia


Return to Closed Bugs

Who is online

Users browsing this forum: No registered users and 1 guest