20 years, 5 months ago
Highlights
20 years, 5 months ago
20 years, 5 months ago
Hi, all, I'm confused by lights in OpenGL. In OpenGL Programming Guide or 'The Red Book', it says "when glLight*() is called to specify the position or the direction of a light…
20 years, 5 months ago
20 years, 5 months ago
Thank you all for your suggestions.After I reset these parameters: glLightfv(lightNum,GL_AMBIENT,ambient_array); glLightfv(lightNum,GL_SPECULAR,specular_array); glLightfv(lightN…
20 years, 5 months ago
Latest Activity
See all in DiscussionsThank you all for your suggestions.After I reset these parameters: glLightfv(lightNum,GL_AMBIENT,ambient_array); glLightfv(lightNum,GL_SPECULAR,specular_array); glLightfv(lightNum,GL_DIFFUSE,diffuse_a
20 years, 5 months ago
I have tried to remove the glLoadIdentity. But it's no use.
20 years, 5 months ago
In each iteration, I apply the camera first, then the light. At last an object is drawed. And the projection …
20 years, 5 months ago