Deprecated. This function has been deprecated. Legacy clouds are no longer supported as of 13.02.08.270166 - this function now only returns 0.0. See llGetEnvironment instead.
float llCloud( vector offset );
Forced delay: 0.0 seconds. Energy: 10.0.
Only the x and y coordinates in offset are important, the z component is ignored.
Returned values are in the range density (≥ 0.0, ≤ 2.0). Values above 1.0 indicate rain.
Returns a float that is the cloud density at the prim position + offset
SL features a cellular automata-based weather system. There are 16x16 square cloud "cells" per region.
default
{
touch_start(integer num)
{
llSay(0,"Cloud density:" + (string)llCloud(ZERO_VECTOR));
}
}
Clouds and wind are interrelated.
Clouds are always rendered between about 180-200m absolute height.
The cloud seed/growth/dissipation algorithm uses a solenoidal vector field, which is a vector field with zero-divergence: ∇ · v = 0
This condition is satisfied whenever v has a vector potential A, because if v = ∇ ⨯ A then ∇ · v = ∇ · (∇ ⨯ A) = 0