PDA

View Full Version : Q. bout translations



mithun_daa
11-10-2003, 01: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?

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

virtualchetan
11-10-2003, 05: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