Learn R Programming

Morpho (version 1.0-1)

conv2backf: invert faces' orientation of triangular mesh

Description

inverts faces' orientation of triangular mesh and recomputes vertex normals

Usage

conv2backf(mesh)

Arguments

mesh

Value

  • returns resulting mesh

See Also

adnormals

Examples

Run this code
require(rgl)
data(nose)
shade3d(shortnose.mesh,col=3)
noseinvert <- conv2backf(shortnose.mesh)
## show normals
plotNormals(noseinvert,long=0.01)

Run the code above in your browser using DataLab