Giter VIP home page Giter VIP logo

Comments (4)

nileshkulkarni avatar nileshkulkarni commented on June 23, 2024

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

from csm.

anandbhattad avatar anandbhattad commented on June 23, 2024

Thanks a lot, Nilesh! That was fast :)

Best,
Anand

from csm.

anandbhattad avatar anandbhattad commented on June 23, 2024

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?

  1. Have a model of the category as an obj file.
  2. Convert the model to tsdf field.
  3. Run Marching cubes to get on model
  4. Model clean + close holes a. Merge Close vertices b. Quadratic Simplication c. Remove non-manifold edges
  5. 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:

print("python marching_cubes.py <in_file.obj> <out_file.obj>")

Thanks for your help!

Best,
Anand

from csm.

nileshkulkarni avatar nileshkulkarni commented on June 23, 2024

Hi Anand,

Step 2 can be done using this code. Alternately you can also run binvox on the mesh obj file, and then using that voxel volume as input to marching cubes.

Step 3 can be done using marching cubes from scipy

Step 4 completed in meshlab.

Best,
Nilesh

from csm.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.