How to voronoi (with meshlab)

Please Login to Comment

I found this tutorial: https://www.youtube.com/watch?v=wWSeZk2IqHg

Transcript (found in the youtube comments)

file -> import mesh

  • select and open mesh
    render -> render mode -> flat lines
    filters -> remeshing, simplification and reconstruction -> surface reconstruction VCG
  • change perc on -> 0.5
  • apply
  • close dialog
    show layers dialog
    delete imported mesh, leaving remeshed
    filters -> remeshing, simplification and reconstruction -> Subdivision Surfaces: Loop
  • change perc on -> 0.5
  • apply
  • close dialog
    filters -> Sampling -> Poission-disk Sampling
  • change number of samples -> 200, perc on -> 0.5
  • hit apply, check the output window and check the number of points created
  • adjust perc on and keep htting apply until the number of points created is ~150
  • delete any created meshes that aren't needed
    layers dialog
  • -> show points, alt zoom in/out to make the points more visible
    filters -> Sampling -> Voronoi Vertex Coloring
  • make sure the mesh selected is the VCG reconstructed mesh from above
  • make sure the vertex mesh is the Poisson-disk
  • enable preview
  • try enabling backdistance
  • apply, close
    filters -> selection -> select faces by vertex quality
  • enable preview
  • make it easier to see: render -> color -> none
  • set min quality -> 0
  • adjust max quality to get edges/lines that are pleasing
  • close dialog
    filters -> selection -> invert selection
  • apply
  • close
    filters -> selection -> delete selected faces and vertices
    filters -> smoothing, fairing and deformation -> laplacian smooth
  • keep hitting apply until mesh is to your liking
    filters -> remeshing, simplification and reconstruction -> uniform mesh resampling
  • enable multisample and absolute distance
  • precision perc on -> 0.5
  • offset perc on -> 52
  • apply
  • close
    filters -> smoothing, fairing and deformation -> taubin smooth
  • apply a couple of times, until you're happy with it
  • lambda ~0.75 seems to thin edges, mu ~ -0.75 seems to thicken them
  • note- these might change the shape of the object
  • close

I have used variation on this technique several times, starting from Zheng3's tutorial:

The subdivisions surfaces-->loop stage really affects later steps. More subdivision will allow you to create a more refined and/or more "spindly" voronoi mesh, but subdividing too much makes later computations take a looong time.

Note that the "uniform mesh resampling" stage will fatten up the voronoi lines, so I aim for a slightly more spindly 2D mesh before resampling it. This step can take my laptop awhile to crunch. Often I will run resampling 1st with a higher precision unit (less precise), make sure I like how it looks, delete this resampling, then run it again with smaller precision unit.

Don't forget to save often with meshlab. There is no undo and no autosave!