powered by
Export meshes to WRL-files
vcgWrlWrite(mesh, filename = dataname, writeCol = TRUE, writeNormals = TRUE)
triangular mesh of class 'mesh3d' or a numeric matrix with 3-columns
character: filename (file extension '.wrl' will be added automatically.
logical: export existing per-vertex color stored in mesh$material$color
write existing normals to file
data(humface) vcgWrlWrite(humface,filename = "humface") unlink("humface.wrl")
Run the code above in your browser using DataLab