Retrieving a screen position

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


try gluProject()