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

Question for flatten loss #83

Closed
YanhaoZhang opened this issue Jun 7, 2021 · 2 comments
Closed

Question for flatten loss #83

YanhaoZhang opened this issue Jun 7, 2021 · 2 comments

Comments

@YanhaoZhang
Copy link

Thanks a lot for releasing the code. May I know the formulation of the flatten loss? I did not find it in your paper. Thanks a lot.

@ShichenLiu
Copy link
Owner

Hi, flatten loss is defined as the angle between each pair of triangles in the mesh. Specifically, for each edge i, let theta_i be the angle between its two associate triangles, the flatten loss is: sum_i (cos(theta_i) + 1)^2. By minimizing the flatten loss, the mesh are forced to be as "flatten" as possible.

@YanhaoZhang
Copy link
Author

Thanks a lot for your prompt reply. 👍

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