Title

bff_place_image(x, expression, filename = NULL, wraparound = TRUE)

Arguments

x

A bff_flattened object

expression

An R expression that generates an image

filename

Alternative to expression: provide the file name of a png image directly

tile

If the image does not cover the whole flattened mesh, should it be tiled (e.g repeated) so that it fills the whole mesh?

Value

A bff_textured object containing the original mesh with updated textcoords, its flattened version, and the image for texture mapping