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


zarquon42b/Morpho documentation built on Jan. 28, 2024, 2:11 p.m.