vcgObjWrite {Rvcg}R Documentation

Export meshes to OBJ-files

Description

Export meshes to OBJ-files

Usage

vcgObjWrite(mesh, filename = dataname, writeNormals = TRUE)

Arguments

mesh

triangular mesh of class 'mesh3d' or a numeric matrix with 3-columns

filename

character: filename (file extension '.obj' will be added automatically.

writeNormals

write existing normals to file

Examples

data(humface)
vcgObjWrite(humface,filename = "humface")
unlink("humface.obj")

[Package Rvcg version 0.23 Index]