3
Introduces changes necessary for refraction and extinction effects.
3
Introduces changes necessary for extinction effects.
5
5
Status: Partial solution, needs help.
7
7
Contributor: Georg.Zotti@univie.ac.at
8
8
All changes are donated to the Stellarium project for distribution under opensource licenses like GNU.
10
COMPUTING: core/RefractionExtinction. DONE
11
STARS: core/modules/ZoneArray::draw
12
BUG: stars appear to have a problem after magnitude loss.
13
+SELECT-MARK: StarMgr.cpp::drawPointer(). DONE
14
CLICK-IDENTIFY: core/StelObjectMgr::cleverFind(core, x, y) DONE
15
INFOSTRING: core/StelObject.cpp::getPositionInfoString(core, flags) DONE
16
new core/StelObject.cpp::getSideralPosRefr(core) DONE
17
DEEPSKY: NebulaMgr::draw(). Influences symbols and labels only.
18
+DSO TEXTURES: ---TODO. May require a vertex shader program, beyond my knowledge.
19
+SELECT-MARK: NebulaMgr::drawPointer(). DONE
20
+MILKY WAY: Should become dimmer in low sky. May require a vertex shader program, beyond my knowledge.
21
PLANETS: ---TODO. Involves StelPainter, 3D spheres, full matrices.
22
May require a vertex shader program, beyond my knowledge, sorry.
23
+SELECT-MARK: SolarSystem::drawPointer. DONE
24
RA-DEC+GAL.GRIDS: core/GridLinesMgr. TODO OR LEAVE-AS-IS
25
Requires changes in StelPainter's arc drawing methods.
26
Currently this seems not viable and will not be changed.
27
SATELLITES: Not required, practically unobservable on horizon, orbital parameters unsure, etc.
28
Should be easy, however.
29
CONSTELLATIONS: Large-scale items. Vertices could be refracted. Extinction would be a nice effect.
31
METEORS NOT NECESSARY.
13
2011-Oct: A new attempt in Extinction:
14
=========================================
16
StelObject and derived classes: getVMagnitude() has new optional arg: withExtinction.
17
This should be set to true only for determining magnitude for drawing (draw()) and also for textual info (getInfoString()),
18
not e.g. for selection (getSelectPriority()).
19
It will also only change the result if atmosphere rendering is ON.
21
StelSkyDrawer::drawPointSource
22
StelObject::getVMagnitude
23
Satellite::getVMagnitude, ::getInfoString
24
Supernova::getVMagnitude, ::getInfoString
25
Quasar::getVMagnitude, ::getInfoString
26
Satellite::getVMagnitude
27
Planet::getVMagnitude, ::getInfoString
28
Comet::getVMagnitude, ::getInfoString
29
MinorPlanet::getVMagnitude, ::getInfoString
30
Nebula::getVMagnitude, ::getInfoString
31
StarWrapper::getInfoString
33
I currently have no solution for extended objects! Therefore ...
35
TODO: Milky Way, Nebula figures, Constellations??
39
================================================================================
41
TODO, but maybe in yet another branch: See implementation in abandoned refraction branch!
34
43
CHANGES IN LANDSCAPE HANDLING:
35
44
1) Moved config.ini:[stars].init_bortle_scale to [landscape] section
43
52
LandscapeMgr forwards those settings to the respective recipients.
44
53
TODO: make GUI aware of changed values (how?).
46
GUI changes: ViewDialog.ui
47
added 3 DoubleSpinBoxes for temperature, pressure, extinction coefficient into atmosphereGroupBox
48
ViewDialog.cpp: TODO: when switching landscapes, new data only load partially into GUI. No idea why!
50
56
CHANGES IN ASTR.COMPUTATIONS
51
57
planetsephems/sideral_time.[hc]: added get_mean_ecliptical_obliquity(double JDE),