CPSC 424 Rational Curves Syllabus - Ugrad.cs.ubc.ca
CPSC 424 Rational Curves Syllabus - Ugrad.cs.ubc.ca
CPSC 424 Rational Curves Syllabus - Ugrad.cs.ubc.ca
Create successful ePaper yourself
Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.
<strong>Rational</strong> <strong>Curves</strong><br />
Other properties:<br />
• Convex hull<br />
• Curve interpolates start and endpoint (rational Bézier<br />
only)<br />
• De Casteljau, de Boor and other algorithms now have<br />
to be performed in homogeneous coordinates!<br />
© Alla Sheffer & Wolfgang Heidrich<br />
OpenGL<br />
void gluNurbsCurve( GLUnurbsObj *nobj, GLint nknots,<br />
GLfloat *knot, GLint stride, GLfloat *ctlarray, GLint order,<br />
GLenum type )<br />
nobj - pointer to object created by gluNewNurbsRenderer<br />
nknots - number of knots<br />
knot – knot vector<br />
stride - “width” = dimension<br />
ctlarray - array of control points.<br />
order - degree+1<br />
type - enum of types<br />
© Alla Sheffer & Wolfgang Heidrich<br />
4