Build 3D brick model with rayshader.

build_bricks(brick_list, brick_type = "brick", brick_res = "sd",
  view_levels = NULL, solidcolor = "#a3a2a4", ...)

Arguments

brick_list

List output from collect_bricks(). Contains an element Img_lego.

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 NULL to include all.

solidcolor

Hex color of mosaic base. Only renders on bottom.

...

All other inputs from rayshader::plot_3d() EXCEPT hillshade, soliddepth, zscale, and shadow.

Value

3D brick model rendered in the 'rgl' package.