Implement limb darkening for the Sun#3017
Conversation
|
Great PR! Please pay attention to the following items before merging: Files matching
This is an automatically generated QA checklist based on modified files. |
| // We are drawing the Sun | ||
| vec4 texColor = texture2D(tex, texc); | ||
| texColor.rgb = srgbToLinear(texColor.rgb * sunInfo.rgb); | ||
| // Reference: Arthur N. Cox, "Allen's Astrophysical Quantities", 4th edition, |
There was a problem hiding this comment.
please add year and publisher/location here or even better, add a full bib entry to the User Guide, with citation at the end of Appendix H.4.
There was a problem hiding this comment.
If I add a bib entry, how do I refer to it here?
There was a problem hiding this comment.
As for the year... I have no idea what year to use, and the publisher doesn't make it easier to determine it. The copyright year? The publication year of the given format? What?
I can just add DOI or ISBN, will it be sufficient?
There was a problem hiding this comment.
A short notification about visualization in the User Guide (see chapter for Solar system data) with citation of source ;) For the code the current info may be sufficient, but adding DOI or ISBN is very good addition.
There was a problem hiding this comment.
No, the .bib item is referred to in the User Guide where we refer to the sources of our collected wisdom. Here the reference should at least be complete enough with year. Right now it's good.
There was a problem hiding this comment.
Well, I have no idea where in the guide this citation should go, and whether it has to be hotlinked somewhere. I haven't found the "Solar system data" chapter or anything similar, so this doesn't help.
Since the citation here in the code is OK, I'm merging this PR.
gzotti
left a comment
There was a problem hiding this comment.
Apart from the tiny detail, I have no objection, thank you!
91ca578 to
9ecaa1f
Compare
|
Hello @10110111! The enhancement or feature has been merged into source code and you may test it via building Stellarium from source code or wait the weekly development snapshot... |
|
Hello @10110111! The fix has been merged into source code and you may test it via building Stellarium from source code or wait the weekly development snapshot... |
|
Hello @10110111! Please check the fresh version (development snapshot) of Stellarium: |
|
Hello @10110111! Please check the latest stable version of Stellarium: |
Description
This implements limb darkening for the Sun.
Fixes #2719
Screenshots
Original, flat solar disk
New, limb-darkened solar disk
Type of change
How Has This Been Tested?
Test Configuration:
Checklist: