Re: [Stellarium-pubdevel] Landscape improvements

2013-11-08 Thread Georg Zotti
Dear Fabien, thank you for these hints. I had thought already about trying the subtraction, but hoped there was a direct way which I had overlooked. These classes made my jaws drop during study, I can imagine they were quite a lot of work. The spurious line is a pity. Maybe I can analyze the ver

Re: [Stellarium-pubdevel] Landscape improvements

2013-11-08 Thread Fabien Chéreau
Hi Georg, On Fri, Nov 8, 2013 at 4:45 PM, Georg Zotti wrote: > Hi Bogdan and Fabien, > > I have the PolygonalLandscape almost working. Just one significant and one > small problem, maybe Fabien can see&solve this in a minute or shed light > on the topic? > > The SphericalPolygon is filled around

Re: [Stellarium-pubdevel] Landscape improvements

2013-11-08 Thread Georg Zotti
Hi Bogdan and Fabien, I have the PolygonalLandscape almost working. Just one significant and one small problem, maybe Fabien can see&solve this in a minute or shed light on the topic? The SphericalPolygon is filled around the zenith, not the ground. When I reverse the polygon contours, nothing is

Re: [Stellarium-pubdevel] Landscape improvements

2013-11-07 Thread Georg Zotti
Hi! I have the sampling working, and the Carte du ciel horizon is also already properly parsed. I have created a new landscape class trying to use a SphericalPolygon, but it is not rendered yet. Worse, changing the landscape from the new type currently crashes. I commit anyway for whoever is inter

Re: [Stellarium-pubdevel] Landscape improvements

2013-11-07 Thread Georg Zotti
Dear Bogdan, the format seems indeed simple enough to use directly, or have users convert their own formats. We should allow floats in the azimuth column, though. If other formats appear, these should then be added with some format name in the landscape.ini. But some code fragment for reading and

Re: [Stellarium-pubdevel] Landscape improvements

2013-11-07 Thread Bogdan Marinov
On 11/7/13, Georg Zotti wrote: > [snipped] > If reading a JSON already works, transforming alt/az text lists to JSONs > should be simple enough for users. Which one is the best to use? As the one who proposed that blueprint, I will be very happy if this gets implemented. As for the format: I've

Re: [Stellarium-pubdevel] Landscape improvements

2013-11-06 Thread Georg Zotti
On Mi, 6.11.2013, 23:19, Fabien Chéreau wrote: >> Another thought involves sampling the landscape texture if it is >> transparent at a location. (It may allow better true-landscape sunrise >> etc. predictions) Can this be done via a StelTexture? >> > > Not very easy via a StelTexture, since the d

Re: [Stellarium-pubdevel] Landscape improvements

2013-11-06 Thread Fabien Chéreau
On Wed, Nov 6, 2013 at 11:00 PM, Georg Zotti wrote: > Dear Fabien, > > On Mi, 6.11.2013, 21:40, Fabien Chéreau wrote: > > Hi Georg, > > > > On Wed, Nov 6, 2013 at 3:00 PM, Georg Zotti > > wrote: > > > >> Dear all, > >> I have started a few amendments to the landscapes. So far, drawing fog > is > >

Re: [Stellarium-pubdevel] Landscape improvements

2013-11-06 Thread Georg Zotti
Dear Fabien, On Mi, 6.11.2013, 21:40, Fabien Chéreau wrote: > Hi Georg, > > On Wed, Nov 6, 2013 at 3:00 PM, Georg Zotti > wrote: > >> Dear all, >> I have started a few amendments to the landscapes. So far, drawing fog is >> now available for spherical and fisheye panos, and a little surprise for >

Re: [Stellarium-pubdevel] Landscape improvements

2013-11-06 Thread Fabien Chéreau
Hi Georg, On Wed, Nov 6, 2013 at 3:00 PM, Georg Zotti wrote: > Dear all, > > I have started a few amendments to the landscapes. So far, drawing fog is > now available for spherical and fisheye panos, and a little surprise for > light-polluted sites as well. It is now possible to clip away (the us