On Friday 29 August 2003 21:55, Erik Hofman wrote:
> Curtis L. Olson wrote:
> 
> > A side effect of the lighting code being multiplied by sun/fog color
> > is that when these go to zero it pulls the ambient/diffuse lighting to
> > zero.
> > 
> > How about a compromize of having the diffuse lighting track the
> > sun/fog color, but have the ambient light be based off of white.  This
> > might be ok, because that stuff that is directly illuminated by the
> > sun will get colored by the sun color whilst the back sides of things
> > which should be darker anyway, will not.
> > 
> > This, plus some tweaks to the ambient table makes things look much
> > nicer (to my eyes.)
> > 
> > What do you think?
> 
> It was already too dark before the change in ambient.
> I have another solution in mind which affects the sun color, which I 
> think is the real problem right now.
> 
> At this point I use the cosine of the sun angle to calculate the light 
> between 1.0 (high noon) and 0.0 (full dark). What really is needed is to 
> add a 75% duty-cycle and an offset so it won't actual reach 0.0.
> 
> Erik

Are there any efficient ways to add the moon as a light source?

Also, the light level should never drop to 0,0,0 because of starlight (I'll 
not mention Olber's paradox here;)

I seem to recall that our eyes effectively become more monochromatic as the 
light level drops.  Something to do with rods & cones, I think.  One type is 
more sensitive to different colours and the other type is more sensitive to 
light levels (I can't remember which way aound it is).  The upshot is that 
when light levels are high enough for the colour sensitive cells to work we 
see a colour 'image' but as the light level drops we see a more monochromatic 
image because the colour cells stop working and we only get input from the 
light sensitive ones.  Is there a way of dynamically adjusting the colour 
saturation, or achieving a similar effect?

Also, also, if you could possibly find a way of introducing up-lighting when 
passing over towns/built-up/etc. from the texture types...  that would be 
sooo cool;)

;)

LeeE


_______________________________________________
Flightgear-devel mailing list
[EMAIL PROTECTED]
http://mail.flightgear.org/mailman/listinfo/flightgear-devel

Reply via email to