Jump to content
  • Advertisement
Sign in to follow this  
spiffycrony

Directx - Fixing the coordinate axes

This topic is 4202 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 am trying to draw the xyz coordinate exes at a fixed position in the picture box. I am doing the following. 1. Get the world coordinates(x, y, z) at a fixed point on the picture box(xp, yp, zp) using the function D3DXVec3Unproject. However I can get two sets of values(x1,y1,z1 & x2,y2,z2) for zp=near plane and zp=far plane. Which one to choose?. I want the coordinate axes to remain at the same position even when i rotate the model. Is there any other method to draw the axes at a fixed position?

Share this post


Link to post
Share on other sites
Advertisement
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!