Mesh3d to raster

mesh_to_raster(x, res = 150)

Arguments

x

mesh3d object

res

resolution of the resulting raster. 1 or 2 values for nrows, ncols.

Value

A raster

Examples

library(Rvcg) data(humface) r <- mesh_to_raster(humface)