ShapeFormer
ShapeFormer copied to clipboard
Demo on costum mesh
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?
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.
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?