Jump to content
  • Advertisement
Sign in to follow this  
Daos

Optimizing code

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

In a chess game with pieces reflected on the board surface and with other overheded capabilities what is the most appropriate action that i should take(since i don't have many objects): -reject hidden points using depth testing or not use depth testing ?I forgot to mention that the pieces are imported from 3DMax so they are rather complex.
Quote:
To be or not to be, this is the question

Share this post


Link to post
Share on other sites
Advertisement
Hello,

I don't think your question has an answer. It depends on many things such as the graphic card used, the number of vertices, the screen resolution, etc...
If you don't use depth test, the sorting won't be time consuming, but maybe the overdraw will.

I think you should test both and see which one is the more efficient. But I wouldn't ne surprised if you had different results when testing on another card (an old one or on the contrary, a new one).

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.

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!