Search code examples
matlab3dmeshmeshlab

Triangle mesh point cloud interpolation


I have a triangle mesh stl/wrl file that I would like to dense the mesh by adding points. For example, each triangle can be divided into 4 smaller triangle. How can this mesh interpolation be performed?

I could not find such thing in meshlab,and since my shape is quite big, iterating over all of the triangle meshes will take too much time...


Solution

  • Just in case someone stumbles across this question, there is such a functionality available in Meshlab now. Open your file, go to

    Filters > Remeshing, Simplification and Reconstruction > Refine User-Defined
    

    and click on "Apply". In my case, I also had to change the "and" in the "boolean function" field to "&&", otherwise an error message appeared.

    Worked like a charm:

    Original geometry

    The mesh after the first refinement

    The mesh after the second refinement