On Fri, 2005-11-11 at 13:07, Erik Hofman wrote: > Ladislav Michnovic( wrote: > > 2005/11/11, Erik Hofman <[EMAIL PROTECTED]>: > >> There's one thing I really like to see solved preferably before 0.9.9 > >> (but it is a must for 1.0) and that's the sun/moon azimuth calculation > >> code to be replaced. > > > > If you are talking about code from xglobe ( src/Time/sunpos.cxx, > > moonpos.cxx) , which licence is quite problematic, I hope it would be > > solved as soon as possible. > > Yes, that's the code. > I now have a fully working version without any of the affected code, > just a routine which was written by Curtis anyhow. >
Well, Erik, you've done *far* better than I did in less time. I got lost in the mass of 3D vector stuff that was working out how to light the scene and shift the skyglobe based on knowledge (from Xearth) of what point on earth had the sun directly overhead! I got as far as replacing the Xearth stuff with a simple "get the sun's alt and azim for a given place on earth" routine, but couldn't untangle the rest. I shall go hang my head in shame somewhere quiet.... Steve _______________________________________________ Flightgear-devel mailing list [email protected] http://mail.flightgear.org/mailman/listinfo/flightgear-devel 2f585eeea02e2c79d7b1d8c4963bae2d
