Archived

This topic is now archived and is closed to further replies.

stefu

How To Render Queue

Recommended Posts

Hi people, I turned my game to use BSP for drawing the scene instead of D3DXMesh portals. Triangles Drawn per frame dropped from 20000 to about 400. The framerate is still ''bout the same but I''m rendering one triangle per DrawPrimitiveUP call and calling SetTexture for each triangle :D Now I need to queue triangles and render them all at once for each texture. How do I do this using Dynamic VertexBuffer. 1. Separate Queue for each texture. 2. A queue for triangles and texturepointer. 3. I have no idea. Thanks.

Share this post


Link to post
Share on other sites