PDA

View Full Version : NURBS



sky-raven
08-23-2002, 06:02 AM
Can OpenGL truely produce rational B Splines
since in its function gluNurbsCurve or
gluNurbsSurface there is no provision for
homogeneous weighting factors ?

Rob The Bloke
08-25-2002, 05:15 AM
Originally posted by sky-raven:
Can OpenGL truely produce rational B Splines
since in its function gluNurbsCurve or
gluNurbsSurface there is no provision for
homogeneous weighting factors ?


yes there is provision for weighting factots in gluNurbsSurface and gluNurbsCurve. Specify vertex data with GL_*_VERTEX_4 as the last parameter.