lighting problem with mesa software rendering

"Wendt, Lars Henning" <[email protected]>
Newsgroups gmane.comp.video.mesa3d.user
Message-ID <4F6FD2DBA5E2134E8B6F4EA5AED42D251B55508E@EXMBS1.ad.igd.fraunhofer.de>
Hi all,

I'm using mesa as software renderer and I get some strange lighting effects.
In some cases it looks like the source of light is relative to the model while it should be relative to the camera.
Attached you'll find some apitraces to reproduce the error.

The problem was reproduced with the following versions of mesa:
6.5.1 linux
7.8.2 windows/linux
8.0   windows

It seems to me that it could be a numeric problem.
As you will see the modelview matrix contains rather small numbers.
Nonetheless other implementation doesn't have this problem or can cope with it.

Does anybody have an idea what is wrong? Is it a bug? Is there any chance the behavior will be improved in future mesa versions? Or did I get something wrong?

best
Lars

_______________________________________________
mesa-users mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/mesa-users
traces.zip (application/x-zip-compressed, 212.2 KB) - not displayed
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.