Sign in to follow this  

Does ID3DXSprite set up your projection for you?

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

Looking to use ID3DXSprite for a 2D project over textured quads (since the summer update made it uber-slick and sexy). Does it automatically setup an orthographic projection for you? I don't want it to anti-alias anything, and I don't want it to mipmap / distort anything. I want pixel perfect sprites to appear in my 2D game. Does ID3DXSprite do any of the above stuff mentioned? Is ID3DXSprite the way to go? I can't see a reason not to use it after 9.0b.

Share this post


Link to post
Share on other sites
Yes and no. It does just what you want in other words. :) Call pSprite->Begin(D3DXSPRITE_DONOTMODIFY_RENDERSTATE) if you want to set your renderstates ahead of time.

It's the way to go.

Good luck,
Chris

Share this post


Link to post
Share on other sites

This topic is 4813 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.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this