Re: [Flightgear-devel] Scene ambient and specular color changes

2009-04-01 Thread Frederic Bouvier
- Melchior FRANZ a écrit : visibility 0m - specular * 0 visibility 22.5km - specular * 0.5 visibility 45km - specular * 1 Why would a visibility of 22 km only give me half the specularity of a visibility of 45 km? On an object that stands a few meters in front of me!

Re: [Flightgear-devel] Scene ambient and specular color changes

2009-04-01 Thread Melchior FRANZ
* Frederic Bouvier -- Wednesday 01 April 2009: - Melchior FRANZ a écrit : Why would a visibility of 22 km only give me half the specularity of a visibility of 45 km? On an object that stands a few meters in front of me! That basically means, (almost) no more glossiness. Maybe I

Re: [Flightgear-devel] Scene ambient and specular color changes

2009-04-01 Thread Erik Hofman
Hmm, sitting in the sun today during lunch made me realize that what I'm really after is probably the effect of looking towards the sun in comparison to looking in any other direction. The Bright light of the sun seems to make the ambient light much darker (higher contrast). Anyhow, Melchior

Re: [Flightgear-devel] Scene ambient and specular color changes

2009-04-01 Thread Melchior FRANZ
* Erik Hofman -- Wednesday 01 April 2009: Hmm, sitting in the sun today during lunch made me realize that what I'm really after is probably the effect of looking towards the sun in comparison to looking in any other direction. The Bright light of the sun seems to make the ambient light much

[Flightgear-devel] Scene ambient and specular color changes

2009-03-31 Thread Erik Hofman
Hi, I have changed the specular and ambient behavior of FlightGear a bit by reducing specular highlight at decreased visibility and by increasing ambient colors at decreased visibility. This means that, form now on, when testing the color components of an aircraft it is best to switch to

Re: [Flightgear-devel] Scene ambient and specular color changes

2009-03-31 Thread syd adams
On Tue, Mar 31, 2009 at 1:42 AM, Erik Hofman e...@ehofman.com wrote: Hi, I have changed the specular and ambient behavior of FlightGear a bit by reducing specular highlight at decreased visibility and by increasing ambient colors at decreased visibility. This means that, form now on, when

Re: [Flightgear-devel] Scene ambient and specular color changes

2009-03-31 Thread Melchior FRANZ
* Erik Hofman -- Tuesday 31 March 2009: This means that, form now on, when testing the color components of an aircraft it is best to switch to 'fair weather' and play with visibility a bit (z to increase it, and shift+z to decrease it). Especially playing with visibility makes me believe that

Re: [Flightgear-devel] Scene ambient and specular color changes

2009-03-31 Thread Melchior FRANZ
This change doesn't look right to me: +float av = thesky-get_visibility(); +if (av 45000.0) av = 45000.0; +float visibility_norm = av/45000.0; -float specular = _specular_tbl-interpolate( deg ); +float specular = _specular_tbl-interpolate( deg ) * visibility_norm;

Re: [Flightgear-devel] Scene ambient and specular color changes

2009-03-31 Thread Heiko Schulz
I'm against this code- I can't really understand what's the intention of this code is- destroying glossiness? I would like to see a change of the colors depending of the clouds setting- I think I can remember that the color changed with the weather settings in plib-versions. Example: less

Re: [Flightgear-devel] Scene ambient and specular color changes

2009-03-31 Thread Vivian Meazza
Melchior This change doesn't look right to me: +float av = thesky-get_visibility(); +if (av 45000.0) av = 45000.0; +float visibility_norm = av/45000.0; -float specular = _specular_tbl-interpolate( deg ); +float specular = _specular_tbl-interpolate( deg ) *