Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can the position coordinates of the contour line be obtained? #4

Open
cheng-c210 opened this issue Sep 5, 2021 · 1 comment
Open

Comments

@cheng-c210
Copy link

image
image
At present, the isoline distance field generated by potpourri3d and polyscope cannot achieve the same effect as in the paper, and the isoline coordinates cannot be obtained. Can this problem be fixed or suggestions for the algorithm of the isoline?

@fstwn
Copy link

fstwn commented Dec 2, 2021

I would recommend using igl for this step:
https://github.com/libigl/libigl-python-bindings/

you can then call:
isoV, isoE = igl.isolines(V, F, z, n)

where
V #V by dim list of mesh vertex positions
F #F by 3 list of mesh faces (must be triangles)
z #V by 1 list of function values evaluated at vertices
n the number of desired isolines

also look here for reference: https://libigl.github.io/libigl-python-bindings/igl_docs/#isolines

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants