I am currently studying a method for smoothing vertex vertices (skin weight for joint deformations) and emptying methods that use geodetic (surface) distances between vertices within a user-specified parametric distance. <w> Until now, someone has mentioned the possible use of the Dijkstra Algorithm to obtain approximate geodetic distances, but it has limitations on some types of grid topology. The only document that I specifically found on this problem (the so-called "smoothing the weight of the vertices of the bosom") uses the Laplacian smoothing of weights on the skinhead grid, but it considers only single-ring neighboring vertices for each vertex that does not satisfy mine, I need to include vertices at a distance (shortest geodetic distance):
L(Wi) = 1/m * Sum(j from 0 to m-1)(Wj - Wi)
where the vertices i
and j
considered relative to the vertex i
, m
is the number of neighboring vertices, and W
is the weight at the vertex.
I am a modified Laplacian smoothing that uses all the vertices within the parametric distance, but the distance should also be a factor. Maybe just multiply the effect of the weight on the parametric distance minus the distance between the current vertex and the one used in the sum. Something like this might be:
Wmj = Wj * (maxDistance - Dji) L(Wi) = 1/m * Sum(j from 0 to m-1)(Wmj - Wi)
so that the smoothing effect on Wj
decreases (decreases) on its vertex distance ( Dji
). Of course, the vertices in maxDistance
will have no effect and can be ignored as part of m
.
Will this work?
source share