Sign in to follow this  

Batching D3DX meshes

This topic is 4263 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 my d3d engine i am using serveal hundred meshes for grass rendering. I dynamically reposition the meshes based on distance to camera. This way i can have apparently continuous fields of grass without using millions of models. But I am wondering if there is a way to optimize this further by batching all these meshes together and draw them all with one draw call. Is there an efficient way to batch D3DX Meshes? It seem I could use D3DXConcatenateMesh, but this seems like it is slow, plus i dont get the expected results. Is the best method? or is there a better way? Or is it just too much of a pain to batch meshes that are going to be moved around dynamically?

Share this post


Link to post
Share on other sites

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