01-15-2004, 12:05 PM
Hey i just starting learning openGL a few days ago, and one of the main reasons I wanted to use it I'm discovering isn't possible. I wanted to be able to use the Z axis to layer sprites in a 2d game, as it would be a much easier way of coding than to handle it via my trademark slop code. I've been able to get ortho2d mode to work but it renders the z axis useless for this purpose and puts me in the same situation I was in with other 2d graphics libraries. Is there either a) a way to enable the z buffer in ortho2d mode, or b) an 'easy' work around.
second question. I've having a REALLY bad time developing on my windows98 box. Everytime i run my app a few times, the computer starts complaining about insufficient memory, my computer is rendered useless, and I have to reset my tower. I'm using SDL to open up my window, and I'm calling atexit(SDL_Quit); is there any other clean up commands I need to be calling? I can't imagine this behavior being normal. All i'm doing is calling up an 800x600 window with one quad.. I have plenty of ram and video ram on this computer. So ... it's really frustrating.
Thank you sooooooo much for your help.
second question. I've having a REALLY bad time developing on my windows98 box. Everytime i run my app a few times, the computer starts complaining about insufficient memory, my computer is rendered useless, and I have to reset my tower. I'm using SDL to open up my window, and I'm calling atexit(SDL_Quit); is there any other clean up commands I need to be calling? I can't imagine this behavior being normal. All i'm doing is calling up an 800x600 window with one quad.. I have plenty of ram and video ram on this computer. So ... it's really frustrating.
Thank you sooooooo much for your help.