Learn R Programming

Rvcg (version 0.24)

vcgObjWrite: 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

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

Run the code above in your browser using DataLab