Marching-Primitives icon indicating copy to clipboard operation
Marching-Primitives copied to clipboard

The mc and mps stls in 'examples'

Open wuxingzhe opened this issue 1 year ago • 3 comments

There are several stl meshes in the directory 'examples', with the suffixes of 'mc' or 'mps'. I understand meshes named with 'mps' are the inputs of your algorithm, while ones with 'mc' are the outputs of your algorithm. Am I right?

wuxingzhe avatar Apr 08 '24 17:04 wuxingzhe

Thanks for your interest. The examples contain comparisons between 3D reconstruction/abstraction from marching cubes and marching primitives from the same SDF. *_mc.stl is obtained from marching cubes, and *_mps.stl is obtained from marhing primitives. The input shoud be a signed distance function on a voxel grid (which can be converted from a mesh with the code provided). So, the *_mc.stl is more like the 'input'.

bmlklwx avatar Apr 09 '24 17:04 bmlklwx

Thanks for your patient reply. I feel confused that many _mps.stl are with bigger file sizes than the corresponding _mc.stls. Furthermore, I have validated your document on the chair meshes of the directory 'data', and then '_ms.stl' are with bigger file sizes than the corresponding '_normalized_watertight.stl'

wuxingzhe avatar Apr 12 '24 18:04 wuxingzhe

The superquadrics are not saved in parametric form. The files .stl are triangle meshes which are geometry approximations of the superquadrics for visualization on computers only. This is because computer cannot render superquadrics directly.

bmlklwx avatar Apr 12 '24 18:04 bmlklwx