PDA

View Full Version : Retrieving a screen position



jong_allegraud
11-05-2003, 07:43 AM
Hi,
I d like to know if there is an easy way to get the screen position (the coordinate in the viewport) of a point used and transformed with opengl. To be clearer, i have a 3D object on which i make some transformations and i d like to crop the rendered image to the bounding rectangle of this object.

Can anyone help me

Jong

mogumbo
11-05-2003, 07:48 AM
try gluProject()