Polygonal horizon line does not render and creates further issues.

Bug #1554639 reported by Richard bartosz
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Stellarium
Fix Released
Low
gzotti
0.14
Fix Released
Low
Alexander Wolf

Bug Description

I am using Stellarium 0.12.1B 32bit.

I frequently create horizon lines using the polygonal/text file method, using data, for example, from a heywhatsthat .csv file, pasted into a .text file.

When I try to create one for a site at high elevation surrounded by low lying land the text file contains negative altitude values. If these are significantly below the geometric horizon or if the number of negative values outnumber the positive values, the required polygonal horizon line does not render. When this happens and I try to zoom out there is a point where the screen gets suddenly totally flooded with the ground colour. The same happens if I try to add a polygonal render over a spherical landscape render.

I have never had any issues when trying either method where the altitude values are positive, or with a minimal number of negative values.

Is there a work around or fix in the pipeline?

Regards

Tags: landscape
Revision history for this message
Alexander Wolf (alexwolf) wrote :

Please attach example for mask of horizon.

Revision history for this message
gzotti (georg-zotti) wrote :

I remember having invested some time making sure this works for the usual case where horizon is elevated, not sunken. If there really is need and use for a horizon that covers less than half of the sphere, we may need to e.g. introduce yet another configuration flag in the landscape.ini.

Revision history for this message
gzotti (georg-zotti) wrote :

(received PM) Don't see the issue at first glance. But why do you have so many points? just skip all the same-valued neighbour points.
The spherical regions used in the polygonal horizon are extremely large (i.e. around half-sphere). Likely when the horizon defines less than half-sphere, there may be a problem. You can make a regular photo pano for a start, sorry I don't have time until April for this now.

Changed in stellarium:
status: New → Incomplete
tags: added: landscape
Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for Stellarium because there has been no activity for 60 days.]

Changed in stellarium:
status: Incomplete → Expired
Changed in stellarium:
assignee: nobody → gzotti (georg-zotti)
gzotti (georg-zotti)
Changed in stellarium:
status: Expired → In Progress
importance: Undecided → Low
Revision history for this message
gzotti (georg-zotti) wrote :

r8397 provides a tentative fix, tried with a horizon that practically inverts Geneve.

Changed in stellarium:
milestone: none → 0.15.0
Revision history for this message
gzotti (georg-zotti) wrote :

No, r8398! Sorry for the confusion...

Changed in stellarium:
status: In Progress → Fix Committed
Changed in stellarium:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.