Simon Hollier wrote:It's strange everyone is seeing a flash to black. I'm seeing a flash to white. I was able to reproduce it consistently by flying straight out of KSFO at noon with no heading change. It would flash once at ~1230 feet, again at ~1330 feet, and maybe once or twice more right around that altitude. I was logging all sky,fog,etc.. colors, sun angle, etc.. on the flightgear side and during the flash there were no noticable variances. I then went to the simgear side commented out dome->repaint and was not able to reproduce the error. Interesting default sky colors though :> . I then uncommented dome->repaint and uncommented most of the printfs in dome.cxx(which causes 30M log files for a short flight) and wasn't able to reproduce the flashes at all( ~2 hours of flying ) before bed. Strange. Will look into it further with gdb tonight.
Yep I see it also, except 10 times higher (12300 and 13300 feet).
Could you try setting the altitude of the unused (clear) cloud layers to -1000 and check again?
Erik
Copied over to devel.
Ok, I *think* the problem is that acos(i) and -acos(i) are returning 'nan' when i=1 in Time/sunpos.cxx line ~345. I'm not sure why or if that's exactly it, but I think it's close. I'll keep working on it after I fly for while :> .
-Simon.
Simon Hollier
Computer Services
Northeast Health District
_______________________________________________ Flightgear-devel mailing list [EMAIL PROTECTED] http://mail.flightgear.org/mailman/listinfo/flightgear-devel