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

Dual Contouring #194

Open
csyhping opened this issue May 2, 2023 · 2 comments
Open

Dual Contouring #194

csyhping opened this issue May 2, 2023 · 2 comments

Comments

@csyhping
Copy link

csyhping commented May 2, 2023

Hi @alecjacobson @jdumas , thanks for you amazing work. I just found that in C++ igl, dual contouring is supported. May I ask if there is such API in python igl? Thanks!

@alecjacobson
Copy link
Contributor

I'm guessing this might take a little extra to figure out how to pass python function handles correctly here.

@alecjacobson
Copy link
Contributor

nanobind seems to handle converting python functions to the necessary std::functions with eigen types just fine. But it's incredibly slow to do this for every evaluation independently. I'm not sure it's a good idea to expose such a slow binding.

It'd be better to do something like #237 where we change libigl so that it returns the combinatorially information necessary, then the function/gradient evaluations can be done (in batch) on python and in the case of dual contouring aggregated to compute the vertex locations in a new libigl C++ function.

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

No branches or pull requests

2 participants