Transforming a Point
Is there an OpenGL call to simply transform a point with the ModelView matrix (or with a generic matrix)? I don't really want to have to deal with Feedback mode - all I want is to figure out where a particular point on the 'x' axis would end up given the current translation and rotation settings.
I understand it could all be done manually...but it's such a basic function that I would assume that it exists somewhere in OpenGL...
[This message has been edited by IgnoranceIsBliss (edited 11-24-2002).]
Re: Transforming a Point
I assume you mean where(x,y) in the window it would end up.So you need to consider not only modelview but also projection,viewport etc.I suggest you try gluProject to begin with.