Jump to content
  • Advertisement
Sign in to follow this  

DX9 World-To-Screen

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

I've looked everywhere and cannot find a solution that works. I had one for DX8 using D3DXProject, but no longer works correctly in DX9. So what I'm looking for is a way to convert a D3DXVECTOR3 to a screen vector. EDIT: I would also like to be able to convert the origin of a model D3DMATRIX to a screen vector. [Edited by - AndOrXor on August 27, 2004 5:55:49 PM]

Share this post


Link to post
Share on other sites
Advertisement
What do you mean by "no longer works correctly in DX9"? It should work. Have you checked its documentation to make sure you're using it correctly?
If you can't figure it out from the documentation, post some code here please.

Quote:
EDIT: I would also like to be able to convert the origin of a model D3DMATRIX to a screen vector.

The origin can be extracted out of the world matrix by putting the _41, _42, _43 members into a vector.

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • 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!