top of page

Custom Smoothing Algorithm

Tool Description

While working with retopologizing cloth for rendering purposes, I noticed that the typical Laplacian smoothing algorithm created two issues. If any of the edges of the cloth were concave, the smoothing algorithm tended to push the inside part of the cloth outside its border geo. The second issue was that if there were any vertex poles (vertices with edges not equal to 4), those tended to create little vacuums that the other points would start to migrate towards. This algorithm makes use of the incremental changes of Laplacian smoothing couples with some custom additions. First, the tool takes all the border points, finds their tangents, and then pushes the points in a radius with a custom falloff back into the geometry. The second user tool is a gentle push out from the vertex poles, this allows these two areas to push outwards each iteration to keep the inside the cloth from getting to far away from where they should logically end up.

bottom of page