PDA

View Full Version : How do I find the coordinates of a vertex transformed only by the ModelView mat



mdog1234
10-06-2002, 12:19 PM
if i have the point for example (2,2,2) and then i apply a glTranslatef(anything here) how do i find the coordinates of the new point?

Omaha
10-06-2002, 12:21 PM
You could do the multiplication yourself pretty straightforwardly...

mdog1234
10-06-2002, 12:24 PM
so what should I multiply my original vector by

Bob
10-06-2002, 12:53 PM
The modelview matrix perhaps?