Quirk with portals

Bugs that have been resolved.

Moderator: Graf Zahl

Locked
User avatar
Kappes Buur
Persecution Complex
Posts: 176
Joined: Tue Apr 05, 2011 4:30
Location: British Columbia

Quirk with portals

Post by Kappes Buur »

When the player crosses the portal threshold, there is at times this annoying greenish flash.
That not seem to happen when backing up .

[edit] deleted videoclip

Is there a way to get rid of this ?
Attachments
MAP01.wad
(17.07 KiB) Downloaded 106 times
Last edited by Kappes Buur on Fri Jan 06, 2017 21:16, edited 1 time in total.
User avatar
Enjay
Developer
Developer
Posts: 4720
Joined: Tue Aug 30, 2005 23:19
Location: Scotland
Contact:

Re: Quirk with portals

Post by Enjay »

The "greenish flash" is clearly the player sprite viewed from behind. A still from your video:

Image

It's almost like the player is getting through the portal before the viewpoint is and you momentarily see the back of the player.
User avatar
Graf Zahl
GZDoom Developer
GZDoom Developer
Posts: 7148
Joined: Wed Jul 20, 2005 9:48
Location: Germany
Contact:

Re: Quirk with portals

Post by Graf Zahl »

The last issue causing this got fixed just today.

It was all caused by interpolation having the player not really where it's supposed to be and causing some checks being off and sometimes failing.
User avatar
Kappes Buur
Persecution Complex
Posts: 176
Joined: Tue Apr 05, 2011 4:30
Location: British Columbia

Re: Quirk with portals

Post by Kappes Buur »

Excellent :D
Thx
User avatar
Enjay
Developer
Developer
Posts: 4720
Joined: Tue Aug 30, 2005 23:19
Location: Scotland
Contact:

Re: Quirk with portals

Post by Enjay »

Using today's build from the dev builds site (gzdoom-x64-g2.4pre-39-gb11c8fe) I'm still seeing this issue. Should that version include the fix or has it not been committed yet?
Edward-san
Developer
Developer
Posts: 197
Joined: Sun Nov 29, 2009 16:36

Re: Quirk with portals

Post by Edward-san »

Can you reproduce with clean ini? If not, which settings must be activated?
User avatar
Enjay
Developer
Developer
Posts: 4720
Joined: Tue Aug 30, 2005 23:19
Location: Scotland
Contact:

Re: Quirk with portals

Post by Enjay »

Yup, installed to a completely clean directory and still got the effect.
User avatar
Kappes Buur
Persecution Complex
Posts: 176
Joined: Tue Apr 05, 2011 4:30
Location: British Columbia

Re: Quirk with portals

Post by Kappes Buur »

I downloaded GZD-x64 g2.4pre-31 and GZD-x64 g2.4pre-39, and as observed above,
the flash still happens intermittently. Notably the flash does not seem to occur
when backing out through the portal.
The videoclip was taken with GZD-x64 g2.4pre-39
User avatar
Graf Zahl
GZDoom Developer
GZDoom Developer
Posts: 7148
Joined: Wed Jul 20, 2005 9:48
Location: Germany
Contact:

Re: Quirk with portals

Post by Graf Zahl »

I really hope this was the last of those ugly edge cases with non-static line portals. Their entire setup makes it virtually impossible to properly determine if the player needs to be drawn or not because it may not only appear near the portal but also elsewhere in the scene if two spots connect that are visible from each other.
User avatar
Kappes Buur
Persecution Complex
Posts: 176
Joined: Tue Apr 05, 2011 4:30
Location: British Columbia

Re: Quirk with portals

Post by Kappes Buur »

It still happens with GZD-x64 g2.4pre-42. :(

Forgive my programming naiveté.
Does this flash have anything to do with the chasecam, since the image seems to be the back of the player.
And if it is, would it then be feasible to disable the chasecam for the duration of the portal transport?
User avatar
Enjay
Developer
Developer
Posts: 4720
Joined: Tue Aug 30, 2005 23:19
Location: Scotland
Contact:

Re: Quirk with portals

Post by Enjay »

Have you tried the new official release of 2.3.1 (which is newer than that build)? The new release fixes it for me and the Git changelog didn't mention the fixes until after the build you are trying was made.
fixed some edge cases with visible player sprites through non-static line portals. This required reinstating some code which I thought was no longer needed.
User avatar
Kappes Buur
Persecution Complex
Posts: 176
Joined: Tue Apr 05, 2011 4:30
Location: British Columbia

Re: Quirk with portals

Post by Kappes Buur »

I just downloaded and tried 2.3.1 and no glitch detected.
Fantastic, thanks Graf.
:thumb:
User avatar
Enjay
Developer
Developer
Posts: 4720
Joined: Tue Aug 30, 2005 23:19
Location: Scotland
Contact:

Re: Quirk with portals

Post by Enjay »

Warning: With the January 10 git builds, this map now causes a crash. Bug report submitted.
Locked

Return to “Closed Bugs”