curonia
11-15-2004, 09:42 AM
Hi,
need some help with bezier surfaces. Got an assignment in university to draw an umbrella with OpenGL. Something similar to this. (http://img6.exs.cx/my.php?loc=img6&image=osgtSuperShape_Paramaters_Umbrella.jpg)
In order to do this, as I understand, I have to draw a triangular curved surface, then rotate it few times. Now the problem is - I don't get how to draw a triangular surface. All examples (red book and internet) I found, draw a quad surface. Can anyone give some hints or even better - examples, how to draw a triangular. Thnx in advance.
need some help with bezier surfaces. Got an assignment in university to draw an umbrella with OpenGL. Something similar to this. (http://img6.exs.cx/my.php?loc=img6&image=osgtSuperShape_Paramaters_Umbrella.jpg)
In order to do this, as I understand, I have to draw a triangular curved surface, then rotate it few times. Now the problem is - I don't get how to draw a triangular surface. All examples (red book and internet) I found, draw a quad surface. Can anyone give some hints or even better - examples, how to draw a triangular. Thnx in advance.