vcgObjWrite: Export meshes to OBJ-files

View source: R/vcgPlyWrite.r

vcgObjWriteR 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")

Rvcg documentation built on Sept. 30, 2024, 9:39 a.m.