luminance from magnitude calculation
Can anyone explain the way that Stellarium calculates luminance from magnitude and current fov for a point source (star)? I totally understand the luminance adation calculations of StelToneReproducer, but not how it is used in StelSkyDrawer to determine with what radius to draw each star
StelSkyDrawer:
-0.92103f*(mag + 12.12331f) + lnfovFactor
So, rearranging the math, it seems that fovFactor is the luminance of something with magnitude -12.12331, but
lnfovFactor = std::log(
Just where does that equation come from? What has magnitude -12.12331, an almost full moon? Been going nuts trying to figure it out. I know it is not the usual level of user question but I would really like to know what this bit of Stellarium is based on.
Question information
- Language:
- English Edit question
- Status:
- Answered
- For:
- Stellarium Edit question
- Assignee:
- No assignee Edit question
- Last query:
- Last reply:
Can you help with this problem?
Provide an answer of your own, or ask Dave Blake for more information if necessary.