Build 3D brick model with rgl
build_bricks(brick_list, background_color = "white", rgl_lit = TRUE, outline_bricks = FALSE, trans_alpha = 0.5, view_levels = NULL)
| brick_list | List output from collect_bricks(). Contains an element |
|---|---|
| background_color | Default 'white'. Color of the background. |
| rgl_lit | Default 'TRUE'. Include RGL lighting features in rendering. |
| outline_bricks | Default 'FALSE'. Include black outlines around brick edges. Set to 'TRUE' and rgl_lit='FALSE' for cartoon-looking bricks. |
| trans_alpha | Default 0.5. Alpha level for transparent bricks. |
| view_levels | Numeric array of Levels/z values to display. Leave as 'NULL' to include all. |
| brick_type | Type of brick to use. Default is 'brick'. Other option is 'plate', which is 1/3 the height of a brick. |
3D brick model rendered in the 'rgl' package.