Computer Science Canada

rotations in openGL

Author:  Tony [ Sat Jun 14, 2003 5:58 am ]
Post subject:  rotations in openGL

I've been reading though tutorials on openGL and there's one thing I dont really get - rotations.

code:

glRotatef(g_RotateX, 0, 1.0f, 0);


I understand the parameters and all... But how does the program know which object to rotate? unless this rotates the camera Confused

openGL soo confusing Evil or Very Mad Probly because I'm trying to load up and work with 3DSMAX objects instead of making simple once polygon by polygon... Confused

Author:  Tony [ Sat Jun 14, 2003 7:50 am ]
Post subject: 

nvm, I figured out all that glLoadIdentity(); deal Very Happy

If anyone cares, here're my super cool rotating triangles Laughing


: