PDA

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



mdog1234
10-06-2002, 11:19 AM
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, 11:21 AM
You could do the multiplication yourself pretty straightforwardly...

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

Bob
10-06-2002, 11:53 AM
The modelview matrix perhaps?