Re: [Flightgear-devel] Moonlight reloaded

2012-11-11 Thread Renk Thorsten
> You need to do High Dynamic Range rendering to accurately capture these > differences and the eye's ability to adapt to them. Basically, you do all > the rendering in floating point and at the end convert the values to RGB > colors with a mapping operator. We don't do that yet. I'm currently ren

Re: [Flightgear-devel] Moonlight reloaded

2012-11-11 Thread Tim Moore
On Sun, Nov 11, 2012 at 1:41 PM, Renk Thorsten wrote: > > I suspect the difference in light intensity > > (dynamic range) doesn't fit in an 8-bit 3-component color. > > It sure doesn't, but I think you're thinking way too complex. We don't > want to render physical light intensity, we want to ren

Re: [Flightgear-devel] Moonlight reloaded

2012-11-11 Thread Renk Thorsten
> I suspect the difference in light intensity > (dynamic range) doesn't fit in an 8-bit 3-component color. It sure doesn't, but I think you're thinking way too complex. We don't want to render physical light intensity, we want to render perceived light intensity, and there the Weber Fechner law

Re: [Flightgear-devel] Moonlight reloaded

2012-11-10 Thread Frederic Bouvier
Hi Thorsten, > De: "Renk Thorsten" > À: "FlightGear developers discussions" > > Envoyé: Samedi 10 Novembre 2012 13:34:30 > Objet: Re: [Flightgear-devel] Moonlight reloaded > > > If you need any information about the moon's position and/or phas

Re: [Flightgear-devel] Moonlight reloaded

2012-11-10 Thread Renk Thorsten
> If you need any information about the moon's position and/or phase, just > let me know. It should be trivial to extract these values from the > ephemeris code. Thanks, that was what I was hoping for :-) It depends a bit on if Fred wants to do anything with the moon - my scheme would be fin

Re: [Flightgear-devel] Moonlight reloaded

2012-11-09 Thread Frederic Bouvier
Hi Curt, > But now with Rembrandt maybe we can begin to cast the earth's shadow onto the > moon? What do you think Fred? :-) It should be just a matter of rendering two spheres inside an FBO and using the resulting shadow map when rendering the moon sphere to show moon eclipses, or altering

Re: [Flightgear-devel] Moonlight reloaded

2012-11-09 Thread Curtis Olson
Hi Thorsten, One more tidbit of info on phase of the moon. The phase of the moon is proportional to the relative location of the sun and the moon in the sky; more specifically the angle between them. For example, a full moon will be rising precisely when the sun is setting -- in this case they a

Re: [Flightgear-devel] Moonlight reloaded

2012-11-09 Thread Durk Talsma
Just a quick note for now, because I've got a lecture coming up in about 30 minutes... If you need any information about the moon's position and/or phase, just let me know. It should be trivial to extract these values from the ephemeris code. Cheers, Durk On 09 Nov 2012, at 13:25, Renk Thors

Re: [Flightgear-devel] Moonlight reloaded

2012-11-09 Thread Renk Thorsten
> Interesting, looks good. So effectively it glows... Not really - unlike glowing stuff, it is actually obscured by cloud cover for instance. * Thorsten -- Everyone hates slow websites. So do we. Make your web apps faste

Re: [Flightgear-devel] Moonlight reloaded

2012-11-09 Thread Arnt Karlsen
On Fri, 9 Nov 2012 10:49:30 +, Renk wrote in message : > > I was toying with this for a while, but now I have a reasonably cheap > solution to render moonlight effects: > > http://www.flightgear.org/forums/viewtopic.php?f=47&t=14755&start=195#p170250 > > Now, all I need is the info about t

Re: [Flightgear-devel] Moonlight reloaded

2012-11-09 Thread Lachlan Bruce
Interesting, looks good. So effectively it glows... On Fri, Nov 9, 2012 at 9:19 PM, Renk Thorsten wrote: > > I was toying with this for a while, but now I have a reasonably cheap > solution to render moonlight effects: > > > http://www.flightgear.org/forums/viewtopic.php?f=47&t=14755&start=195#p1

[Flightgear-devel] Moonlight reloaded

2012-11-09 Thread Renk Thorsten
I was toying with this for a while, but now I have a reasonably cheap solution to render moonlight effects: http://www.flightgear.org/forums/viewtopic.php?f=47&t=14755&start=195#p170250 Now, all I need is the info about the current moon phase and if the moon is above the horizon which is *some