Learn R Programming

Morpho (version 2.12)

mergeMeshes: merge multiple triangular meshes into a single one

Description

merge multiple triangular meshes into a single one, preserving color and vertex normals.

Usage

mergeMeshes(...)

Value

returns the meshes merged into a single one.

Arguments

...

triangular meshes of class 'mesh3d' to merge or a list of triangular meshes.

See Also

mesh2ply, file2mesh, ply2mesh

Examples

Run this code

if (FALSE) {
require(rgl)
data(boneData)
data(nose)
mergedMesh <- mergeMeshes(shortnose.mesh, skull_0144_ch_fe.mesh)
require(rgl)
shade3d(mergedMesh, col=3)
}

Run the code above in your browser using DataLab