d3dxsprite

Started by
1 comment, last by Zer0 22 years, 5 months ago
hi..when i put my draw primative inside d3dxsprite begin and end. the outcome duzen look right..is there something else i must set to make it look correct ?
Advertisement
Hmmm.. I don''t use D3DXSprite, but I''m guessing that you should only put Sprite->Draw calls between begin and end because the point of those functions is to set up sprite specific states/settings.

If you really wanted to, you probably could set and reset your own settings between begin and end, but that''s kinda missing the point, unless you had some very specific reason for doing that.
Author, "Real Time Rendering Tricks and Techniques in DirectX", "Focus on Curves and Surfaces", A third book on advanced lighting and materials
It may be your 3D card, download the D3DXSprite wrapper (500KB) and run it to see if it still happens, if not refer to the source code within the download.

Hope this helps.


Downloads, D3DXSprite tutorial, New platform game: .-= The ZeroOne Realm =-.

Downloads, Free GoldLib game library, D3DXSprite tutorial, New platform game: .-= The ZeroOne Realm =-.

This topic is closed to new replies.

Advertisement