[ < ] | [ > ] | [ << ] | [ Up ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
8.1.3 Fog (MGL)
- MGL command: fog
val [dz=0.25]
Command imitate a fog in the plot. Fog start from relative distance dz from view point and its density growths exponentially in depth. So that the fog influence is determined by law ~1-exp(-d*z). Here z is normalized to 1 depth of the plot. If value val=
0
then the fog is absent. See section Surface in fog sample, for sample code and picture.