Advertisement Jump to content
Sign in to follow this  

Directx - Fixing the coordinate axes

This topic is 4320 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
Sign in to follow this  

  • Advertisement

Important Information

By using, you agree to our community Guidelines, Terms of Use, and Privacy Policy. is your game development community. Create an account for your GameDev Portfolio and participate in the largest developer community in the games industry.

Sign me up!