Hi Tat, thanks. That's the same patch that I mentioned elsewhere in this thread. I can test on linux tomorrow but not windows.
As for the weather, I haven't tested it explicitly in linux the last day or so, but IIRC it is not OS X specific. On Nov 25, 2007 7:09 PM, Tatsuhiro Nishioka <[EMAIL PROTECTED]> wrote: > Hans, > > Why don't you try this patch for the sun problem. > This is for 0.9.10 but should work on 0.9.11-pre2. > > The cause of this problem is the order of adding texture path. > Thus I changed its order so the sun gets rendered properly. > > Durk, (and more developers), could you test this patch so it can run > on linux and windows properly? > If so, please apply this patch. Otherwise, I'm gonna make a new patch > with #ifdef __APPLE__ #endif closure > not to affect other platforms. > > About the weather problem, let me check it later. > I'm gonna be out for a while for a business trip so I'll check that > later. > > Best, > > Tat > > > --- org/FlightGear-0.9.10/src/Main/main.cxx 2006-03-21 > 10:52:29.000000000 -0800 > +++ flightgear/FlightGear/src/Main/main.cxx 2006-11-20 > 16:06:35.000000000 -0800 > @@ -787,13 +787,6 @@ > > // TODO: move to environment mgr > thesky = new SGSky; > - SGPath texture_path(globals->get_fg_root()); > - texture_path.append("Textures"); > - texture_path.append("Sky"); > - for (int i = 0; i < FGEnvironmentMgr::MAX_CLOUD_LAYERS; i++) { > - SGCloudLayer * layer = new > SGCloudLayer(texture_path.str()); > - thesky->add_cloud_layer(layer); > - } > > SGPath sky_tex_path( globals->get_fg_root() ); > sky_tex_path.append( "Textures" ); > @@ -812,6 +805,15 @@ > globals->get_ephem()->getNumStars(), > globals->get_ephem()->getStars() ); > > + > + SGPath texture_path(globals->get_fg_root()); > + texture_path.append("Textures"); > + texture_path.append("Sky"); > + for (int i = 0; i < FGEnvironmentMgr::MAX_CLOUD_LAYERS; i++) { > + SGCloudLayer * layer = new > SGCloudLayer(texture_path.str()); > + thesky->add_cloud_layer(layer); > + } > + > // Initialize MagVar model > SGMagVar *magvar = new SGMagVar(); > globals->set_mag( magvar ); > > > > > > On Nov 25, 2007, at 6:06 AM, Hans Fugal wrote: > > > I verified that these two do still exist. Allow me to elaborate, > > though they have been reported before. > > > > On OSX, for some unknown reason the sun is displayed as a square (or > > diamond, if you like) instead of as a circle. Unknown to me, anyway; I > > think the MacFlightGear folks have a patch. Here's a screenshot: > > http://hans.fugal.net/tmp/fg/square-sun.png > > > > The weather bug is in two pieces, actually. First, when you go into > > the Weather Scenario dialog, "None" is always selected, regardless of > > what weather is actually being used. If one is using real weather > > fetch as I am, it should say METAR. > > > > When real weather fetch is enabled, no matter what Weather Scenario > > (thunderstorm, none, fair) or what conditions or clouds I set > > manually, it instantly reverts to real weather. > > > > I think these two bugs should be fixed before release. I think the > > square sun is an easy fix (hopefully the MacFlightGear people can > > chime in here). If fixing the weather bug isn't feasible, then we > > should at least disable those dialogs when real weather fetch is > > enabled. > > > > On Nov 24, 2007 10:19 AM, Hans Fugal <[EMAIL PROTECTED]> wrote: > >> On Nov 22, 2007 5:04 PM, Tatsuhiro Nishioka <[EMAIL PROTECTED]> > >> wrote: > >>> Durk, > >>> > >>> Thanks for building the official pre2 source packages. > >>> > >>> I tried your pre2 sources on my MacBook Pro and I successfully built > >>> it with > >>> no problem. so there's no urgent patches for Mac OS X port. > >> > >> What about the square sun problem? I'm still seeing that in CVS > >> fgfs-plib from a month ago. I'm also still seeing the stubborn > >> weather > >> problem - where no matter what I set weather scenario to, changing > >> wind or clouds does not stick. These bugs may have been fixed in the > >> meantime. I'm downloading the prerelease to build and see for sure. > >> > >> -- > >> Hans Fugal > >> Fugal Computing > >> > > > > > > > > -- > > Hans Fugal > > Fugal Computing > > > > > ------------------------------------------------------------------------- > > This SF.net email is sponsored by: Microsoft > > Defy all challenges. Microsoft(R) Visual Studio 2005. > > http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ > > _______________________________________________ > > Flightgear-devel mailing list > > Flightgear-devel@lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/flightgear-devel > > > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Microsoft > Defy all challenges. Microsoft(R) Visual Studio 2005. > http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ > _______________________________________________ > Flightgear-devel mailing list > Flightgear-devel@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/flightgear-devel > -- Hans Fugal Fugal Computing ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Flightgear-devel mailing list Flightgear-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/flightgear-devel