JiaxiangZheng / DeformationGraph

A implemetation of deformation graph which was widely used in mesh deformation and non-rigid reconstruction
56 stars 24 forks source link

The constrain part in Jacobian mat may be wrong #1

Open fishfishson opened 4 years ago

fishfishson commented 4 years ago

you may loss the derivatives of rotation mat for each vertices in constrain part. https://github.com/JiaxiangZheng/DeformationGraph/blob/b250685dc1485955710c3dfcbc4dc5e0c60e9f0b/src/DeformGraph.cpp#L328

Xianjin111 commented 3 years ago

I have problem about the mesh format. I use OFF file and still met following problem. Could you please provide clues to deal with it ? Such as what VV and vid should be? Thank you very much. I print the mid-process as following: ./test_FPS ./triangle.off PrepareFastMarching... VV before build:0 has build the vertex_triangle connectivity! has build the triangle_triangle connectivity! start FarthestPointSampling... VV size: 1 vid: 18842 VV size: 1 vid: 0 max dist:=1e+15 VV size: 1 vid: 1 Segmentation fault (core dumped)

rlczddl commented 3 years ago

Because the author simplifies the constraint term, a point is only affected by one node. Besides, because the construction node is sampled from the original cloud, the result of that term is 0.