Jump to content
  • Advertisement

Archived

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

Jirka

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

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

Advertisement
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

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

Participate in the game development conversation and more when you create an account on GameDev.net!

Sign me up!