Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

vcgWrlWrite

Export meshes to WRL-files


Description

Export meshes to WRL-files

Usage

vcgWrlWrite(mesh, filename = dataname, writeCol = TRUE, writeNormals = TRUE)

Arguments

mesh

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

filename

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

writeCol

logical: export existing per-vertex color stored in mesh$material$color

writeNormals

write existing normals to file

Examples

data(humface)
vcgWrlWrite(humface,filename = "humface")
unlink("humface.wrl")

Rvcg

Manipulations of Triangular Meshes Based on the 'VCGLIB' API

v0.19.2
GPL (>= 2) | file LICENSE
Authors
Stefan Schlager [aut, cre, cph], Girinon Francois [ctb]
Initial release
2021-01-11

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.