View Full Version : Translation and rotation after glBegin()
Is there anyway of doing translation and rotations between the glBegin() and glEnd() functions ?
07-15-2005, 09:51 AM
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, 05: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
yeah thanks, i'll do that
07-15-2005, 09:45 PM
Powered by vBulletin® Version 4.2.3 Copyright © 2017 vBulletin Solutions, Inc. All rights reserved.