• Advertisement
Sign in to follow this  

Get Viewport coords of a point

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

How can I determine an object's location in my current viewport? (my viewport does not take up the entire screen) I know the location of the object and my camera position.

Share this post


Link to post
Share on other sites
Advertisement
gluProject will compute the screen space coordinates for you.
Souce code for GLU is at mesa3d.org

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement