Sign in to follow this  

DX9 World-To-Screen

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

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