PRO Experimental

Creates a pseudo-3D topographic rendering using palette tinting, hillshade, shadows, and attenuation.

geomorphometry terrain rendering topographic

## Parameters

Name | Description | Required | Default
--- | --- | --- | ---
`dem` | Input DEM raster path. | Required | `dem.tif`
`palette` | Palette name (soft, atlas, high_relief, turbo, viridis, dem, grey, white). | Optional | `soft`
`reverse_palette` | Reverse palette order. | Optional | `False`
`azimuth` | Light-source azimuth in degrees [0, 360]. | Optional | `315.0`
`altitude` | Light-source altitude in degrees [0, 90]. | Optional | `30.0`
`clipping_polygon` | Optional polygon vector path; only DEM cells inside polygon(s) are rendered. | Optional | —
`background_hgt_offset` | Vertical offset from minimum DEM elevation to background plane. | Optional | `10.0`
`background_clr` | Background RGBA colour as array [r,g,b,a]. | Optional | `[255, 255, 255, 255]`
`attenuation_parameter` | Distance attenuation exponent (>= 0). | Optional | `0.3`
`ambient_light` | Ambient light amount in [0, 1]. | Optional | `0.2`
`z_factor` | Vertical exaggeration multiplier. | Optional | `1.0`
`max_dist` | Maximum shadow search distance in map units. | Optional | —
`output` | Output raster path. | Optional | `topo_render.tif`

## Examples

Generate a pseudo-3D topographic render from a DEM.

    wbe.topo_render(altitude=30.0, azimuth=315.0, dem='dem.tif', output='topo_render.tif', palette='soft')

## Project Links

WbW Homepage User Manual Support WbW