From: Georg Z. <geo...@un...> - 2013-11-08 15:45:37
|
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 rendered. I thought in this case StelPainter culls away everything, but disabling culling in StelPainter::drawSphericalRegion() L1344 leads to other bizarre effects. My SphericalPolygon would be something that obviously usually covers the bottom half of the landscape sphere plus some mountains. Can I tell SphericalRegion which pole it should include? The other problem is that the edge line which I would also like to have shows an extra line towards the zenith. No idea why or how to get rid of it. G. On Fr, 8.11.2013, 02:11, Georg Zotti wrote: > 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. [...] > > Branch: > https://code.launchpad.net/~georg-zotti/stellarium/landscape-addons > > Kind regards, > Georg > |