View Full Version : Artifacts in gluCylinder ????
03-12-2001, 01:43 AM
I am drawing some cylinders using gluCylinder and it is showing strange black artifacts on the cylinder if I rotate the scene. Lighting is enabled. does anybody know what could be the problem.
03-12-2001, 03:07 AM
Just a stab in the dark:
Try to enable normalization of normals if you scale the cylinders.
03-12-2001, 04:01 AM
Tried that.. didnt work, in the end the problem turned out that i had set the znear factor to 0.01 in gluPerspective. changing it to 0.1 removed the artifact. Thanx anyway.
03-12-2001, 05:23 AM
Another stab in the dark:
Maybe your far limit in the frustum is too big.
Powered by vBulletin® Version 4.2.3 Copyright © 2017 vBulletin Solutions, Inc. All rights reserved.