I can render i single NURBS surface. But I now want to render a cube, each side being a NURBS surface. Can I pass 1 control grid to the gluNURBS function or would I have to create 6 different NURBS srfaces and join them together? would that leave a ‘hard’ edge where the surfaces join?
Originally posted by Cacks: But I now want to render a cube, each side being a NURBS surface. Can I pass 1 control grid to the gluNURBS function or would I have to create 6 different NURBS srfaces and join them together? would that leave a ‘hard’ edge where the surfaces join?
well, you need to render 6 surfaces and it will always leave a hard join at the edges. Thats nurbs limitations for you. You can re-use a single control grid though, you just need to use glRotate* and glTranslate* to position the sides in the correct place.