PDA

View Full Version : Low framerate in stencil reflection



cwc36
11-06-2003, 07:57 PM
Hi,

Why my stecilbuffer reflection's frame rate is very low? Do you think that is normal?
The working file is linked as below:
http://myopendemo.hypermart.net/opengl3.htm

Thanks.

NitroGL
11-06-2003, 09:56 PM
Just going to take a wild stab at it, but I'm guessing you're running 16bit color, right? Try 32bit color depth.

cwc36
11-09-2003, 04:48 PM
Hi,

I changed to 32 bit. The frame per seconds has been increased. Could you please give me some brief explaination about what are going on?
Thanks.

NitroGL
11-09-2003, 07:46 PM
On some older cards, when running 16bit color, the depth is forced to 16bit. Forces memory into allignment, I think.

Relic
11-10-2003, 05:56 AM
No, some older chips can not support stencil in hardware in 16 bit color resolutions because color and depth need to have the same bit count.
You have to switch to 32 bit color resolutions to get pixelformats with 24 bits depth and 8 bits stencil with hardware acceleration on these.

V-man
11-10-2003, 09:46 AM
It's not just on old ones.

If you have 16 bpp desktop, and ask for 8 bit stencil, then you risk getting GDI rasterizer.