ShapeFormer icon indicating copy to clipboard operation
ShapeFormer copied to clipboard

Demo on costum mesh

Open anna-debug opened this issue 1 year ago • 2 comments

Hello! I'm curious to try ShapeFormer on my own .ply mesh. I have converted it into a numpy array, however I see that the original demo data has 2 .npy files for each mesh. Could you explain how I can obtain these myself?

anna-debug avatar Jun 06 '23 12:06 anna-debug

For each demo shape, we store the complete shape in Xbd.npy and the partial point cloud in Xct.npy In general, you can provide only Xct.npy for testing, ignoreing Xbd.npy or provide dummy Xbd.npy since Xbd is used mainly for visualization.

In your case, you shall provide incomplete point cloud of the .ply mesh as Xct (input). You can generate the incomplete cloud by virtual scanning (we provide the hidden point removal code to generate the scan), remove part of it in softwares like cloudcompare or meshlab.

For the name of Xbd and Xct, please refer to https://github.com/QhelDIV/ShapeFormer#frequently-asked-questions for more details.

QhelDIV avatar Jun 06 '23 23:06 QhelDIV

Thank you! I had tried to test with only the incomplete shape, but, although the Xct.npy mesh was found, there were error with loading it and in the end there were no results for my shape. Now i'm thinking that maybe the conversion from .ply to .npy wasn't successful. Which function would you suggest to use?

anna-debug avatar Jun 07 '23 10:06 anna-debug