PDA

View Full Version : openGL and spline rendering



01-16-2006, 08:09 PM
can you render, transform and store spline objects using openGL ?

please help !

Ehsan Kamrani
01-17-2006, 02:27 AM
What do you mean from the spline objects?
I OpenGL you can draw many primitives, such a TRIANGLES, QUADS, POLYGONS, etc.
See glBegin/glEnd specification:
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/opengl/glfunc01_9u3y.asp

-Ehsan-

mikael_aronsson
01-17-2006, 11:38 PM
glu has support for splines, but only for rendering them, you can transform the result of course but there is no spline manipulation functions in glu you would have to use some other library for that (irit for example).

Mikael