Keyframes Layers trueSKY Actor

Select your engine:

struct CloudKeyframe

Include: Clouds/CloudKeyframe.h

The keyframe structure for clouds, used by simul::clouds::CloudKeyframer.

simul::sky::BaseKeyframe

Functions

  CloudKeyframe()
simul::crossplatform::Quaterniond GetAbsoluteOrientation(simul::crossplatform::Quaterniond rel)
float GetFloat(char name)
int GetInt(char name)
unsigned int GetPropertiesChecksum()
bool HasFloat(char name)
bool HasInt(char name)
void SetFloat(char name, float val)
void SetInt(char name, int val)

The keyframe structure for clouds, used by simul::clouds::CloudKeyframer.

Base Classes

simul::sky::BaseKeyframe

Functions

CloudKeyframe()

< States for cloud volumes listed in the keyframer.

simul::crossplatform::Quaterniond GetAbsoluteOrientation(simul::crossplatform::Quaterniond rel)

From a relative orientation, get the absolute orientation.

float GetFloat(char name)

Get a float with the given, case-insensitive, name

int GetInt(char name)

Get an int with the given, case-insensitive, name

unsigned int GetPropertiesChecksum()

Check for properties that, if altered in the keyframe, would require regeneration of the cloud volume:

bool HasFloat(char name)

Return true if the keyframe has a float value with the given, case-insensitive, name; return false otherwise.

The properties are:

bool HasInt(char name)

Return true if the keyframe has an integer or true/false value with the given, case-insensitive, name; return false otherwise.

void SetFloat(char name, float val)

Set a float with the given, case-insensitive, name

void SetInt(char name, int val)

Set an int with the given, case-insensitive, name

Fields

cloudiness < The base altitude of this Precipitation Region from the centre of the planet.

distribution_base_layer < The density of the cloud layer at this time.

distribution_transition < Start of the transition from the cloud base to the upper cloud (0 to 1)

upper_density < The transition from the cloud base to the upper cloud (0 to 1)

cloud_base_km < The proportion of cloud density retained in the upper layer, above the distribution_transition.

cloud_height_km < The base altitude of this cloud layer.

cloud_width_km < The height of the cloud layer, above its base altitude.

scale_km < The width of the cloud layer in km, or the repeat-length.

octaves < For non-repeating clouds, the shape scale

persistence < The number of noise octaves used to generate the clouds; default 3.

fractal_amplitude < The fractal persistence for generating the clouds, default 0.45.

edge_sharpness < The strength of the fractal edge effect.

churn < The sharpness to be applied in rendering a the boundary.

precipitation < The strength of the cloud edge churning effect - larger values for more turbulent clouds.

rain_to_snow < The amount of rain/snow etc.

diffusivity < If zero, precipitation is interpreted as rain. If one, it is snow.

max_density_gm3 < How much the edges of clouds should be diffused.

base_noise_factor < Grams per cubic metre. Default is 0.5

offsetKm < What proportion of noise is applied at the cloudbase, between 0 and 1.0.

octaves_f < The calculated position offset of this keyframe due to the accumulation of wind motion (see wind_speed and wind_direction ).

simulation < Only used for interpolation - changes will be ignored. See

worley_noise < If 1.0, cloud volume is simulated. If 0.0, it is generated by fractal.

worley_scale < How much Worley (cell) noise to apply in cloud generation.

edge_worley_noise < Scale of the Worley noise. Will be locked to an integer if clouds are wrapping.

origin < The strength of the fractal worley edge noise.

precipitationRegion < Origin on the globe for this layer.

cloudVolumeStates < Where rain/snow is found.