View Full Version : Stencil Buffer
09-13-2001, 01: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?
09-13-2001, 01:40 PM
You need to be in 32bpp mode and then request 24 bit z and 8 bit stencil. Works here.
09-13-2001, 01: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).]
09-13-2001, 03:36 PM
What video card are you using?
09-14-2001, 08: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.3 Copyright © 2017 vBulletin Solutions, Inc. All rights reserved.