1,360
edits
| Line 266: | Line 266: | ||
The default value for <dot_density> is 1.0, the parameter can be set in the range from 0.0 to 1.0 (values above 1.0 do not increase the dot density further). The default value for <dot_size> is also 1.0, which creates dots at size scales varying between 10 cm and few m. The parameter is a multiplier for these default values, i.e. at a value of 10 dots of ~10-20 m size are created.  | The default value for <dot_density> is 1.0, the parameter can be set in the range from 0.0 to 1.0 (values above 1.0 do not increase the dot density further). The default value for <dot_size> is also 1.0, which creates dots at size scales varying between 10 cm and few m. The parameter is a multiplier for these default values, i.e. at a value of 10 dots of ~10-20 m size are created.  | ||
====   | ==== Examples ====  | ||
The following declaration  | The following declaration  | ||
| Line 283: | Line 283: | ||
results in marshland drawn like this  | results in marshland drawn like this  | ||
[[File:marsh_example.jpg|300px|Procedural   | [[File:marsh_example.jpg|300px|Procedural marshland close-up]]  | ||
[[File:wetness.jpg|300px|Procedural marshland from the distance]]  | [[File:wetness.jpg|300px|Procedural marshland from the distance]]  | ||
The following declaration  | |||
   <texture-set>  | |||
    <texture>Terrain/shrub-hawaii.png</texture>  | |||
    <texture n="11">Terrain/sand_hires_red.png</texture>  | |||
    <texture n="12">Terrain/rock_red.png</texture>  | |||
    <texture n="13">Terrain/rock_red.png</texture>  | |||
    <texture n="14">Terrain/grain_texture.png</texture>  | |||
    <texture n="15">Terrain/airport_grass2.png</texture>  | |||
   </texture-set>  | |||
   <parameters>  | |||
    <rock_strata>1</rock_strata>  | |||
   </parameters>  | |||
results in stratified rock structures like the following:  | |||
[[File:Southwest04.jpg|300px|Procedural rock Grand Canyon]]  | |||
[[File:Southwest09.jpg|300px|Procedural rock Zion National Park]]  | |||
=== Pixel color postprocessing ===  | === Pixel color postprocessing ===  | ||
edits