PDA

View Full Version : HOW DO YOU DO THIS IN LW: Flag on a Pole (Model Included)


RobertoOrtiz
04-05-2007, 02:58 PM
How do a cloth simulation of a flag using standard Lightwave?
I want to do a cloth simulation using standard Lightwave.(8x or 9x)

I am working on animation that includes a flag attached to a pole.
The idea of the simulation is that the movement of the flag is determined
by the movements of the wodden pole and wind "events".

To aid the discussion I have included a simple proxy object.

Looking forward to your comments and ideas.

-R

Ed Bittner
04-05-2007, 03:39 PM
Roberto,

I would go back to motion designer for this.
E.

jeremyhardin
04-05-2007, 03:48 PM
I've just been doing some flags and banners in a Maya project and had to use Maya 7's cloth (which bites). So I reverted to what I knew and did it in LW, then converted it. Will try to give this object a look and a go.

RobertoOrtiz
04-08-2007, 07:04 AM
OK here is the scene with no collision detection.


Ok I updated a bit the object and also added the animation scene.
Here is a link to the flag animation with no colision detection
>>LINK<< (http://www.cggallery.com/temp/fxwars/challenge14/flag.mov)
and here are the settings for the controls
>image1 (http://www.cggallery.com/temp/fxwars/challenge14/a1.jpg)
>image2 (http://www.cggallery.com/temp/fxwars/challenge14/a2.jpg)
>image3
(http://www.cggallery.com/temp/fxwars/challenge14/a3.jpg)

Ok so now do I set up the collision detection to the pole?

-R

Bonzodogboy
04-10-2007, 12:55 AM
Hi Roberto,
I was playing around with a similar scene not long ago, and I had a look at your scene and this is what I reckon you could do.
First I tried upping the bounce/bind power on the pole, but I was getting some nasty jerky results. The other option is to take off collision, and put cloth FX onto the pole, with fix all on, and collision set to alll. up the bounce bind power...
the other option which i found worked better, was create a collision null, set to bounce, square shape. then stretch the null till it resembles your pole, but a little larger. then up the bounce bind power to 250% ish... then match the nulls position to the pole and parent it top the pole. calculate, and bang you should have a decent collision.
If you want i will post some screen shots. :)

RobertoOrtiz
04-10-2007, 03:00 AM
Hi Roberto,
I was playing around with a similar scene not long ago, and I had a look at your scene and this is what I reckon you could do.
First I tried upping the bounce/bind power on the pole, but I was getting some nasty jerky results. The other option is to take off collision, and put cloth FX onto the pole, with fix all on, and collision set to alll. up the bounce bind power...
the other option which i found worked better, was create a collision null, set to bounce, square shape. then stretch the null till it resembles your pole, but a little larger. then up the bounce bind power to 250% ish... then match the nulls position to the pole and parent it top the pole. calculate, and bang you should have a decent collision.
If you want i will post some screen shots. :)
Please do post some shots.

I am going to try your trick now...
-R

Bonzodogboy
04-10-2007, 05:03 AM
http://i167.photobucket.com/albums/u144/bonzodogboy/flag.jpg
Hi Roberto,
The other thing I forgot to mention, was turn exclusive collision off in the clothfx tab.
and I also set the collision to weight rather than using the surface.
So above is a pic of the rough setup. play with the fix rough settings on the collision null to adjust how the cloth reacts with the pole.
I have attached the scene so you can have a look at what i did. it's rough but you get the idea.

and here is a quick render. enjoy :)
http://i167.photobucket.com/albums/u144/bonzodogboy/th_flagtest01.jpg (http://s167.photobucket.com/albums/u144/bonzodogboy/?action=view&current=flagtest01.flv)

RobertoOrtiz
04-10-2007, 05:25 AM
Awesome!

That would do it.

Now lets see If i can add some wind effectors to the scene.

-R

softdistortion
04-10-2007, 04:13 PM
Not sure if this will give you any help (Maya tutorial)....coincidentaly found it while looking for some other info and thought of your thread here.. you might find it interesting. >
http://www.dezfx.com/HTML_pages/TutorialPages/animatedFlag_4.html

jeremyhardin
04-10-2007, 04:30 PM
Not sure if this will give you any help (Maya tutorial)....coincidentaly found it while looking for some other info and thought of your thread here.. you might find it interesting. >
http://www.dezfx.com/HTML_pages/TutorialPages/animatedFlag_4.html

Not sure if this is directed at me, but I assume it is due to my earlier maya comments...
Yeah as you can see there's almost no proper cloth self-collision in maya before nCloth came around. That's why I opted for LW cloth.

RobertoOrtiz
04-10-2007, 04:41 PM
Guys, I am planning to update the scene as soon as I get home.

Lets keep the great suggestions coming.


-R

CGTalk Moderation
04-10-2007, 04:41 PM
This thread has been automatically closed as it remained inactive for 12 months. If you wish to continue the discussion, please create a new thread in the appropriate forum.