Jump to content
meeotch

Cloth arbitrary vel field

Recommended Posts

Has anyone successfully gotten the "External Velocity Field" in the Drag tab on a cloth object to work? The docs indicate: "You should not use the Wind Force DOP or any of the other forces in DOPs because they will generate inferior results compared with the Air Drag model." So I've been trying to pass in a velocity volume, and dutifully using the Drag External Velocity Field slot as instructed, but no matter what I try, I can't get the cloth to respond.

At first, I thought all I had to do was reference the velocity volume directly from the EVF slot, with some sort of syntax: /obj/volumeObject/volumeVelocity1:vel or some such. Failing to get that to work, I searched for example files, and all I found was a Wire Solver example (the Wire setup has a similarly named EVF slot), wherein the velocity volume was loaded into the DOPSolver via a SOP Vector Field DOP and attached to the wire. The EVF field was left at the default "vel", and the velocity volume was named appropriately (vel.x, vel.y, vel.z). But trying the same thing with the cloth solver still gives no response.

I've attached a simple file that indicates what I thought the correct setup should be. What am I doing wrong here?

test_v2b_clean.zip

Share this post


Link to post
Share on other sites

I contacted Sesi support to ask how does it work. They told me that there's a bug and they will inform me back when the bug is solved. So i will also post it in here.

Share this post


Link to post
Share on other sites

Cool nice one guys. This example uses pyro sims in the dop net to create the vel field. Is there a way to bring in data from SOPs such as a simple bounding box to define an area where you want velocities to exist? 

Share this post


Link to post
Share on other sites

I managed to bring in my vel field from outside by using a smoke object then a merge with the cloth inside dops. Under the "External Velocity Field" in the cloth object I entered "vel"

Share this post


Link to post
Share on other sites

@soomld would you happen to have an example scene for this? Or even a screen shot? I've been try to do exactly that all day but I've either been getting errors or just nothing.

 

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×