class ART::IAtlas

Interface over the planet atlas set by ART::IPlanet::SetAtlas. Configures the atmosphere.

#include <ARTIAtlas.h>

Inherits: IREDObject.

Public functions:

virtual floatGetAtmosphereHeight ( ) const = 0
virtual floatGetAtmosphereMieScatteringAnisotropy ( ) const = 0
virtual floatGetAtmosphereMieScatteringAnisotropyAttenuation ( ) const = 0
virtual floatGetAtmosphereTurbidity ( ) const = 0
virtual const RED::Color &GetGroundAlbedo ( ) const = 0
virtual floatGetSkyStrength ( ) const = 0
virtual floatGetSunSaturation ( ) const = 0
virtual floatGetSunStrength ( ) const = 0
virtual floatGetVisibleSkyStrength ( ) const = 0
virtual voidSetAtmosphereHeight ( float iAtmosphereHeight ) = 0
virtual voidSetAtmosphereMieScatteringAnisotropy ( float iG ) = 0
virtual voidSetAtmosphereMieScatteringAnisotropyAttenuation ( float iAtt ) = 0
virtual voidSetAtmosphereTurbidity ( float iTurbidity ) = 0
virtual voidSetGroundAlbedo ( const RED::Color & iGroundAlbedo ) = 0
virtual voidSetSkyStrength ( float iSkyStrength ) = 0
virtual voidSetSunSaturation ( float iSunSaturation ) = 0
virtual voidSetSunStrength ( float iSunStrength ) = 0
virtual voidSetVisibleSkyStrength ( float iVisibleSkyStrength ) = 0

Public static functions:

static RED::CIDGetClassID ( )

Functions documentation

public virtual float ART::IAtlas::GetAtmosphereHeight() const = 0

Returns:

The atlas atmosphere height in meters.
public virtual float ART::IAtlas::GetAtmosphereMieScatteringAnisotropy() const = 0

Returns:

The atmospheric Mie layer scattering isotropy.

Returns:

The direct attenuation term applied to the atmospheric Mie layer scattering isotropy.
public virtual float ART::IAtlas::GetAtmosphereTurbidity() const = 0

Returns:

The turbidity of the atmosphere in [ 0.0, 100.0 ].
public virtual const RED::Color & ART::IAtlas::GetGroundAlbedo() const = 0

Returns:

The ground albedo color value.
public virtual float ART::IAtlas::GetSkyStrength() const = 0

Returns:

The sky strength factor applied to the sky radiance.
public virtual float ART::IAtlas::GetSunSaturation() const = 0

Returns:

The sun saturation coefficient in [ 0.0, 1.0 ].
public virtual float ART::IAtlas::GetSunStrength() const = 0

Returns:

The sun strength factor applied to the sun radiance.
public virtual float ART::IAtlas::GetVisibleSkyStrength() const = 0

Returns:

The sky strength factor applied to the visible sky.
public virtual void ART::IAtlas::SetAtmosphereHeight(floatiAtmosphereHeight) = 0

Sets the atlas atmosphere height.

Parameters:

iAtmosphereHeight:Sets the atmosphere height of the atlas in meters. Negative values are silently clamped to zero.
public virtual void ART::IAtlas::SetAtmosphereMieScatteringAnisotropy(floatiG) = 0

Sets the atmospheric Mie layer scattering isotropy.

Parameters:

iG:At 0.0, the Mie layer is isotropic and the sun has no halo. At 1.0, the Mie layer is at its greatest anisotropy and the sun has a strong halo around it.

Sets the direct attenuation term applied to the atmospheric Mie layer scattering isotropy.

Parameters:

iAtt:Percentage of the attenuation.
public virtual void ART::IAtlas::SetAtmosphereTurbidity(floatiTurbidity) = 0

Sets the turbidity of the atmosphere.

Parameters:

iTurbidity:The turbidity is in [ 0.0, 100.0 ].
public virtual void ART::IAtlas::SetGroundAlbedo(const RED::Color &iGroundAlbedo) = 0

Sets the ground albedo color value.

Parameters:

iGroundAlbedo:The ground albedo color.
public virtual void ART::IAtlas::SetSkyStrength(floatiSkyStrength) = 0

Sets the strength factor applied to the sky radiance for lighting purposes only.

Parameters:

iSkyStrength:The sky strength factor.
public virtual void ART::IAtlas::SetSunSaturation(floatiSunSaturation) = 0

Sets the saturation of the sun.

Parameters:

iSunSaturation:The saturation coefficient of the sun in [ 0.0, 1.0 ].
public virtual void ART::IAtlas::SetSunStrength(floatiSunStrength) = 0

Sets the strength factor applied to the sun radiance for lighting purposes only.

Parameters:

iSunStrength:The sun strength factor as a multiplier of the sun radiance.
public virtual void ART::IAtlas::SetVisibleSkyStrength(floatiVisibleSkyStrength) = 0

Sets the strength factor applied to the visible sky.

Parameters:

iVisibleSkyStrength:The visible sky strength factor.