NURBS object

Hi guys,

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?

Thanks for any advise given.

This is not a trivial-beginner question you know…
look at here
“advanced” :wink: (nah it’s not a proof I know)

But I guess you’ll rapidly get some interesting answers on advanced coding topics.

Good luck !

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.

This topic was automatically closed 183 days after the last reply. New replies are no longer allowed.