OpenGL Bezier Curves and Catmulroms

Whether you're a newbie or an experienced programmer, any questions, help, or just talk of any language will be welcomed here.

Moderator: Coders of Rage

Post Reply
User avatar
Moosader
Game Developer
Game Developer
Posts: 1081
Joined: Wed May 07, 2008 12:29 am
Current Project: Find out at: http://www.youtube.com/coderrach
Favorite Gaming Platforms: PC, NES, SNES, PS2, PS1, DS, PSP, X360, WII
Programming Language of Choice: C++
Location: Kansas City
Contact:

OpenGL Bezier Curves and Catmulroms

Post 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?
User avatar
avansc
Respected Programmer
Respected Programmer
Posts: 1708
Joined: Sun Nov 02, 2008 6:29 pm

Re: OpenGL Bezier Curves and Catmulroms

Post 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.
Some person, "I have a black belt in karate"
Dad, "Yea well I have a fan belt in street fighting"
Post Reply