Sign in to follow this  

Optimizing code

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

This topic is 4865 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.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this