How can I set my program in such a way, that I can use the stencil buffer with my voodoo 3 2000 ? Thanx !
If I am not wrong you should set your
stencil buffer in the PIXELFORMATDESCRIPTOR
structure and set it with the SetPixelFormat function in Win32.
If you dont have Win32, try using the glut.
Then use “GLUT_STENCIL” as a flag for the command “glutInitDisplayMode”.
Marcus “Cruxis” Lenngren - Nopp
Thanx for your fast reply !
I had the pixelformat setup with the stencilbuffer set to 16, but my engine speed dropped from 50 fps to 3 fps, which is somewhat slow I figured my stencil buffer wasn’t hw accelerated ?
Correct, Voodoo3 has no hardware stencil buffer.
Humz, that might be the problem
Thanx dewdz !