Hello,
I want to have multiple GLUT objects: 4 glutSolidSphere() and 3 glutSolidCylinder(), but it doesn’t look good:
As you can see it doesn’t look right. Every one of them are on the same z-coordinate (-10) so it should look like this:
Hello,
I want to have multiple GLUT objects: 4 glutSolidSphere() and 3 glutSolidCylinder(), but it doesn’t look good:
As you can see it doesn’t look right. Every one of them are on the same z-coordinate (-10) so it should look like this:
Ensure that you have a depth buffer and that depth tests are enabled. If you’re using a perspective projection, ensure that the near distance isn’t too small.
Yeah, near distance was a bit too small. Thanks!
What are the latest news about you question? Did you decide it?