Hi Robert, hi everyone,

(It's about the problem I encountered in the "Need explanation about a strange 
behaviour with RenderBin" thread.)

Good news! Artifact has been reproduced with a much smaller code (Source code 
attached): light seem to be rotated as the last deleted model was (or something 
similar) if a default-initialized LightSource is under the root node (the 
"wrong" LightSource) and another one is present (the "right" LightSource).

I still don't understand *why* it appears. Any ideas?

Maybe it's a stupid thing I didn't see in my code (that sometimes happens) but 
it's been hours working on it and no mistake has been spotted (yet).
If someone can witness the artifact (with the given source or not), that may 
help... Some notes are included in the attached source.

Thank you.

Sukender
PVLE - Lightweight cross-platform game engine - http://pvle.sourceforge.net/

Attachment: Lighting artifact.cpp
Description: Binary data

_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to