Nurbs Optimization - Part 4 - Full Nurbs and Tangents

So I added the tangent calculation the the test code and got a pretty shocking result. When just computing the point on the curve the optimized method was 2x as fast as the Maya API method. When you compute both the position and the tangent it ends up being around 3-3.5x as fast (I'm testing with 100,000 points). So it seems like the Maya API code is very optimized for single points but there's a lot of room for improvement in specialized cases like my deformer. Hopefully that will be the case for nurbsSurfaces, because the next thing to test is to calculate a point on a nurbs surface.

Featured Posts
Recent Posts