Sector portal can be rendered on lines

Bugs that have been investigated and resolved somehow.

Moderator: GZDoom Developers

Forum rules
Please don't bump threads here if you have a problem - it will often be forgotten about if you do. Instead, make a new thread here.
Post Reply
User avatar
Fishytza
Posts: 781
Joined: Wed Feb 23, 2011 11:04 am
Preferred Pronouns: No Preference
Contact:

Sector portal can be rendered on lines

Post by Fishytza »

Tested with GZDoom 3.3.0 64-bit
Both software and hardware renderer.

I'm reporting this because I cannot tell if this is undefined behavior or intentional.

Similar to the old sky hack, a sector portal can bleed onto a two-sided line that has no upper/lower texture, and the sector where the portal is in use is higher/lower than its neighbor which has no portal.
sector-portal-on-line-test.wad
Replaces MAP01. Load with DOOM2.
(7.69 KiB) Downloaded 106 times
In this test map the gravity has been lowered so it's easy to jump through the portals. And even though the portals are being rendered on the lines as well, they are purely solid.

They are rendered all the time without a hitch in the hardware renderer.
In software, the upper one turns into a HOM effect when you jump up (not through the portal) while the lower one behind your start position is a HOM until you jump.
User avatar
Graf Zahl
Lead GZDoom+Raze Developer
Lead GZDoom+Raze Developer
Posts: 49056
Joined: Sat Jul 19, 2003 10:19 am
Location: Germany

Re: Sector portal can be rendered on lines

Post by Graf Zahl »

Missing textures in unexpected places are always undefined behavior. The portals and skies share a lot of the same logic so this is not surprising.
User avatar
Fishytza
Posts: 781
Joined: Wed Feb 23, 2011 11:04 am
Preferred Pronouns: No Preference
Contact:

Re: Sector portal can be rendered on lines

Post by Fishytza »

So I take it I shouldn't be doing this?
User avatar
Marisa the Magician
Posts: 3886
Joined: Fri Feb 08, 2008 9:15 am
Preferred Pronouns: She/Her
Operating System Version (Optional): (btw I use) Arch
Graphics Processor: nVidia with Vulkan support
Location: Vigo, Galicia
Contact:

Re: Sector portal can be rendered on lines

Post by Marisa the Magician »

I'd assume if this doesn't break anything it could just be a "bug ascended to feature". Does it work on all renderers?
User avatar
Graf Zahl
Lead GZDoom+Raze Developer
Lead GZDoom+Raze Developer
Posts: 49056
Joined: Sat Jul 19, 2003 10:19 am
Location: Germany

Re: Sector portal can be rendered on lines

Post by Graf Zahl »

This won't work as a feature because portal content gets clipped by the portal plane so it may glitch. If this gets done properly it will be done like in Eternity where the portal on the wall must be set explicitly.
Gez
 
 
Posts: 17833
Joined: Fri Jul 06, 2007 3:22 pm

Re: Sector portal can be rendered on lines

Post by Gez »

FishyClockwork wrote:In software, the upper one turns into a HOM effect when you jump up (not through the portal) while the lower one behind your start position is a HOM until you jump.
FishyClockwork wrote:So I take it I shouldn't be doing this?
Undefined behavior that doesn't work in one of the renderers is best avoided, yes.
User avatar
Graf Zahl
Lead GZDoom+Raze Developer
Lead GZDoom+Raze Developer
Posts: 49056
Joined: Sat Jul 19, 2003 10:19 am
Location: Germany

Re: Sector portal can be rendered on lines

Post by Graf Zahl »

It should be noted that sector portals are very, very limited in the software renderer so that's no indicator here.
Post Reply

Return to “Closed Bugs [GZDoom]”