Thank you!

Yes, I agree the border looks somewhat displaced but this is actually 
because the fogcolor and the skydome don't match the sun (yet ;-).
It's noticeable especially in the picture with the Citation or if the 
sun gets orange-red while the sky's blue and the fog is pinkish.
If the sky/fogcolors would be close to the outer halo you won't notice. 

Besides the halo get's smaller the higher the sun is, so the big halo is 
actually only  visible  at angles  near the horizon.

I'll take a look at the visual_environment code these days (if it's not 
to hot to sit in front of this heater called computer...).
I hope this'll bring a solution, however i'm not quite sure if i can get 
everything out of the repaint method.
We'll see and I'll keep you informed.


@Vassilii: *g* What a compliment ;-)

Mark

Melchior FRANZ wrote:
> * Mark -- Sunday 09 July 2006 19:03:
>
> Looks beautiful, indeed. (Only the outer halo border is a bit too
> obvious.  :-)
>
>
>
>   
>> Right now i'm doing alot of calculations in the repaint-method that 
>> deals with enviromental values, such as humidity, visibility and density.
>> This is necessary, since this kind of information currently is dealt 
>> with in FlightGear's Enviroment branch. Since the sun is calculated in 
>> Simgear, I can't access the information there.
>>     
>
> Look how the rain code does it. It uses default parameters, but has
> a config function in simgear/environment/visual_enviro.cxx that is
> called with a property node as argument. This is then called from
> fgfs and tells simgear where to get the 'real' parameters from.
>
>   SGEnviro::config(const SGPropertyNode* n)
>
> m.
>
>
> -------------------------------------------------------------------------
> Using Tomcat but need to do more? Need to support web services, security?
> Get stuff done quickly with pre-integrated technology to make your job easier
> Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
> _______________________________________________
> Flightgear-devel mailing list
> Flightgear-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/flightgear-devel
>   


-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel

Reply via email to