Description Usage Arguments Details
View source: R/mouse_ccf_meshes.R
This is currently only intended to work with triangular faces.
1 | save_rgl_mesh_zip(mesh, mesh_name, zip_file)
|
mesh |
The mesh object to store. |
mesh_name |
A character object specifying the mesh name, which will be used for file names. |
zip_file |
The zip file to use as output. |
This converts the vertex positions (vb) and face indexes (it) to vectors and stores them compactly as zipped binary files.
The first value in each file is a 32-bit integer specifying the number of vertexes or positions.
No material information is retained.
Note that new data will be appended to an existing .zip file. This allows many meshes to be stored together.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.