![]() |
CalcMySky
v0.3.1
|
Scene settings for AtmosphereRenderer.
#include <Settings.hpp>
Public Member Functions | |
| virtual double | altitude ()=0 |
| Camera altitude. More... | |
| virtual double | sunAzimuth ()=0 |
| Azimuth of the Sun. More... | |
| virtual double | sunZenithAngle ()=0 |
| Zenith angle of the Sun. More... | |
| virtual double | sunAngularRadius ()=0 |
| Angular radius of the Sun. More... | |
| virtual double | moonAzimuth ()=0 |
| Azimuth of the Moon. More... | |
| virtual double | moonZenithAngle ()=0 |
| Zenith angle of the Moon. More... | |
| virtual double | earthMoonDistance ()=0 |
| Distance between the Earth and the Moon. More... | |
| virtual bool | zeroOrderScatteringEnabled ()=0 |
| Whether to render zero-order scattering. More... | |
| virtual bool | singleScatteringEnabled ()=0 |
| Whether to render single scattering. More... | |
| virtual bool | multipleScatteringEnabled ()=0 |
| Whether to render multiple scattering. More... | |
| virtual double | lightPollutionGroundLuminance ()=0 |
| Ground luminance for light pollution. More... | |
| virtual bool | onTheFlySingleScatteringEnabled ()=0 |
| Whether single scattering should be computed on the fly. More... | |
| virtual bool | onTheFlyPrecompDoubleScatteringEnabled ()=0 |
| Whether double scattering should be precomputed on the fly when using eclipse shader. More... | |
| virtual bool | textureFilteringEnabled () |
| Whether to enable texture filtering. More... | |
| virtual bool | usingEclipseShader ()=0 |
| Whether to use shader designed to render eclipse atmosphere. More... | |
| virtual bool | pseudoMirrorEnabled ()=0 |
| Whether to mirror the sky instead of rendering the ground. More... | |
|
pure virtual |
Implemented in ToolsWidget.
|
pure virtual |
This option is used when usingEclipseShader returns true.
Implemented in ToolsWidget.
|
pure virtual |
Implemented in ToolsWidget.
|
pure virtual |
This option is used when usingEclipseShader returns true.
Implemented in ToolsWidget.
|
pure virtual |
This option is used when usingEclipseShader returns true.
Implemented in ToolsWidget.
|
pure virtual |
If this method returns true, multiple scattering layer is rendered by AtmosphereRenderer::draw, otherwise it's skipped.
Implemented in ToolsWidget.
|
pure virtual |
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).
Implemented in ToolsWidget.
|
pure virtual |
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.
Implemented in ToolsWidget.
|
pure virtual |
Stellarium wants to show sky-like colors instead of the ground, this option controls whether this is enabled.
Implemented in ToolsWidget.
|
pure virtual |
If this method returns true, single scattering layers are rendered by AtmosphereRenderer::draw, otherwise they are skipped.
Implemented in ToolsWidget.
|
pure virtual |
This option is used when usingEclipseShader returns true.
Implemented in ToolsWidget.
|
pure virtual |
Implemented in ToolsWidget.
|
pure virtual |
Implemented in ToolsWidget.
|
inlinevirtual |
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 in ToolsWidget.
|
pure virtual |
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).
Implemented in ToolsWidget.
|
pure virtual |
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.
Implemented in ToolsWidget.
1.8.15