Archived

This topic is now archived and is closed to further replies.

Where on axes x,y,z did i click ?

This topic is 5522 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 need to get where on axes x,y,z did i click. Does somebody know how to get it ?

Share this post


Link to post
Share on other sites
look into gluUnproject. Also note that a 2D point on the screen ;will not map directly to a 3D point in space; you will have to solve for the exact position by combining other information.


Don''t listen to me. I''ve had too much coffee.

Share this post


Link to post
Share on other sites
Can u please write something more exact, i dont know opengl so well, so it would be very helpful.

Share this post


Link to post
Share on other sites
Can u please write something more exact, i dont know opengl so well, so it would be very helpful.

Share this post


Link to post
Share on other sites
Can u please write something more exact, i dont know opengl so well, so it would be very helpful.

Share this post


Link to post
Share on other sites
READ THE DOCUMENTATION ON GLUUNPROJECT.

Also, if you don''t know linear algebra, you shouldn''t even be trying this (or openGL in general). You will need it.


Don''t listen to me. I''ve had too much coffee.

Share this post


Link to post
Share on other sites