Hello,
I think there is a bug in MesaCVS and also Mesa31b2
concerning GL_NORMALIZE.
This bug only occurs during rare circumstances where:
-1- Spotlights are used
-2- Display lists are used
-3- GL_NORMALIZE is used,
-4- scaling trf matrices are used.
Doing any of the following, will make the bug disappear:
-1- Don't use displaylists ('l' key)
-2- Use GL_RESCALE_NORMALS instead of GL_NORMALIZE
-3- Switch off spotlight ('s' key)
glut demo program is at:
http://www.xs4all.nl/~stolk/hq/polarpyramid-matrix44-1.5.tar.gz
NOTE: You need to start it, and press 'l' for lists and 's' for spots.
Beware: this version does both GL_NORMALIZE and GL_RESCALE_NORMAL,
which is ofcourse does not make sense, but here are the combinations:
GL_NORMALIZE enabled? GL_RESCALE_NORMALS enabled? Outcome
-------------------------------------------------------------------------
N N lighting not OK (As
expected!)
Y N lighting not OK (bug)
N Y lighting OK
Y Y lighting not OK (silly, yet
bug)
Note that the last combination is ofcourse silly.
But the 2nd is a real bug I think.
tested:
MesaCVS may23, linux-386-glide
Mesa3.1b2, linux-386-elf
Bram Stolk
_______________________________________________
Mesa-dev maillist - [EMAIL PROTECTED]
http://lists.mesa3d.org/mailman/listinfo/mesa-dev