I’m rendering 3D text to the screen. First I translate into the screen by 6 so the object is visible then rotate it on the Y axis.
The problem is this: When OpenGL draws the 3D text it renders it so that the origin of the object is in the top left corner. When it rotates on the Y axis it rotates around this origin. So…
How do I set the origin to be the centre of the 3D text rather than the top left so that it will rotate on the spot (without moving left or right)?
Translating doesn’t work because it moves the object. I don’t want to move the object just the coordinate system. Anyone understand this?