Learn R Programming

Morpho (version 2.6)

mesh2grey: 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.

See Also

ply2mesh,file2mesh