-
Notifications
You must be signed in to change notification settings - Fork 96
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
Flattening not succedeed after implementing eigen equivalent of cholmod routines #26
Comments
By the way, the client app I'm using is:
Maybe there's some other setting I'm before starting the flattening. For example I noticed you have something like:
In your |
And one more question... I'm not 100% sure, but why is the image of the checkboard like shifted (from your original tool)? |
You can probably just get rid of the alpha and beta (this is cholmod specific) and return "refA + refB". It seems like your client app is alright, there is no need to call/implement "removeVertexHandles" and "performPCA" - these are called for visualization purposes. |
I've accidentally closed the issue... sorry... |
You'll have to translate, rotate and/or scale either the texture image or the uvs to get them to align the way you want them to. The "Show UV Tex Param" option in Meshlab lets you see the current alignment. |
So despite not being aligned, you would say the parameterization is still correct. |
Its difficult for me to say, I'd print out the uvs from the BFF tool and your implementation and see the error between them to check if your implementation is correct. |
I was more referring, in general. The UV look different to me, so there might still be something to sorted out. |
I don't think I can get rid of the two constants, since you use them in your overload of the operator |
Right, but you can just get rid of the "add" function and directly return "A + B" and "A - B" in the appropriate operators. |
Fair point. |
Hi again, Is there some special setting you do in your cholesky factorization? If you compare my output against yours you can see the top right corner distorted (in mine). Is there maybe some special setting I should be aware of? I have the feeling the Eigen solver has stability issues, but I might be complete wrong. |
In my experience, Cholmod is a more stable solver than Eigen. Eigen has wrappers around multiple external solvers such as Cholmod (see here: http://eigen.tuxfamily.org/dox/group__TopicSparseSystems.html), it might be worth giving them a try to see if the results improve (and to make sure the problem is solver related). |
Hi, there's some issue with my wrappers and I'd like to know if I've implemented corretly the Eigen equivalent of some of the cholmod routines, the documentation doesn't say much.
For example you've implemented:
My eigen equivalent, which actually I'm not sure anymore, is:
Where
SpMat
is defined as:Is my conversion correct? There're similar function throught in
SparseMatrix.inl
I guess the interpretation of the inputs must be the same.But I've not clear why you have
alpha,beta
as vectors with two entries.What I'm currently getting is something like:
While originally is supposed to generate:
The text was updated successfully, but these errors were encountered: