Once I have my projection matrix setup, and I start my render loop, what are teh minimal steps for inserting objects independently of each other into the scene? Do I need to reset the model-view matrix each time by calling glLoadIdentity()?
Is this correct?
glLoadIdentity();
glTranslatef(x, y, z);
glRotatef(pitch, 1.0, 0.0, 0.0);
glRotatef(yaw, 1.0, 0.0, 0.0);
glRotatef(roll, 0.0, 0.0, 1.0);
glBegin();
.
.
.
glEnd();
thanks,
CD