View Full Version : transformations order

12-03-2006, 01:30 PM
Hi guys, a simple question from me :)
I draw an object somewhere in 2d space (not at the origin), but when I want to apply a scale to it, strange things happen. When the object is drawn near the origin, the scaling seem fine. So do I have to move an object back to the origin in order to scale it ?

12-03-2006, 03:41 PM
Post your code, and the answer is no...

12-03-2006, 04:28 PM
You need to call glTranslate before glRotate and glScale.

I had this problem a while back as well.