cdcseacave / openMVS

open Multi-View Stereo reconstruction library
http://cdcseacave.github.io
GNU Affero General Public License v3.0
3.3k stars 906 forks source link

How to simplify a mesh #970

Open Serenitysmk opened 1 year ago

Serenitysmk commented 1 year ago

Describe the bug Hi! Great work and many thanks! I am here to ask for advices instead of reporting any bugs.

the mesh I have obtained after ReconstructMesh step is already satisfied but the overall size is way too large. I wonder if there is a way to simplify the mesh using RefineMesh. But when I am reading the doc, it seems that refined mesh would increase the details and maybe also the size of the original mesh.

I wonder which parameters control the simplification step and what would be the suggested values. For instance, I see planar-vertex-ratio and reduce-memory, and max-face-area in RefineMesh

thank you in advance for your answers!

Best regards, Mengkun

cdcseacave commented 1 year ago

it simplifies the mesh accordingly to max-face-area, or you can later simplify it using the --decimate command line