On 08.03.2012 19:21, Curtis Olson wrote:
> I bet there's a line of code somewhere that looks like:
>
> if ( visibility_meter > 1000 ) {
>     do_sky_dome_stuff();
> }

Ha, Curt, I know you cheated! You just looked at the code, right? ;-)
simgear/scene/sky/sky.cxx, SGSky::repaint:
     if ( effective_visibility > 1000.0 ) {
         enable();
         dome->repaint();
         stars->repaint();
         planets->repaint();
         oursun->repaint();
         moon->repaint();

cheers,
Thorsten

------------------------------------------------------------------------------
Virtualization & Cloud Management Using Capacity Planning
Cloud computing makes use of virtualization - but cloud computing 
also focuses on allowing computing to be delivered as a service.
http://www.accelacomm.com/jaw/sfnl/114/51521223/
_______________________________________________
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel

Reply via email to