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 1:44 PM, fencer said:
Expand  

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

  On 11/13/2016 at 10:18 PM, 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

Expand  

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

  On 12/15/2016 at 4:56 PM, 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

Expand  

 

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...
  On 2/6/2023 at 12:16 PM, HM_2020 said:

Hey Fencer, cheers as always!  Can you elaborate?  Cheers!

Expand  

Volume mask has values 0 or 1, windforce reads this values as on/off state, if you remap volue from 0 to 1 you will have gradient falloff for windforce.

DOP_mask_field_v03.hipFetching info...

  • Like 1
Link to comment
Share on other sites

  On 2/6/2023 at 4:29 PM, fencer said:

Volume mask has values 0 or 1, windforce reads this values as on/off state, if you remap volue from 0 to 1 you will have gradient falloff for windforce.

DOP_mask_field_v03.hip 280.61 kB · 6 downloads

Expand  

Cheers for that, done anything with this method in the new FLIP SOPS?

 

Link to comment
Share on other sites

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...