Replies: 5 comments 7 replies
-
|
Do you have any model for this? I was planning to implement a similar thing as part of CalcMySky simulation, but still haven't found a good way of saving the data that would yield a small enough dataset (because this would include dependence of luminance on observer's altitude, distance to the city, as well as azimuth and altitude of view direction). |
Beta Was this translation helpful? Give feedback.
-
|
I only know about the modelling papers by Garstang (e.g. https://iopscience.iop.org/article/10.1086/132933) and Cinzano https://arxiv.org/abs/1209.2031 |
Beta Was this translation helpful? Give feedback.
-
|
I really like this idea. The suggested solution is maybe too heavy but it would be useful |
Beta Was this translation helpful? Give feedback.
-
|
Potentially of interest: I built a light pollution simulator at www.darkskysites.com that uses VIIRS input and a custom volumetric atmospherics shader to compute global horizon glow for any location on Earth. Select a location of interest and choose > Virtual 360 Horizon. |
Beta Was this translation helpful? Give feedback.
-
|
Now that's impressive! A QWebEngine-based plugin could access your website and probably get an all-sky pano to be used as light texture in all Landscapes. Either as permanent addition to whatever is the current landscape, or as dynamic addition that injects the light pollution layer only into the current session, or @10110111 wants to integrate the information to his skylight model. (Or both? SMS drains more power from field laptops, so I rather use the old model there.) Do I see right you also make horizon calculation from DEM? Then maybe even as complete Landscape with separate terrain and light layers? Maybe @smln can work with you on this? |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi all,
I've been mulling over an idea I'd like to work on in the coming months.
Basically, I want to build a plugin for Stellarium which will generate a light dome for light pollution at any arbitrary GPS coordinate.
The utility of this plugin would exceed that of Stellarium's existing light pollution tool in that for each pixel above the horizon a distinct magnitude/arcsec^2 value can be displayed. These values would be generated using publicly available nightlight data (i.e. Black Marble), elevation data, and some fancy math.
Example use case: A Bortle 4 location with a large city 50 miles to the west and a mid-size town 20 miles to the south. The plugin would generate a light dome with a diffuse bright area on the western horizon and a more localized bright area to the south, and darker skies to the north and east.

What I need are resources and tips for getting started. I have some familiarity with C++ coding, although I haven't touched it for some time. I've used Stellarium for years, but this is my first time looking at its source code.
The idea for this plugin is inspired by many trips to dark sky sites, and the inadequacy of the Bortle scale to fully capture the nuances of light pollution in a given location. I also do astrophotography and am a little tired of showing up to a Bortle 1 or 2 site, only to find an unexpected light dome on the horizon interfering with a shot I had planned 😅
Any help and guidance is very much appreciated! And if anyone is interested in collaborating on this with me, please reach out and let's chat 😊
Beta Was this translation helpful? Give feedback.
All reactions