Jump to content
  • Advertisement

Archived

This topic is now archived and is closed to further replies.

LongJohn

is the stencil buffer hardware accelerated ?

This topic is 5687 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

hi, i was wondering why my performance is extremly bad when making reflexions with the stencil buffer. is this not hardware accelerated on my GF4 ? //im reflecting moving spheres (32,32) with one light. //math for movement is simple.

Share this post


Link to post
Share on other sites
Advertisement
Well it should be fine but you haven''t mentioned what the rest of your specs are but I doubt you have a shit P.C. if you have a GF4. What do you mean extremely bad anyway? It''s running at something like 2fps? Oh and you don''t actually do the reflection bit with the stencil buffer really. The stencil buffer just allows you to not draw the bits of the reflection you shouldn''t be able to see

Share this post


Link to post
Share on other sites
it´s a GF4/athlon1,1.7ghz/512mbDDR,etc..
slackware linux GLX/openGL/gcc3.2

this IS the scene,7 textured ´32 spheres ticking around,with a few quads/lines/triangles (only a few!)

running 1024/768/16

without mirror..i guess 50-150 FPS
with mirror..15 FPS at max.

the strange thing is it´s always 15 FPS not depending if i look in the mirror or not !



quote:Oh and you don''t actually do the reflection bit with the stencil buffer really. The stencil buffer just allows you to not draw the bits of the reflection you shouldn''t be able to see


so this shouldn´t cost any performance ?

Share this post


Link to post
Share on other sites
No I was just saying about the stencil buffer not actually doing the reflections cause, well it sounded like you thought it did.

Well I don''t know why it''s running slow. Post your render code so I(or someone else) can take a look at it

Share this post


Link to post
Share on other sites
quote:
Original post by LongJohn
as far as i know X only does 24 bit depth.

could anybody think about 14 spheres beeing so mutch ?


When set to use 24-bit, X will usualy use 32-bit instead, it depends on the server.

Share this post


Link to post
Share on other sites

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!