Instancing

Started by
4 comments, last by HarrisonPloeg 16 years, 11 months ago
How can I do instancing on SM 2.0 hardware in DirectX 9.
Advertisement
Just like they do it in the Instancing Sample in the DirectX SDK.
Sirob Yes.» - status: Work-O-Rama.
If you are rendering the same mesh several times you could just send in individual WVP matrices to every draw call. If you want to do many instances you should use hardware instancing but it's a bit trickier.
I need to be able to draw a mesh thousands of times.
The sample I linked to covers 4 different methods of instancing, for most hardware types available. It should be more than enough to get you started.
Sirob Yes.» - status: Work-O-Rama.
OK, thanks.

This topic is closed to new replies.

Advertisement