-
Notifications
You must be signed in to change notification settings - Fork 11
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
Some errors in assignment 3 code base #16
Comments
Weird that clang didn't have those errors. I've updated the code to fix these warnings, thanks for the help! |
Thanks but mouse_move_callback has the same issue.. BTW you missed a semicolon after "int u" in Deform.h as well :) |
One more question. I'm getting confused about the "PermutationMatrix". Is it simply a permuted identity matrix? I looked into Eigen's documentation it is not that clear to me. I guess permute. applyTranspositionOnTheRight(i, j) can swap the ith and jth rows (or columns)? |
Thanks, I just fixed those errors as well. I was watching the elections while posting this assignment, so maybe that explains why I was distracted. 😆
In the deformation slides, you can see that the matrix in the linear system is split into two parts: the equations for the unconstrained vertices, and the equations for the constrained vertices. The purpose of the permutation matrix is to permute the laplacian matrix so that the equations of the unconstrained vertices are at the top of the matrix, and the equations of the constrained vertices are at the bottom of the matrix. |
The API for crafting your own permutation matrix is to do operations on the |
Hi Nicolas sorry but I found a new issue 😌: ld: 17 duplicate symbols for architecture x86_64 clang: error: linker command failed with exit code 1 (use -v to see Searched on google and found it means "you have loaded the same function On Fri, Nov 11, 2016 at 10:58 PM, Nicolas Guillemot <
|
dgp/hw3_deformation/main.cpp:40:10: error: virtual function 'mouse_press_callback' has a different return type ('void') than the function it overrides (which has return type 'bool') void mouse_press_callback(int button, int action, int /*mods*/) override
And
dgp/hw3_deformation/main.cpp:11:25: error: call to implicitly-deleted copy constructor of 'Deform' Deform deformator = Deform(mesh, this->scene);
The text was updated successfully, but these errors were encountered: