PDA

View Full Version : Erroneous cylinder normals with "glu_inside"



GN
12-16-2002, 04:26 AM
When using the GLU Quadric primitive function gluCylinder to draw an inside of a cone (or frustum of a cone), setting gluQuadricOrientation = glu_inside, the faces are flipped inwards but the normals obviously aren't. This causes a wrong light reflection. Any workaround to this?

JustHanging
12-16-2002, 05:02 AM
If you use opengl lighting, use two-sided lighting.

-Ilkka