-
flag-effect?
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,
martin
-
Advanced Member
Frequent Contributor
Re: flag-effect?
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 =)
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules