c

class CloudInterface

Include: Clouds/CloudInterface.h

The virtual interface for controlling and reading cloud data.

Functions

float GetCloudDensity(float cloud_base_z, float width, float height, simul::math::Vector3 X, float time, float cloudiness, float extinction, float diffusivity)
simul::math::NoiseInterface * GetNoiseInterface()
float GetOpticalPathLength(float cloud_base_z, float w, float h, simul::math::Vector3 X, simul::math::Vector3 dir, float time, float cloudiness, float extinction, float diffusivity)

The virtual interface for controlling and reading cloud data.

Functions

float GetCloudDensity(float cloud_base_z, float width, float height, simul::math::Vector3 X, float time, float cloudiness, float extinction, float diffusivity)

Get the normalized cloud density at real-world position X.

simul::math::NoiseInterface * GetNoiseInterface()

Get the noise object.

float GetOpticalPathLength(float cloud_base_z, float w, float h, simul::math::Vector3 X, simul::math::Vector3 dir, float time, float cloudiness, float extinction, float diffusivity)

At the 3D Position X, find the optical density of cloud in the direction dir.