View Full Version : Stencil Buffer
Boresight
09-13-2001, 12:38 PM
I want use the stencil buffer for a reflection effect in a pure Win32 program, but when I enable the stencil buffer the performance low dramaticaly. 3 or 4 fps in window mode. I've try with 1, 8 and 16 in PIXELFORMATDESCRIPTOR.cStencilBits parameteter but I didn't obtain any change.
I guess that the problem is in the OpenGL context creation.
Somebody know what is the solution?
Michael Steinberg
09-13-2001, 12:40 PM
You need to be in 32bpp mode and then request 24 bit z and 8 bit stencil. Works here.
Boresight
09-13-2001, 12:59 PM
I just try it, and it doesn't work http://www.opengl.org/discussion_boards/ubb/frown.gif
[This message has been edited by Boresight (edited 09-13-2001).]
DFrey
09-13-2001, 02:36 PM
What video card are you using?
Boresight
09-14-2001, 07:21 AM
It's a Intel 810 Graphics Controller.
And yes, it's possible that this card doesn't have stencil buffer with hardware support, but I've run glut examples with stencil buffer and them run well.
I going to try with other card.
Powered by vBulletin® Version 4.2.0 Copyright © 2013 vBulletin Solutions, Inc. All rights reserved.