vcgWrlWrite | R Documentation |
Export meshes to WRL-files
vcgWrlWrite(mesh, filename = dataname, writeCol = TRUE, writeNormals = TRUE)
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 |
data(humface)
vcgWrlWrite(humface,filename = "humface")
unlink("humface.wrl")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.