View Full Version : Translation and rotation after glBegin()

07-15-2005, 08:29 AM
Is there anyway of doing translation and rotations between the glBegin() and glEnd() functions ?

07-15-2005, 08:51 AM

07-15-2005, 03:59 PM
thanks, what about getting the absolute coordinates of a vertex. I mean after all the translations and rotations can we get the coordinates of a vertex from the ( 0, 0, 0 ) matrix ?

07-15-2005, 04:43 PM
While you cannot use glTranslate etc between begin and end

There is nothing stopping you from doing the math directly on the vertices positions you are giving to glVertex, this would have to be in immediate mode redendering as well

07-15-2005, 05:07 PM
yeah thanks, i'll do that

Nikolai Timofeev
07-15-2005, 08:45 PM