Page 1 of 1

[r553] TEXTURE1 issues causing weird visuals

Posted: Sun Oct 18, 2009 6:01
by Mortarion
I've used my TEXTURE1 lump to define my hires textures, although in the latest (r553) SVN, they are appearing slightly screwy. I'll attach an example to this post, with notation.
They also appear slightly misaligned, too, so a midtexture will be further down and to the right of where I actually placed it in DB2. the latest SVN of zdoom does not have this bug, Is it simply fixed, and not released for gzdoom? or have I found a GZD specific bug?

To be clear, there's no propblem with the scale, just the allignment, and the end appearance.

The Original texture is 128*256, and has scale flags of the following:
X Scale - 32
Y Scale - 64
Flags - $8000

Re: [r553] TEXTURE1 issues causing weird visuals

Posted: Sun Oct 18, 2009 7:48
by Graf Zahl
Please attach a demo WAD demonstating the problem. The ones I was able to check look fine.

Re: [r553] TEXTURE1 issues causing weird visuals

Posted: Sun Oct 18, 2009 8:41
by Mortarion
Here we are:

Re: [r553] TEXTURE1 issues causing weird visuals

Posted: Sun Oct 18, 2009 9:04
by Graf Zahl
This behaves precisely as defined and is the same in ZDoom's software renderer.

You specified an offset of 32 in texel units and that's how the texture is offset.

If older versions did it differently that was wrong.

Re: [r553] TEXTURE1 issues causing weird visuals

Posted: Sun Oct 18, 2009 10:02
by Mortarion
Facinating... The older versions were different.

oh well, I'll modify what I have to keep up.