View Full Version : flag-effect?

06-21-2001, 02:24 AM
Hi folks.

I want to build a surface (rect) which is moving like a flag. now i have seen a example solving this problem with GL_QUADS. wouldn't it be easier to do it with a Bezier Curve and with what rule would i move the control point(s).

thanks for your help,

06-21-2001, 03:19 AM
Regardless of how you represent the flags surface (bezier surface or quad mesh) the easy way to make it move is to use some sine functions. Think of a sine curve moving along the length of the flag. The hardcore way to do it is of course to write a cloth sim and use that, but that might be a little overkill for a flag =)