Jump to content
  • Advertisement
Sign in to follow this  
teslaa66

backface culling issue

This topic is 3684 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

I use back face culling in my program but for some reason its culling the front faces. glEnable(GL_CULL_FACE); Is what i use, is there a way to invert what it culls?

Share this post


Link to post
Share on other sites
Advertisement
great thanks. Does it really speed up the program much at all as mine loads in many md2 models and im using fraps to view the fps and i dont notice any increase in fps.

Share this post


Link to post
Share on other sites
Quote:
Original post by teslaa66
great thanks. Does it really speed up the program much at all as mine loads in many md2 models and im using fraps to view the fps and i dont notice any increase in fps.

The raw fps change doesn't mean anything on pipelined stream processors such as modern GPUs. A render pipeline contains many stages, and each of these stages can suddenly become a bottleneck. Most graphics optimizations will only affect a single or a subset of these stages. So, if you are not limited on these particular stages, you will not notice any speedup at all. But as soon as you optimize for another stage, the bottleneck can shift back to the first one. And suddendly the optimization that didn't show any effect before will now dramatically improve performance.

As you can see, profiling a graphics pipeline is much more complex than simply reading an overall fps counter.

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement
×

Important Information

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

GameDev.net is your game development community. Create an account for your GameDev Portfolio and participate in the largest developer community in the games industry.

Sign me up!