Sign in to follow this  

Efficiently drawing instanced and hierarchy meshes?

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

What is the best way I can draw meshes of the same type? For instance, if I have 8 of the same moving ship on screen, how can I best do that so most of the processing power lies on the graphics card? I am trying to limit my CPU usage as much as possible. The best method I can think of would be to set my materials/textures/fvf one time then draw what I need and repeat for any other meshes. On a similar note, for drawing (and updating) hierarchy meshes I am currently using a recursive function to go down the branches of children and siblings. Is there a better/faster way to do this? Say, some sort of loop that would work?

Share this post


Link to post
Share on other sites

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