|
LuciadCPillar 2026.1.02
|
Atmosphere model that draws a physically based Rayleigh/Mie scattering sky. More...
#include <luciad/maps/effects/AtmosphereModel.h>
Classes | |
| class | Builder |
Builder for a luciad::ScatteringAtmosphereModel. More... | |
Public Member Functions | |
| ~ScatteringAtmosphereModel () override | |
| Builder | asBuilder () const |
| Creates a builder pre-filled with this model's parameters. | |
| double | getBrightness () const |
| Returns the scattering brightness. | |
| double | getMieAnisotropy () const |
| Returns the Mie anisotropy. | |
| double | getMieFactor () const |
| Returns the Mie scattering strength. | |
| double | getRayleighFactor () const |
| Returns the Rayleigh scattering strength. | |
| bool | isAerialPerspectiveEnabled () const |
| Returns whether aerial perspective is enabled, tinting the terrain surface in addition to the sky. | |
| bool | operator== (const ScatteringAtmosphereModel &other) const |
| Returns whether this model is equal to another. | |
| Public Member Functions inherited from luciad::AtmosphereModel | |
| AtmosphereModel (const AtmosphereModel &)=delete | |
| virtual | ~AtmosphereModel ()=default |
| AtmosphereModel & | operator= (const AtmosphereModel &)=delete |
Static Public Member Functions | |
| static Builder | newBuilder () |
| Creates a new builder with the default scattering parameters. | |
Additional Inherited Members | |
| Protected Member Functions inherited from luciad::AtmosphereModel | |
| AtmosphereModel ()=default | |
| Default constructor. | |
Atmosphere model that draws a physically based Rayleigh/Mie scattering sky.
This requires a geocentric 3D view and a light configured through GraphicsEffects::getLight. Without both, the effect falls back to the gradient model. Rendering it has a minor additional performance cost compared to the gradient model.
|
override |
| Builder luciad::ScatteringAtmosphereModel::asBuilder | ( | ) | const |
Creates a builder pre-filled with this model's parameters.
| double luciad::ScatteringAtmosphereModel::getBrightness | ( | ) | const |
Returns the scattering brightness.
| double luciad::ScatteringAtmosphereModel::getMieAnisotropy | ( | ) | const |
Returns the Mie anisotropy.
| double luciad::ScatteringAtmosphereModel::getMieFactor | ( | ) | const |
Returns the Mie scattering strength.
| double luciad::ScatteringAtmosphereModel::getRayleighFactor | ( | ) | const |
Returns the Rayleigh scattering strength.
| bool luciad::ScatteringAtmosphereModel::isAerialPerspectiveEnabled | ( | ) | const |
Returns whether aerial perspective is enabled, tinting the terrain surface in addition to the sky.
Aerial perspective is the phenomenon where distant terrain takes on the atmosphere's color and fades toward the horizon with distance.
|
static |
Creates a new builder with the default scattering parameters.
| bool luciad::ScatteringAtmosphereModel::operator== | ( | const ScatteringAtmosphereModel & | other | ) | const |
Returns whether this model is equal to another.
| other | the model to compare with. |