/* * FILE: nurbcurv1.dat * * creates a curve with clamped, normalized knot vector * */ cpts = ((0,0,0,1), (0.25, 0.3, 0, 1), (0.75, 0.3, 0, 1), (1,0,0,1)); curv1 = NURBCURV( ( 0, 0, 0, 0, 1, 1, 1, 1 ), cpts ); poly1 = POLYLINE_H3(cpts); SCENEROOT = SCENENODE( (), (ATTRIBS(LINECOLOR((1,0,0,1)))), (curv1,poly1) );