Closed guodan closed 4 years ago
Reason: To randomly choose vertices to be duplicated/cut.
In most cases, the number of elements in the position map and the number of vertices in the skinned mesh don't match. We have to duplicate some vertices to fill the remainder in the position map, or we have to cut some vertices from the skinned mesh to fit the position map.
In both cases, it will introduce noticeable artifacts if we choose vertices in an ordered fashion. For example, it may only duplicate vertices on the head, or it may only cut vertices on the head.
To avoid this kind of artifacts, we fill the position map in random order. It may still duplicate or cut some vertices, but they only introduce a small amount of noise. It might be unnoticeable in most cases.
I'm closing this issue now. Please feel free to reopen for further questions.
Thanks, I modify the map size to 64 * 64, the result is noticeable.
Why don't use
but use