Jump to content
  • Advertisement

Archived

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

stefu

How To Render Queue

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

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
Advertisement

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

Participate in the game development conversation and more when you create an account on GameDev.net!

Sign me up!