Re: [Flightgear-devel] Updated tree shader

2009-04-19 Thread S Andreason
syd adams wrote: That looks much better . I probably did oversaturate the textures to try and bring out the color ... they were always a little too dark here. Hi Syd, I think the saturation is perfect, given a sunny day and spring growth. The conifer trees could be brighter, even our spruce

[Flightgear-devel] Updated tree shader

2009-04-18 Thread Stuart Buchanan
Hi All, I've been playing around with the random tree generator in an attempt to get more realistic looking trees, in particular when lit by the sun. The patch below changes the shader so the diffuse light element is applied based on the co-linearity of the light vector and the viewing

Re: [Flightgear-devel] Updated tree shader

2009-04-18 Thread Frederic Bouvier
Hi Stuart, inline patches with long lines are real nightmares. Could you resend it as attached file ? Thanks, -Fred Stuart Buchanan a écrit : Hi All, I've been playing around with the random tree generator in an attempt to get more realistic looking trees, in particular when lit by the

Re: [Flightgear-devel] Updated tree shader

2009-04-18 Thread syd adams
That looks much better . I probably did oversaturate the textures to try and bring out the color ... they were always a little too dark here. -- Stay on top of everything new and different, both inside and around Java

Re: [Flightgear-devel] Updated tree shader

2009-04-18 Thread Stuart Buchanan
Frederic Bouvier wrote: Hi Stuart, inline patches with long lines are real nightmares. Could you resend it as attached file ? Thanks, -Fred See attached patch for simgear/scene/tgdb. Thanks, -Stuart Index: TreeBin.cxx

Re: [Flightgear-devel] Updated tree shader

2009-04-18 Thread Frederic Bouvier
Stuart Buchanan a écrit : Frederic Bouvier wrote: Hi Stuart, inline patches with long lines are real nightmares. Could you resend it as attached file ? Thanks, -Fred See attached patch for simgear/scene/tgdb. Commited -Fred -- Frédéric Bouvier