Hi Erik,

----- Mail original -----
> 
> Hi,
> 
> Has anything changed in the viewer or sun positioning code in the
> last
> year or so? I've been trying to hunt down why the fog/skydome
> brightening effect is misaligned with the sun position and basically
> concluded the following line at libe 451 of Time/light.cxx is the
> cause
> 
> _sun_rotation = atan2(local_sun_vec.x(), -local_sun_vec.y());
> 
> But that line has been there for a very long time..?

There was a misalignment in the water shader between the sun and 
its reflection in the water that Tim fixed. See issue #182 
(http://code.google.com/p/flightgear-bugs/issues/detail?id=182)

His commit seems to be this one : 
https://gitorious.org/fg/flightgear/commit/79a2173ef9d6d04af8815d658c0a4daedf553ac4

If you change something in that area, please be sure that the water shader is 
still ok

Regards,
-Fred

------------------------------------------------------------------------------
All of the data generated in your IT infrastructure is seriously valuable.
Why? It contains a definitive record of application performance, security
threats, fraudulent activity, and more. Splunk takes this data and makes
sense of it. IT sense. And common sense.
http://p.sf.net/sfu/splunk-d2dcopy2
_______________________________________________
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel

Reply via email to