mesh2grey: convert a colored mesh to greyscale.

View source: R/mesh2grey.r

mesh2greyR Documentation

convert a colored mesh to greyscale.

Description

convert the colors of a colored mesh to greyscale values

Usage

mesh2grey(mesh)

Arguments

mesh

Object of class mesh3d

Value

returns a mesh with material$color replaced by greyscale rgb values.

Author(s)

Stefan Schlager

See Also

ply2mesh,file2mesh


Morpho documentation built on June 22, 2024, 7:19 p.m.