csm
csm copied to clipboard
pre-processed mesh template
Hi!
Can you please provide pre-processed mesh templates used?
best, Anand
Hi, Please find the models here. https://umich.box.com/s/lik2xukm5qtn68lmqim60altus7k5o1g
Also, if you can access the mean_shape.mat file under cachedir/shapenet/<category> it also has the corresponding verts and faces which you can dump as an obj.
Best, Nilesh
Thanks a lot, Nilesh! That was fast :)
Best, Anand
Hi Nilesh,
I am trying to get a template mesh for another object. Simply running mesh deform doesn't seem to generate templates like the ones you shared. I realized reading from your ReadMe I need to complete the following 2, 3, 4 steps before doing mesh deform. Is this correct?
- Have a model of the category as an obj file.
- Convert the model to tsdf field.
- Run Marching cubes to get on model
- Model clean + close holes a. Merge Close vertices b. Quadratic Simplication c. Remove non-manifold edges
- Mesh-deform to create a parametrized mapping
How did you do 2,3,4? Do you have a code for it?
I see here marching_cubes.py mentioned in the following line and I cannot locate marching_cubes.py file in the repo:
https://github.com/nileshkulkarni/csm/blob/5923517269183f6fa73049e83c8db478c2899b07/csm/preprocess/parameterize/normalize/normalize_online_model.py#L44
Thanks for your help!
Best, Anand