PDA

View Full Version : opengl in C++builder



05-06-2003, 11:14 PM
if I want to draw a bezier curve in C++builder, how can I do?

mikael_aronsson
05-06-2003, 11:18 PM
Hi !

It's no different from drawing a bezier curve with any other compiler, have a look at the gluNewNurbsRenderer and go from there, if you don't have OpenGL documentation you will find it on this website.

You could of course also use an external library to create the curve for you, or implement it yourself, it's actually pretty simple, there are lots of tutorials on bezier curves out there, I even think there is one on www.gamedev.net (http://www.gamedev.net)

Mikael