Dual Contouring
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!
I'm guessing this might take a little extra to figure out how to pass python function handles correctly here.
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.