hjwdzh / QuadriFlow

QuadriFlow: A Scalable and Robust Method for Quadrangulation
http://stanford.edu/~jingweih/papers/quadriflow/
Other
660 stars 76 forks source link

API for fetch source info of new vertices? #47

Closed huxingyi closed 4 years ago

huxingyi commented 4 years ago

Hi, QuadriFlow is really nice, I am integrating QuadriFlow to my modeling tool.

Is there a way to fetch the source vertex please? What I mean is that, I get the new generated vertex from O_compact, quads from F_compact. But from where does O_compact generated? For example, there are color and material infos related with old vertex, how to connect the info with the new vertices? Thanks!

hjwdzh commented 4 years ago

It is a good question. One easy solution is to try this link: https://github.com/libigl/libigl/blob/master/include/igl/point_mesh_squared_distance.h