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 about scale adjustment and TravelField function #53

Open
MarsVegetables opened this issue Jul 29, 2022 · 0 comments
Open

Question about scale adjustment and TravelField function #53

MarsVegetables opened this issue Jul 29, 2022 · 0 comments

Comments

@MarsVegetables
Copy link

Hi,
Thank you for providing this awesome project.
In this project, Adjustment of scale is a very important operation to obtain a beautiful result. However, in the paper, I do not find the detail about the scale adjustment. Hence, I have few questions about it.

  1. Is the scale adjustment operation based on a published paper or existing algorithm?
  2. In TravelField function, how to understand the following code block.
    MatrixXd &T = triangle_space[f]; VectorXd coord = T * Vector3d(p - V.col(F(0, f))); VectorXd dirs = (T * pt); double lens[3]; lens[0] = -coord.y() / dirs.y(); lens[1] = (1 - coord.x() - coord.y()) / (dirs.x() + dirs.y()); lens[2] = -coord.x() / dirs.x();
  3. In EstimateSlope(), could you please teach me why we need area when calculate mK at line 93, and then divide it at line 99.

Thank you for your time,

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

1 participant