Re: [osg-users] Light problems

From: Daniel Sjölie <deepone_at_acc.umu.se>
Date: Thu Jan 13 2005 - 04:19:21 PST

On 2005-01-13 13:16:17, Paul Melis wrote:
> Hello Daniel,
>
> Daniel Sjölie wrote:
>
> >Using those files (and osg 0.9.8-2) I get a blinking effect... The
> >lights are not turned off, culled away or anything like that -
> >everything just gets darker... We get this effect at certain viewing
> >positions/angles that changes depending on factors that I do not
> >understand... One thing I just noticed was that I didn't get that effect
> >in fullscreen in exactly this position/situation... We're definiitely
> >seeing the effect in fullscreen in generally though... It shows on
> >differend polygons in different situations and is generally very
> >confusing... I do not know what could be causing this and it certainly
> >seems like a bug to me... So... What say you?
> >
> >
> I did experience something similar in the past, but it seemed to be
> related to having more lights in the scene than my opengl implementation
> was able to handle (something like 12 in the scene, with opengl max. at
> 8). I guess that, depending on view position, the scenegraph was
> traversed slightly different and the first 8 lights encountered were
> being used while the others were not. This also resulted in
> view-dependent blinking.
>
> However, you only seem to have 3 lights...

Yes, and as you can see (at least on some polygons) it only gets darker,
none of the lights actually disappear... You can see this because the
lights are one red, one green and one blue and none of these colors
disappear...

/Daniel

-- 
Now take a deep breath, smile and don't take life so seriously... :)
_______________________________________________
osg-users mailing list
osg-users@openscenegraph.net
http://openscenegraph.net/mailman/listinfo/osg-users
http://www.openscenegraph.org/
Received on Thu Jan 13 04:19:45 2005

This archive was generated by hypermail 2.1.8 : Thu Jan 13 2005 - 04:19:46 PST