Save output directly as a mesh#12
Conversation
|
Thanks for the fast reply (unlike mine now). Perhaps I should have specified what I am trying to do, because it is indeed for a computation, and not visualization, project: I am trying to perform electromagnetic simulations with a Matlab toolbox that takes vertices and faces as input. The computational/storage demand scales heavily with the mesh complexity. Therefore, I am trying to simplify the meshes first. I noticed that with QEM I either lose quite some surface area or quite some volume when remeshing. I would like to compare your method with QEM in terms of surface/volume loss (which is tricky, since I sometimes have to simplify from >2M to ~500 vertices). I am aware of the fact that by remeshing I lose the curved properties that are hidden in the edge lengths, but I think this is an unavoidable price I pay. Do I understand your explanation on the edge lengths correctly? And, do you have any ideas/suggestions? |



Dear Hsueh-Ti Derek,
I am new to Github, so excuse me if this is the incorrect/unusual way of asking. I was trying to use your algorithm and could not find an easy way to directly save a coarsened mesh (other than the edge length and face lists). Therefore, I copied the main.cpp from the 01_prolongation_scalar folder (since I would like to study the effect of area_weight) and added an argument for saving the output as a .stl file with my little C++ knowledge. This could be easily modified to save .obj files.
Best regards,
Mees Dieperink
PS Do you have any experience with differences between your method and QEM simplification for meshes with >2M vertices?