Jump to content

How to use mask field node in DOP Network in RBD sim?


violalyu

Recommended Posts

Hi Houdini friends,

Does anyone know how to use mask field in DOP net? I'm doing a simulation of leaves on the ground reacting to a car passing by. I need to control the wind force to affect only where the car is passing, where other leaves remains more still. Is there any way to mask out the affected area and have the wind force only affect that area and have dynamic change on the mask object? Or if there's other ways to do this? Thank you so much!!!

Link to comment
Share on other sites

On 11/12/2016 at 8:44 AM, fencer said:

Hi fencer, I have another problem of this. After the leaves rise up they need to be not affected by the force anymore, but this method it continue to affect the leaves, so they never fall on the ground again. Is there any solution to that? Thanks!!!

Link to comment
Share on other sites

It seems to work for me, there is a gravity force following the wind. You do have to play with the numbers on the Wind Force. This GIF shows the windforce adjusted so the Scale Force is 6, was 60 and the Velocity in the Y-AXIS is 10, was 1. So the overall force is similar, 6 * 10 i.e. 60 but it is split between the input channels in a different way.

 

wind_particle_mask.gif

Edited by Atom
  • Like 1
Link to comment
Share on other sites

33 minutes ago, Atom said:

It seems to work for me, there is a gravity force following the wind. You do have to play with the numbers on the Wind Force. This GIF shows the windforce adjusted so the Scale Force is 6, was 60 and the Velocity in the Y-AXIS is 10, was 1. So the overall force is similar, 6 * 10 i.e. 60 but it is split between the input channels in a different way.

 

wind_particle_mask.gif

Thanks Atom! I'll try this!

Link to comment
Share on other sites

  • 1 month later...

Hey guys
I'm trying to modify the fencer hip example by adding some noise into the box volume, so what I need is to make kind of noisy shape of the mask to affect the particles

I simply  put volumevop with some noise after the isooffset but all the setup is not working this way, the particles start moving out of the box mask.
Does Sop Scalar Field allows me to do it basically ?

thanks

h_mask.jpg

Edited by JDee
Link to comment
Share on other sites

25 minutes ago, JDee said:

Hey guys
I'm trying to modify the fencer hip example by adding some noise into the box volume, so what I need is to make kind of noisy shape of the mask to affect the particles

I simply  put volumevop with some noise after the isooffset but all the setup is not working this way, the particles start moving out of the box mask.
Does Sop Scalar Field allows me to do it basically ?

thanks

h_mask.jpg

 

DOP_mask_field_v02.hip

  • Like 1
Link to comment
Share on other sites

  • 3 years later...
  • 2 months later...
  • 3 months later...
  • 4 weeks later...
  • 2 years later...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...