[Fixed] Texture not aligned when map played with ZDoom

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
MartinHowe
Posts: 2059
Joined: Mon Aug 11, 2003 1:50 pm
Preferred Pronouns: He/Him
Location: East Suffolk (UK)

Texture not aligned when map played with ZDoom

Post by MartinHowe »

In the Newstuff Chronicles 197 last week there is a WAD called SC_WASTE by Ian "Scrum" Ferguson and at position X=+593 Y=-493 is a switch texture SW1COMM pasted on linedef 1860. This is inside an alcove so that you see only the switch itself and the texture is aligned accordingly.

This displays fine in DB 3D mode and when played with PrBoom, Legacy and Eternity beta 331/7, but ZDoom 2.0.63A fails to display it correctly. In ZDoom the texture appears correct horizontally, but vertically appears halfway down the alcove and is "cut in half". The switch works, BTW, it just isn't positioned correctly.

Interestingly enough, EDGE 1.27 and 1.28A also screw this up, but in a different way -- they display a "black hole" where the texture should be.
User avatar
MartinHowe
Posts: 2059
Joined: Mon Aug 11, 2003 1:50 pm
Preferred Pronouns: He/Him
Location: East Suffolk (UK)

Post by MartinHowe »

FWIW to Randy, the EDGE team response is this, posted here in case any part of their analysis can be applied to ZDoom.
Problem was related to the texture height, which is not a power of two (72 pixels) and using a negative Y offset on the sidedef.
User avatar
randi
Site Admin
Posts: 7749
Joined: Wed Jul 09, 2003 10:30 pm
Contact:

Post by randi »

The EDGE team is correct. This switch won't display correctly with vanilla Doom, either.

Fixed.
User avatar
TheDarkArchon
Posts: 7656
Joined: Sat Aug 07, 2004 5:14 am
Location: Some cold place

Post by TheDarkArchon »

After reading this, I just fixed a HOM in E1M3 of KDIZD that was pissing me off. Thanks
Post Reply

Return to “Closed Bugs [GZDoom]”