Le Tue, 18 Nov 2008 15:13:39 +0100, Sukender <[EMAIL PROTECTED]> a écrit:

> Le Tue, 18 Nov 2008 15:06:29 +0100, Sukender <[EMAIL PROTECTED]> a écrit:
>
>> 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/
>
>
> Err... I just spotted the normals are rotated...
> Going to try GL_NORMALIZE or GL_RESCALE_NORMAL... :(
>
>
> Sukender
> PVLE - Lightweight cross-platform game engine - http://pvle.sourceforge.net/
> _______________________________________________
> osg-users mailing list
> [email protected]
> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org


Hum... sorry about mailing too much... but GL_NORMALIZE/GL_RESCALE_NORMAL was a 
stupid idea. Just forget my previous mail.
Any idea for the promblem though?

Sukender
PVLE - Lightweight cross-platform game engine - http://pvle.sourceforge.net/
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to