Sign in to follow this  

[SLIMDX] Meshes into a vertex buffer ?

Recommended Posts

Hi, fairly new at this, and need some advice. I'm writing a CAD type program in VB.NET using DX9 and SLIMDX using only Fixed Pipeline functions.

All going well, and displaying around 1,000,000 primitives fairly smoothly. However.

One part which is killing performance is displaying 20-30,000 different sized spheres using the Mesh.DrawSubset command in a loop to transform a common mesh and position copies around the 3D world, [i]every frame[/i]

Can I load these into a static vertex buffer, or maybe create triangle primitives from the mesh to do the same? How? Thanks in advance for any pointers

Share this post

Link to post
Share on other sites

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