Learn R Programming

Morpho (version 2.12)

mesh2grey: convert a colored mesh to greyscale.

Description

convert the colors of a colored mesh to greyscale values

Usage

mesh2grey(mesh)

Value

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

Arguments

mesh

Object of class mesh3d

Author

Stefan Schlager

See Also

ply2mesh,file2mesh