Page 1 of 1

[SVN]Two opengl related bugs

Posted: Thu Jul 23, 2009 17:50
by DoomerMrT
1. Sector_SetPlaneReflection crashes. Try it with any gzdoom wad that contains it.
2. Graphic warping doesn't work. Try the Spirit Imp from Realm667.com

Re: [SVN]Two opengl related bugs

Posted: Thu Jul 23, 2009 18:54
by Graf Zahl
I can't reproduce neither of these problems.

Re: [SVN]Two opengl related bugs

Posted: Thu Jul 23, 2009 19:29
by DoomerMrT
Well, my only clue for the reflection bug would be that it is in a large level. 19041 linedefs, 4656 sectors, 33286 sidedefs. Would it help if I'd send the crash report?

EDIT: For the spirit imp stuff, it might be that it has sprite sizes of non power of 2? But how did it work in the earlier versions then?

EDIT2: Confirmed. The sprites are non powers of 2 and they don't work. I tried it with 64x64 and it worked fine. Now it would be good to restore the warp behavior to be identical to Gzdoom 1.2.1 r309 offical release.

Re: [SVN]Two opengl related bugs

Posted: Thu Jul 23, 2009 21:30
by Graf Zahl
DoomerMrT wrote:Well, my only clue for the reflection bug would be that it is in a large level. 19041 linedefs, 4656 sectors, 33286 sidedefs. Would it help if I'd send the crash report?
Not really. Having the level to actually make the debug build run into the crash would help.
EDIT: For the spirit imp stuff, it might be that it has sprite sizes of non power of 2? But how did it work in the earlier versions then?
Shader based warping works for any texture size. But if the texture needs to be manipulated it won't.
EDIT2: Confirmed. The sprites are non powers of 2 and they don't work. I tried it with 64x64 and it worked fine. Now it would be good to restore the warp behavior to be identical to Gzdoom 1.2.1 r309 offical release.
Can't do that. The old behavior was not compatible with ZDoom because it changed the texture sizes in some cases.

Re: [SVN]Two opengl related bugs

Posted: Fri Jul 24, 2009 12:05
by DoomerMrT
PM with the map sent.

Re: [SVN]Two opengl related bugs

Posted: Sat Jul 25, 2009 8:27
by Graf Zahl
The crash is the same as this one.

But so far I haven't figured out why the internal data structure gets destroyed...

Re: [SVN]Two opengl related bugs

Posted: Sat Jul 25, 2009 9:51
by DoomerMrT
The answer is the slopes near to it. I just did an experiment map with a slope and it crashes with a reflection floor near it. Umm not sure if this helps after all but probably more than nothing.


http://hwc-tm.extra.hu/stuff/reflection.zip