Thursday, March 18, 2010

Smoothing Strands

Given a set of hair control points (like the ones outputted from Bullet's soft body ropes), I can now form a Bezier spline to make a "prettier" hair strand. Recomputing the Bezier function on every frame is very costly, though (part of that is because I'm just testing things out and not really being efficient with the number of loops I use). Anyway, after I get back from class later, I want to draw a triangle-mesh tube around the smoothed strand (my first LOD, I'm so proud...).

(strand formed from the raw control points)

(smoothed strand)

No comments:

Post a Comment