[4.2.x] Wallsprites do not sample texture data correctly

Forum rules
Please construct and post a simple demo whenever possible for all bug reports. Please provide links to everything.

If you can include a wad demonstrating the problem, please do so. Bug reports that include fully-constructed demos have a much better chance of being investigated in a timely manner than those that don't.

Please make a new topic for every bug. Don't combine multiple bugs into a single topic. Thanks!

Post a reply

Smilies
:D :) :( :o :shock: :? 8-) :lol: :x :P :oops: :cry: :evil: :twisted: :roll: :wink: :geek: :ugeek: :!: :?: :idea: :arrow: :| :mrgreen: :3: :wub: >:( :blergh:
View more smilies

BBCode is OFF
Smilies are ON

Topic review
   

Expand view Topic review: [4.2.x] Wallsprites do not sample texture data correctly

Re: [4.2.x] Wallsprites do not sample texture data correctly

by drfrag » Sat Oct 05, 2019 3:20 am

They never worked in software. Here's a minimal example, i've tried 3.1.0a and they were broken. Graf fixed the crash then and it came back later.
viewtopic.php?f=7&t=56537
DECORATE version:

Code: Select all

actor bluh:techlamp{
     +wallsprite
}

Re: [4.2.x] Wallsprites do not sample texture data correctly

by drfrag » Fri Oct 04, 2019 5:52 am

But did they work in ZDoom? Is there a simple test wad out there?

Re: [4.2.x] Wallsprites do not sample texture data correctly

by drfrag » Fri Oct 04, 2019 3:30 am

LZDoom was not affected by the crash but it's affected by this bug. The legacy branch still crashes after the fix. Edit: and master.

Re: [4.2.x] Wallsprites do not sample texture data correctly

by SanyaWaffles » Thu Oct 03, 2019 10:01 pm

https://www.dropbox.com/s/tbyujjqpw2sj5 ... .ipk3?dl=0

I'll work on getting some sort of minimal example ready so you don't have to constantly download a huge 47MB file. This was discovered during the development of a project of mine which makes extensive use of wall sprites.

[4.2.x] Wallsprites do not sample texture data correctly

by Rachael » Thu Oct 03, 2019 9:59 pm

Discovered while fixing this bug.

Same file sample.

While sampling Y-data seems to work just fine, sampling X data does not. It always samples one column of the sprite (the center?).

Furthermore, the texture resize system seems to bork it even further.

Top