R/build-bricks.R
layer_from_bricks.RdHelper function to convert a level from a 3D model into a rayshader-friendly object.
layer_from_bricks(brick_list, brick_type = "brick", lev = 1, brick_res = "sd")
| brick_list | List output from table_to_bricks(). Contains an element |
|---|---|
| brick_type | Type of brick to use. Default is 'brick'. Other option is 'plate', which is 1/3 the height of a brick. |
| lev | z-level of 3D model |
| brick_res | Resolution, expressed at number of pixels on one side of a 1x1 brick. Defaults to 'sd' (15px). Use 'hd' for 30px per brick, and 'uhd' for 60px. Enter a value for a custom resolution. High resolutions take longer to render. |
A list with elements threed_elevation and threed_hillshade to created 3D mosiacs with the rayshader package.