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

Face resolution flag appears to be disregarded #28

Closed
meder411 opened this issue Mar 3, 2019 · 2 comments
Closed

Face resolution flag appears to be disregarded #28

meder411 opened this issue Mar 3, 2019 · 2 comments

Comments

@meder411
Copy link

meder411 commented Mar 3, 2019

I ran ./quadriflow -i ../../icosphere7.obj -o quadsphere.obj -f 131072 on a order 7 icosphere triangular mesh in hopes of returning a 131,072 face quad mesh and it returned a mesh with 1,076,594 face quad mesh. While the quality is fantastic, it's nearly an order of magnitude higher resolution than I'd asked for.

I can understand if there cannot be an exact match to the number of faces due to geometric principals, but this seems way off. Am I missing something about the -f flag?

If it helps, I've attached the input I used as icosphere7.zip and the output as quadsphere.zip.

@meder411 meder411 changed the title Face resolution appears to be disregarded Face resolution flag appears to be disregarded Mar 3, 2019
@meder411
Copy link
Author

meder411 commented Mar 3, 2019

There are also some unexpected efffects at the singularities (i.e. the original vertices in the icosahedron). Here is an image of one of them on the quadriflow output:
snapshot00

@hjwdzh
Copy link
Owner

hjwdzh commented Jul 15, 2019

Certain Artifacts could exist since we are approximating the original problem instead of solving a global optimal. -f control the scale of the edge length and thus the number of faces. However, it can just give it a linear scale while we cannot control the exact number of faces.

@hjwdzh hjwdzh closed this as completed Jul 15, 2019
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