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

Preserving boundary while extracting quad-mesh #6

Closed
VVingerfly opened this issue Jan 11, 2017 · 4 comments
Closed

Preserving boundary while extracting quad-mesh #6

VVingerfly opened this issue Jan 11, 2017 · 4 comments

Comments

@VVingerfly
Copy link

Hello! Are there any methods to preserve the boundary of original triangle mesh while extracting quad-mesh. Preserving boundary means keeping all the boundary vertices of resulting quad-mesh lying on the boundary edges of triangle mesh.

Here is the result of libQEx.
image

Can libQEx keep boundary while extracting quad-mesh from open triangle mesh?

@hcebke
Copy link
Owner

hcebke commented Jan 11, 2017

The short answer is: no. If you had a parametrization with integer iso-lines aligned with the boundary, then libQEx would naturally extract the boundary of the triangle mesh.

On the mesh depicted in your image I'm not even sure what kind of behavior you desire. Do you want the iso-lines of your parametrization to be traced to the boundaries and then connected via the boundary? That would result in non-quadrilateral faces. That's nothing libQEx supports but you could extend it to do exactly this. It would incur considerable effort, though.

@hcebke hcebke closed this as completed Jan 11, 2017
@VVingerfly
Copy link
Author

Thank you for your reply!
Yes, I want the iso-lines of parameterization to be traced to the boundary, so the boundary vertices of final quad-mesh lie on the boundary of triangle mesh.
Maybe the parameterization method should be modified or changed first. Currently I am using MIQ method.

Best,
Wei

@hcebke
Copy link
Owner

hcebke commented Jan 12, 2017

If you want your final mesh to be quad-only, i.e. if you do not want any non-quadrilateral faces, then you have to synthesize a different parametrization. The MIQ algorithm generally supports boundary alignment. You would have to treat the boundary edges of the input mesh as feature edges, i.e. constrain them to integer coordinates and add cross field alignment constraints to their incident faces.

None of that has anything to do with libQEx, though. If you feed it a boundary-aligned parametrization then it will extract a boundary-aligned quad mesh.

@VVingerfly
Copy link
Author

Thanks a lot for your kind reply. They are very useful for me. I will look into MIQ algorithm in deeper, and treat the boundary edges as feature edges as you suggested. Thanks a lot.

Best,
Wei

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