Minor portal glitches

Bugs that have been resolved.

Moderator: Graf Zahl

Locked
Major Cooke
Developer
Developer
Posts: 240
Joined: Wed Mar 04, 2009 19:25

Minor portal glitches

Post by Major Cooke » Wed Jul 20, 2016 21:07

Using this wad.
Major Cooke wrote:So I was standing right at the edge of a portal line when testing Arookas' wad out and I noticed when I changed my resolution, the portals stopped rendering. I had to restart to fix it.
Spoiler: Pic
And then I discovered the player can still be rendered a little bit:
[spoiler]Image[/spoiler]

But when standing back far enough, it's black.
[spoiler]Image[/spoiler]

On rare occasions there's the flicker of something happening in front of the screen.
[spoiler]Image[/spoiler]

Turns out it's you. That's the doomguy.
[spoiler]Image[/spoiler]

User avatar
Graf Zahl
GZDoom Developer
GZDoom Developer
Posts: 7148
Joined: Wed Jul 20, 2005 9:48
Location: Germany
Contact:

Re: Minor portal glitches

Post by Graf Zahl » Sat Jul 23, 2016 7:52

I was unable to reproduce the resolution change issue.
The rest come from how this map is set up. This special case of mixing wall with flat portals seems to create problems with the logic that calculates portal shapes for clipping (as in looking from area B into different parts of area A in the same direction). I'll have to investigate a bit further if this is fixable.

User avatar
Graf Zahl
GZDoom Developer
GZDoom Developer
Posts: 7148
Joined: Wed Jul 20, 2005 9:48
Location: Germany
Contact:

Re: Minor portal glitches

Post by Graf Zahl » Sat Jul 23, 2016 8:44

fixed the issue in the second picture. The red thing is the wall behind the portal. This was caused by incomplete clearing of the clipper.

The occasional display of the player sprite requires some fundamental work on how the engine tracks portals. This needs to be done in ZDoom first.

User avatar
Graf Zahl
GZDoom Developer
GZDoom Developer
Posts: 7148
Joined: Wed Jul 20, 2005 9:48
Location: Germany
Contact:

Re: Minor portal glitches

Post by Graf Zahl » Sat Jul 23, 2016 9:48

For now I patched this problem so that the most glaring effects are dealt with, but after doing some analysis it became clear that a proper fix that catches all cases would cost too much performance (as in checking a subsector against every single camera-facing line in the portal - this is precisely the stuff that was causing performance issues when I wrote my experimental Build-style renderer a few years back.)

Major Cooke
Developer
Developer
Posts: 240
Joined: Wed Mar 04, 2009 19:25

Re: Minor portal glitches

Post by Major Cooke » Sat Jul 23, 2016 15:39

Fair enough. Thanks!

Major Cooke
Developer
Developer
Posts: 240
Joined: Wed Mar 04, 2009 19:25

Re: Minor portal glitches

Post by Major Cooke » Sat Jul 23, 2016 15:42

Graf Zahl wrote:I was unable to reproduce the resolution change issue.
Oh right, I was in fullscreen mode and I changed to windowed.

User avatar
Graf Zahl
GZDoom Developer
GZDoom Developer
Posts: 7148
Joined: Wed Jul 20, 2005 9:48
Location: Germany
Contact:

Re: Minor portal glitches

Post by Graf Zahl » Sat Jul 23, 2016 15:45

That also did not glitch for me.

Major Cooke
Developer
Developer
Posts: 240
Joined: Wed Mar 04, 2009 19:25

Re: Minor portal glitches

Post by Major Cooke » Sat Jul 23, 2016 18:31

Did you position yourself to the point where you could see the doom marine? That's how I got it to glitch.

Locked

Return to “Closed Bugs”