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 » Thu Jan 05, 2017 19:30

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 17 times
Last edited by Kappes Buur on Fri Jan 06, 2017 21:16, edited 1 time in total.

User avatar
Enjay
There is no dark side in the moon, really...
Developer
Developer
Posts: 4589
Joined: Tue Aug 30, 2005 23:19
Location: Scotland
Contact:

Re: Quirk with portals

Post by Enjay » Thu Jan 05, 2017 19:54

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 » Thu Jan 05, 2017 20:09

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 » Thu Jan 05, 2017 20:17

Excellent :D
Thx

User avatar
Enjay
There is no dark side in the moon, really...
Developer
Developer
Posts: 4589
Joined: Tue Aug 30, 2005 23:19
Location: Scotland
Contact:

Re: Quirk with portals

Post by Enjay » Fri Jan 06, 2017 13:27

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 » Fri Jan 06, 2017 15:56

Can you reproduce with clean ini? If not, which settings must be activated?

User avatar
Enjay
There is no dark side in the moon, really...
Developer
Developer
Posts: 4589
Joined: Tue Aug 30, 2005 23:19
Location: Scotland
Contact:

Re: Quirk with portals

Post by Enjay » Fri Jan 06, 2017 17:33

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 » Fri Jan 06, 2017 21:12

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 » Sat Jan 07, 2017 1:09

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 » Sat Jan 07, 2017 21:02

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
There is no dark side in the moon, really...
Developer
Developer
Posts: 4589
Joined: Tue Aug 30, 2005 23:19
Location: Scotland
Contact:

Re: Quirk with portals

Post by Enjay » Sat Jan 07, 2017 21:22

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 » Sun Jan 08, 2017 0:11

I just downloaded and tried 2.3.1 and no glitch detected.
Fantastic, thanks Graf.
:thumb:

User avatar
Enjay
There is no dark side in the moon, really...
Developer
Developer
Posts: 4589
Joined: Tue Aug 30, 2005 23:19
Location: Scotland
Contact:

Re: Quirk with portals

Post by Enjay » Tue Jan 10, 2017 16:32

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

Locked

Return to “Closed Bugs”

Who is online

Users browsing this forum: No registered users and 1 guest