Jump to content
  • Advertisement

Archived

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

zak_ua

Trouble with ID3DXSprite::DrawTransform

This topic is 5155 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 to all! Please, could someone help me with such question: I use DirectX 8.1, and I need to draw sprites in perspective view. So I use method ID3DXSprite::DrawTransform, but not very successfully. Can anyone tell me how to correctly prepare a transformation matrix for this function, to have full control over the sprite (it''s positioning on the screen, degree of "inclination" and so on)? And one more: AFAIK, there was a function in DirectX 7, called D3DXDrawSprite3D, which could stretch sprite between any 4 points on the screen (and besides 2 more functions, D3DXDrawSpriteSimple, which is now (in DX8) is ID3DXSprite::Draw, and D3DXDrawSpriteTransform, which is now ID3DXSprite::DrawTransform). So where did Microsoft get that 3D function? Why they have not implemented it in DirectX 8 ? Or maybe they did in DirectX 9 ? Thanks in advance.

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!