31 | | '''Generating the Shading:''' The nicest shading method Maperitive provides is called "Igor Shading", named after the creator of Maperitive. This will generate a single-color terrain shading of the world similar to this: [[Image(12.png)]] |
| 31 | '''Generating the Shading:''' The nicest shading method Maperitive provides is called "Igor Shading", named after the creator of Maperitive. This will generate a single-color terrain shading of the world similar to the image below. Another method of shading called "hypsometric" provides a multi-colored shading where different altitudes have different colors. |
| 32 | |
| 33 | [[Image(13.png)]] |
| 34 | |
| 35 | Igor shading can be generated with the [http://maperitive.net/docs/Commands/GenerateReliefImageIgor.html generate-relief-igor] command. Explicit bounds can be specified, or the command will use the currently set geo bounds in Maperitive ([http://maperitive.net/docs/Commands/SetGeometryBounds.html set-geo-bounds]). An important parameter of the shading is {{{sample-rate}}}. This reduces the size of the image data by subsampling. A sampling rate of 1 will load the entire height image into RAM; a sampling rate of 2 divides this by 4, 3 by 8, and so on. However this also reduces the quality of the image accordingly, so higher sampling rates should only be used for lower zoom levels. |
| 36 | |
| 37 | Black is the default color for shading but it can be set to other colors. |