I am trying to render a model in Direct3D using DrawIndexedPrimitives. However, I am not able to see it on screen. What are the usual methods used to debug a Direct3D model?
I've tried the following:
- Switched off back face culling
- Used
PrimitiveType.LineStripinstead ofPrimitiveType.TriangleStrip - Several combinations of View and Projection matrices.
- Used AutoCAD to plot the vertices as tiny spheres