Learn R Programming

Rvcg (version 0.7.1)

vcgPlyWrite: Export meshes to PLY-files

Description

Export meshes to PLY-files (binary or ascii)

Usage

vcgPlyWrite(mesh, filename = dataname, binary = TRUE, addNormals = FALSE,
  writeCol = TRUE)

Arguments

mesh
triangular mesh of class 'mesh3d'
filename
character: filename (file extension '.ply' will be added automatically.
binary
logical: write binary file
addNormals
logical: compute per-vertex normals and add to file
writeCol
logical: export existing per-vertex color stored in mesh$material$color

Examples

Run this code
data(humface)
vcgPlyWrite(humface,filename = "humface")

Run the code above in your browser using DataLab