I’ve just started learning OpenGL, so to mess around with some stuff I made a program that displays two cubes and rotates them around. This screenshot shows the problem:
The cube that is shown correctly is in the center of the coordinate system, and rotates about itself; the cube which is mostly missing (the green and blue faces are the very edges of two of its faces, the red is probably hiding behind the first cube) seems to get that effect every time it gets near the first cube on the screen, but not necessarily touching it. The messed-up cube has the same orientation as the first. The only GL state I have enabled is culling. Any ideas what’s up?
[This message has been edited by strangeduck (edited 06-22-2003).]