Page 1 of 1

OpenGL Bezier Curves and Catmulroms

Posted: Thu Apr 16, 2009 9:49 am
by Moosader
Heya-

For my OpenGL class, we have an assignment to model a roller coaster. Have any of you guys used bezier curves and such, and would you guys use 'em for this situation?
What would you use to model a roller coaster?

Re: OpenGL Bezier Curves and Catmulroms

Posted: Thu Apr 16, 2009 9:57 am
by avansc
Beziers would work fine.
it be a little work to implement, but to make the sim would be a breeze.
i think MDK has some stuff on bezier curves.

personally i would just make a rail mess and then have one "modifier" called twist.

that would basically be a matrix manipulation that would "twist" the mesh in a axis or multiple.