solids of revolution?

Hello, I want to construct a 3d object from a 2d curve (well, not exactly a curve: small lines) rotating it around an axis. Can I use glRotate betwen calls to glVertex* to make a mesh? I mean, changing the modelview matrix will affect the continuity of my model by breaking my polygon strips? Thanks! Bye.

If memory serves. glRotate (and any other matrix functions for that matter) are not allowed to be invoked between glBegin and glEnd.

But i dont think that will stop you from using your own matrix functions.

ok. Thanks on that one. But I still don’t really know how to do it without defining some manual transforming sub-routines. I mean, it’s not really a problem for me but I just know there’s some other (and more elegant) way to do it! I’m really new to opengl so maybe I’m missing something . Well, either way I’m liking it!!! Thanks!