From 378980852310f55651a520c896314497493d8bb8 Mon Sep 17 00:00:00 2001 From: Andrew Jewett Date: Tue, 8 Jun 2021 10:47:23 -0700 Subject: [PATCH] updated voxelize_mesh.py documentation --- doc/doc_voxelize_mesh.md | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/doc/doc_voxelize_mesh.md b/doc/doc_voxelize_mesh.md index 52fc1cf..162bdfd 100644 --- a/doc/doc_voxelize_mesh.md +++ b/doc/doc_voxelize_mesh.md @@ -62,13 +62,16 @@ command to prevent this** (If my understanding is correct, running "ulimit -v 14000000" beforehand should prevent voxelize_mesh.py from consuming more than 14Gb of RAM.) -## WARNING: Slow +## To reduce computation time, reduce the number of vertices + A dense mesh can take a couple hours to voxelize on a full-size tomogram. -*(Again, this is beyond my control.)* However automatically generated meshes (using *filter_mrc* and *PoissonRecon*, for example) can be extremely dense, containing multiple triangles per voxel. You can smooth, and simplify ("resample") the mesh using 3rd-party tools -like *meshlab*. (This can be done using the *"Filters"->"Remeshing, Simplification, and Reconstruction"->"Quadratic Edge Collapse Decimation"* menu option, and reducing the number of faces.) Later on, when you run *voxelize_mesh.py*, this reduction significantly speed up the calculation (although it is still slow). +like *meshlab*. (This can be done using the *"Filters"->"Remeshing, Simplification, and Reconstruction"->"Quadratic Edge Collapse Decimation"* menu option, +and reducing the number of faces.) Later on, when you run *voxelize_mesh.py*, +this reduction will significantly speed up the calculation (although it is +still slow). ## Usage