Jump to content
  • Advertisement
Sign in to follow this  
caren

how to project Z-values to World Coordinates

This topic is 2852 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 want to get the values of the z-values in the World Coordinates,and how to project Z-values to World Coordinates?

Share this post


Link to post
Share on other sites
Advertisement
Quote:
Original post by Evil Steve
Why? It'll be slow to do, inaccurate, and won't work on all hardware.

What exactly are you trying to do this for?

I think there may be some different points in vertical direction at each horizontal position in a multilayered and uneven terrain.Now what I do is getting the z-values and translating them to world space.

Share this post


Link to post
Share on other sites
I have used the D3DXVec3Unproject(),but the result is not right(I think).Is there anything to pay attention to specially?

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.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!