taiya / dgp

Digital Geometry Processing - Fall 2016 - University of Victoria
38 stars 11 forks source link

Has anyone figured out the 1st part of hw3 using Laplacian Beltrami? #23

Closed xuzheng0927 closed 7 years ago

xuzheng0927 commented 7 years ago

Things are getting really odd on my side. The algorithm should be very simple:

Get Laplacian matrix L of the mesh, then get it squared (L L), permute the columns and then the rows so that the unknown vertex coefficient are at the upper-left "quarter" (L_uu or L_11). Then use solver.compute(L_uu). When doing the deformation, get the handles' new positions v_k, then get v_u by solver.solve(-L_ukv_k).

I'm getting the right output using graph Laplacian (uniform) but the output using Laplacian Beltrami is not:

2016-11-18 11 47 56

Can anyone simply show your Laplacian matrix values if you get the right result? Thanks!