Build 3D brick model with rayshader.
build_bricks_rayshader(brick_list, brick_type = "brick", brick_res = "sd", view_levels = NULL, solidcolor = "#a3a2a4", water = FALSE, waterdepth = 0, ...)
brick_list | List output from collect_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. |
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. |
view_levels | Numeric array of Levels/z values to display. Leave as |
solidcolor | Hex color of mosaic base. Only renders on bottom. |
water | Default 'FALSE'. If 'TRUE', a water layer is rendered. |
waterdepth | Default '0'. Water level. |
... | All other inputs from rayshader::plot_3d() EXCEPT |
3D brick model rendered in the 'rayshader' package.
Other 3D Models: bricks_from_coords
,
bricks_from_excel
,
bricks_from_mosaic
,
bricks_from_rayshader
,
bricks_from_table
,
build_bricks
if (FALSE) { #This is a brick brick <- data.frame( Level="A", X1 = rep(3,4), #The number 3 is the brickrID for 'bright red' X2 = rep(3,4) ) brick %>% bricks_from_table() %>% build_bricks() }