Page 1 of 1

[Solved] BSP Model Bug - Texture disappears

Posted: Fri Dec 08, 2006 6:02 pm
by x3n
as shown last wednesday, sometimes the texture layer of a bsp model disappears and only the lightmap remains.
this happens sometimes when the player enters a room and sometimes in the middle of the room while looking in a specific direction.

until now, i have no idea what could be the reason for this.

Image <=> Image

Posted: Fri Dec 08, 2006 10:51 pm
by patrick
I looked through the code of the bsp algorithm, buts it's very hard for me to find the bug, since Claudio has written this module.
Perhaps its a context problem: some gl attributs (un)set unappropriately.

Perhaps Claudio will have a clue!

Posted: Wed Dec 13, 2006 10:03 pm
by patrick
claudio just sent me in a patch for this problem. I testet the transparency_test level from fabian with it and it seems to work very well now.

thx to claudio! :beerchug:

Posted: Wed Dec 13, 2006 10:10 pm
by x3n
it works on all other levels too :)

good job, thx claudio :D

Posted: Wed Dec 13, 2006 11:15 pm
by beni
This is just great. Claudio is a genius. :D

Posted: Thu Dec 14, 2006 8:48 am
by bensch
Claudio, thanks for the big help to the orxonox project!

Posted: Thu Dec 14, 2006 7:54 pm
by lieni
thank you master C