I want to move 3 objects independently. The problem is, when rotating one, the others move too.
Now I tried to solve the problem like this:
glTranslatef(x1, y1, z1);
/* Draw first object */
glTranslatef(x2, y2, z2);
/* Draw second object */
glTranslatef(x3, y3, z3);
/* Draw third object */
Before I had only one glLoadIdentity, now I used 3. But now the last two objects are not visible any more! What do I do wrong?