PDA

View Full Version : lighting is not right



jyoung77
03-21-2003, 01:17 PM
Hi,

I render some quardric objects using gluCylinder, gluDisk(), etc. But it seems that all the faces reflect the same amount of light. Do you know why? I know I have to set normals for drawing polygons. But I am drawing quardric objects, not polygons. I also know that it can be caused if diffuse light is too weak while ambient light is too strong. But it is not my case. Please help. Thanks.

Tony

Bob
03-21-2003, 02:04 PM
Have you enabled normal generation for the quadric object?