Archived

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

Direct3D Sprites Anti-Alias

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

Are you using ID3DXSprite? If so I haven''t found a way to do it yet. If anyone knows a way, please post it !

- master_ball

----------------------------
We R 138

Share this post


Link to post
Share on other sites
Remember to set all three of the filter texture states equal to D3DX_FILTER_NONE (both for shrinking and magnifying, as well as for mipmapping)

Also (assuming that you use the D3DXLoadTextureFrom* functions to load your bitmaps), set the appropriate parameters on THAT function to D3DX_FILTER_NONE.

I haven''t the foggiest whether this oughta work or not - try it out and tell us

GL
Spyros

-----------<<>>-----------
Flareman (a.k.a Ga1adaN)
Primus ante Adain
flareman@freemail.gr
-----------<<>>------------

Share this post


Link to post
Share on other sites
Guest Anonymous Poster
If you are using ID3DXSprite be sure to change the filter after BegiSprite() has bee called. Change the magfilter and the minfilter to none. This ca be done through SetRenderState in DX 8.

Share this post


Link to post
Share on other sites