View Full Version : Q. bout translations

11-10-2003, 12:22 PM
when v translate a polygon, does opengl translate it from the first point or from the center of the polygon?

i have a display list that draws a polygon, and i want to translate it. should i translate it with reference to one of its vertices/edges or the center of the polygon?

11-10-2003, 01:12 PM
Every vertex is translated.

11-10-2003, 04:01 PM
OpenGL doesnt translate ne object, it uses transformation of coordinate systems,

Although it pretty similar and confusing with point transformations, its different!

U can read more bout this in ne graphics book or http://courses.cs.vt.edu/~cs4204/lectures/2dtransform_lecture.pdf