• Advertisement


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

Faster framerates when using Device.SetTransform() ? Weird!

This topic is 5603 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 I'm rendering 1 rectangle with this code:
device.SetStreamSource(0, vertexBuffer, 0);
device.VertexFormat = CustomVertex.PositionColored.Format;
When setting the world transform before rendering I get about 400 fps, not set the world transform gives me about 370 fps, isn't that strange? Also, for every rectangle I add to the scene the fps drops with about 30-40. Anyone knows what I could be doing wrong? Thanks in advance! /Kobingo Also, I'm using DirectX 9 with C#... [edited by - Kobingo on December 24, 2002 5:14:20 PM]

Share this post

Link to post
Share on other sites

  • Advertisement