CalcMySky
v0.3.1
|
Public Member Functions | |
ToolsWidget (QWidget *parent=nullptr) | |
double | altitude () override |
Camera altitude. More... | |
double | sunAzimuth () override |
Azimuth of the Sun. More... | |
double | sunZenithAngle () override |
Zenith angle of the Sun. More... | |
double | sunAngularRadius () override |
Angular radius of the Sun. More... | |
double | moonAzimuth () override |
Azimuth of the Moon. More... | |
double | moonZenithAngle () override |
Zenith angle of the Moon. More... | |
double | earthMoonDistance () override |
Distance between the Earth and the Moon. More... | |
float | zoomFactor () const |
float | cameraYaw () const |
float | cameraPitch () const |
double | lightPollutionGroundLuminance () override |
Ground luminance for light pollution. More... | |
bool | onTheFlySingleScatteringEnabled () override |
Whether single scattering should be computed on the fly. More... | |
bool | onTheFlyPrecompDoubleScatteringEnabled () override |
Whether double scattering should be precomputed on the fly when using eclipse shader. More... | |
bool | zeroOrderScatteringEnabled () override |
Whether to render zero-order scattering. More... | |
bool | singleScatteringEnabled () override |
Whether to render single scattering. More... | |
bool | multipleScatteringEnabled () override |
Whether to render multiple scattering. More... | |
bool | textureFilteringEnabled () override |
Whether to enable texture filtering. More... | |
bool | usingEclipseShader () override |
Whether to use shader designed to render eclipse atmosphere. More... | |
bool | pseudoMirrorEnabled () override |
Whether to mirror the sky instead of rendering the ground. More... | |
bool | gradualClippingEnabled () const |
bool | glareEnabled () const |
float | exposure () const |
GLWidget::DitheringMode | ditheringMode () const |
GLWidget::DitheringMethod | ditheringMethod () const |
bool | handleSpectralRadiance (ShowMySky::AtmosphereRenderer::SpectralRadiance const &spectrum) |
void | setCanGrabRadiance (bool can) |
void | setCanSetSolarSpectrum (bool can) |
void | setZoomFactor (double zoom) |
void | setCameraPitch (double pitch) |
void | setCameraYaw (double yaw) |
void | setSunAzimuth (double azimuth) |
void | setSunZenithAngle (double elevation) |
void | updateParameters (AtmosphereParameters const ¶ms) |
void | setWindowDecorationEnabled (bool enabled) |
|
inlineoverridevirtual |
Implements ShowMySky::Settings.
|
inlineoverridevirtual |
This option is used when usingEclipseShader returns true
.
Implements ShowMySky::Settings.
|
inlineoverridevirtual |
Implements ShowMySky::Settings.
|
inlineoverridevirtual |
This option is used when usingEclipseShader returns true
.
Implements ShowMySky::Settings.
|
inlineoverridevirtual |
This option is used when usingEclipseShader returns true
.
Implements ShowMySky::Settings.
|
inlineoverridevirtual |
If this method returns true
, multiple scattering layer is rendered by AtmosphereRenderer::draw, otherwise it's skipped.
Implements ShowMySky::Settings.
|
inlineoverridevirtual |
This is a performance-quality tradeoff setting.
If this method returns true
, and usingEclipseShader returns true
, then double scattering is precomputed on the fly. Otherwise it is rendered from double scattering texture (see caveats described in AtmosphereRenderer::canRenderPrecomputedEclipsedDoubleScattering).
Implements ShowMySky::Settings.
|
inlineoverridevirtual |
This is a performance-quality tradeoff setting.
If this method returns true
, single scattering is computed during rendering, on the fly. Otherwise the single scattering textures are used.
Implements ShowMySky::Settings.
|
inlineoverridevirtual |
Stellarium wants to show sky-like colors instead of the ground, this option controls whether this is enabled.
Implements ShowMySky::Settings.
|
inlineoverridevirtual |
If this method returns true
, single scattering layers are rendered by AtmosphereRenderer::draw, otherwise they are skipped.
Implements ShowMySky::Settings.
|
inlineoverridevirtual |
This option is used when usingEclipseShader returns true
.
Implements ShowMySky::Settings.
|
inlineoverridevirtual |
Implements ShowMySky::Settings.
|
inlineoverridevirtual |
Implements ShowMySky::Settings.
|
inlineoverridevirtual |
This is a debugging option that lets one toggle linear interpolation between texels in the model textures. If true
, filtering is enabled, otherwise disabled. It should normally be enabled.
Reimplemented from ShowMySky::Settings.
|
inlineoverridevirtual |
Eclipsed atmosphere takes more resources to render, so if there's no eclipse, this method should return false
. But when the solar shadow touches the Earth, this method should return true
(see caveats described in AtmosphereRenderer::canRenderPrecomputedEclipsedDoubleScattering).
Implements ShowMySky::Settings.
|
inlineoverridevirtual |
If this method returns true
, zero-order scattering is rendered by AtmosphereRenderer::draw, otherwise it's skipped.
This should return false
if the application does zero-order rendering by its own means.
Implements ShowMySky::Settings.