[HOpenGL] light sources.

Sven Panne Sven.Panne at informatik.uni-muenchen.de
Thu Oct 9 23:03:37 EDT 2003


FYI: The problem has been solved: When one uses lighting, one has to
specify normals, too. Otherwise the same normal (default: Vector3 0 0 1)
is used for all vertices/surfaces, yielding strange looking results.

Two hints: GLUT's renderObject can render some useful basic geometric
objects with correct normals, and GLUT's addTimerCallback is quite
handy for simple animation.

Cheers,
    S.




More information about the HOpenGL mailing list