How hard would it be to change the background colour based on the camera 
altitude? Even a linear gradient between two set points would work, I think.


> Date: Wed, 18 May 2011 22:41:54 +0200
> From: bre...@gmail.com
> To: flightgear-devel@lists.sourceforge.net
> Subject: Re: [Flightgear-devel] Testing OSG-trunk / bug issue #268
> 
> Ok, the black sky issue was indeed caused by changing the clear color.
> The effect is really ugly - black sky when flying through clouds or
> fog. Also black sky when flying above a cloud layer. And it's not
> restricted to 2D clouds alone.
> 
> That's the relevant commit:
> http://www.gitorious.org/fg/flightgear/commit/b36b33f716031ef5933d41a1e5c17c6be3e54c28
> 
> Apparently the change was introduced "only" to turn the color of space
> black instead of gray. I think flying through clouds/fog is more
> important than space-flights for now, so I'm planning to revert that
> particular commit shortly until we have a better solution. I know it's
> a pity and I apologize to all Vostok-1 cosmonauts. :-)
> 
> Any objections (preferably accompanied by a patch ;-) )?
> 
> cheers,
> Thorsten
> 
> 
> On Wed, May 18, 2011 at 9:58 PM, Alan Teeder <ajtee...@v-twin.org.uk> wrote:
> >
> > --------------------------------------------------
> > From: "Martin Spott" <martin.sp...@mgras.net>
> > Sent: Wednesday, May 18, 2011 8:15 PM
> > Newsgroups: list.flightgear-devel
> > To: <flightgear-devel@lists.sourceforge.net>
> > Subject: Re: [Flightgear-devel] Testing OSG-trunk / bug issue #268
> >
> >> ThorstenB wrote:
> >>
> >>> Thanks Curt, that sounds very much like a possible reason. Was that a
> >>> change to fg/sg or fgdata? Anyone remembers the exact commit?
> >>
> >> As far as I remember, it's related to "Lauri Peltonen" and "sky dome",
> >> it's implementing a shader (among other stuff) and was indeed meant to
> >> bring FG closer to how the sky looks in real life: black  :-)
> >> I'd have a few commits on offer which might be related, but at least
> >> one of them is hiding the possible changes in a big reformatting rush
> >> (preferences.xml).
> >>
> >
> >
> > Thorsten, Martin.
> >
> > There is a reference to the black sky problem on the forum at
> > http://www.flightgear.org/forums/viewtopic.php?f=47&t=11274&start=30 by
> > "Zan", the author of the atmospheric scattering patch .
> >
> > I have been trying various cloud combinations with an aircraft parked on the
> > runway, but so far have not made any visible changes.
> >
> > Alan
> 
> ------------------------------------------------------------------------------
> What Every C/C++ and Fortran developer Should Know!
> Read this article and learn how Intel has extended the reach of its 
> next-generation tools to help Windows* and Linux* C/C++ and Fortran 
> developers boost performance applications - including clusters. 
> http://p.sf.net/sfu/intel-dev2devmay
> _______________________________________________
> Flightgear-devel mailing list
> Flightgear-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/flightgear-devel
                                          
------------------------------------------------------------------------------
What Every C/C++ and Fortran developer Should Know!
Read this article and learn how Intel has extended the reach of its 
next-generation tools to help Windows* and Linux* C/C++ and Fortran 
developers boost performance applications - including clusters. 
http://p.sf.net/sfu/intel-dev2devmay
_______________________________________________
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel

Reply via email to