Sign in to follow this  
Nibbles

converting 3d point to 2d point (screen coord)

Recommended Posts

hi, I'm using bitmapfonts to display on screen information. However I want the text to display at the position of a 3d vertex. So what do I need to know to convert the (x,y,z) world coord to (x,y) screen coords. thanks, Scott

Share this post


Link to post
Share on other sites
ahem... yes. thank you. i have a function for converting 2d to 3d coords which uses gluUnProject. i forgot there was an gluProject as well.

thanks,
Scott

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this