Research Article
Iterative Least Square Optimization for the Weights of NURBS Curve
Algorithm 2
Pseudocode version of fitting skinned surface with proposed method.
{u direction fits} | Set the number of knots in the u direction and generate a uniform knot vector. | for i = 1 to l do | Fit the ith row data points and get a NURBS curve in the proposed method. | end for | { direction fits} | Set the number of knots in the direction and generate a uniform knot vector. | for i = 1 to m do | Fitting the ith column control points of every NURBS curve in 4 dimensions. | end for | {generate surface} | Generate the NURBS surface using the control points obtained in direction fitting and the knot vectors of u and direction. |
|