Description Usage Arguments Value
Place an image interactively on the flattened mesh and see it mapped to the original 3D mesh.
1 2 3 4 5 6 7 8 9 | bff_place_image(
x,
expression = NULL,
filename = NULL,
tile = TRUE,
bg = "white",
alpha_flatten = FALSE,
...
)
|
x |
A |
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? Also not implemented yet |
bg |
Background colour for if |
alpha_flatten |
Should the alpha channel be flattened? By default, parts of the mesh with
completely transparent colours will be invisible. Flattening removes the alpha channel
by layering the image over the |
... |
Further arguments passed to the graphic device is |
A bff_textured
object containing the original mesh with updated textcoords,
its flattened version, and the image for texture mapping
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.