Water-plane
From Picogen-doc
This is the same as the water-plane, but with a mirroring and bumpy surface.
Parameters
- height: Describes the height above 0. Can also be negative.
- material: Description of surface appearance.
- code: Description of the "bumpiness" of the surface. See below.
Code/Bumpiness
By default, the code yields a moderately bumpy surface. This is actually an optical illusion: The surface really is flat, but it scatters picogen's light in a way that it appears bumpy. For very low camera positions, this fakery might be apparent.
You can ignore this parameter if you like the default value.
- If you want no bumpiness at all, for instance to simulate a calm lake, click on the code-parameter. On the right, the quatsch-source-editor appears. Replace the content simply by "0".
- If you just want to change a bit the bumpiness, click on the code-parameter. The default value is (* 0.1 (- 1 ([LibnoiseBillow frequency{0.1} octave-count{10} persistence{0.5} ] x y))) You can replace 0.1 at the top by lower values (e.g. 0.05) to reap smoother waves. For more intense waves, replace 0.1 at the top by larger values (e.g. 0.2).
- For detailed instructions on the Quatsch/Jux-Programming Language and about writing your own functions, see Category:Quatsch/Jux.