Welcome to od|forum

Register now to gain access to all of our features. Once registered and logged in, you will be able to contribute to this site by submitting your own content or replying to existing content. You'll be able to customize your profile, receive reputation points as a reward for submitting content, while also communicating with other members via your own private inbox, plus much more! This message will be removed once you have signed in.

melazoma

Move RBD objects with fluid velocity field?

Hi all,

I remember hearing that the velocity field created by a fluid simulation can be used to move RBD objects in another sim.

I've looked into the Force Field dop, but this dop takes geometry data with "force" attribute, instead of a vector field data like "vel" (as created by a fluid sim)

Perhaps I can pass the vel data to a popnet first and advect some particles and use that motion to drive the RBDs.

But is there a straight forward way to use the vel data in another RBD sim?

Share this post


Link to post
Share on other sites

Hi all,

I remember hearing that the velocity field created by a fluid simulation can be used to move RBD objects in another sim.

I've looked into the Force Field dop, but this dop takes geometry data with "force" attribute, instead of a vector field data like "vel" (as created by a fluid sim)

Perhaps I can pass the vel data to a popnet first and advect some particles and use that motion to drive the RBDs.

But is there a straight forward way to use the vel data in another RBD sim?

Here is a quick test.

Fetched the velocity and set the force attribute to vel.

EDIT.

It just crossed my mind that there is a prebuilt asset for what i did in my file, the fluid force DOP.

rbd_velField.hip

Edited by mawi

Share this post


Link to post
Share on other sites

Here is a quick test.

Fetched the velocity and set the force attribute to vel.

EDIT.

It just crossed my mind that there is a prebuilt asset for what i did in my file, the fluid force DOP.

It works! Thanks a lot for the pointers.

I was also looking for a way to import a bgeo-cached velocity field back into dops as a field force.

A SOP Vector Field did it for me. A quick example is attached.

moveRBDwFluid.hipnc

1 person likes this

Share this post


Link to post
Share on other sites

 

Quote

 

I was also looking for a way to import a bgeo-cached velocity field back into dops as a field force.

A SOP Vector Field did it for me. A quick example is attached.

 

 thaaaaaaaaaaaaanksss youuu  i was looking for a way to do this :D

Edited by dyei nightmare

Share this post


Link to post
Share on other sites
On 29/5/2010 at 9:17 PM, melazoma said:

It works! Thanks a lot for the pointers.

I was also looking for a way to import a bgeo-cached velocity field back into dops as a field force.

A SOP Vector Field did it for me. A quick example is attached.

moveRBDwFluid.hipnc

  amazing...   such a simple file but yet,  it explains a looot..   the backbone of the dops logic, thanks

Edited by dyei nightmare

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