Jump to content

Wind Tunnel effect in POPS


bandini

Recommended Posts

Not exactly what I want, but as close as I can come to describing it. Basically, I want particles to flow around and cling to an object. I know about the creep sop - it's not exactly what I'm looking for. Particles should not start on the object's geo, and they should be free to leave it once they reach a certain lifespan or escape velocity or other condition of my choosing. I have heard mention of people using sdf volumes to create avoidance fields for the particles. I am interested in trying this. Just not sure how it is done. Anyone have a simple example hip they can share?

Thanks!

Link to comment
Share on other sites

The clinging to an object can be seen here (basically playing with the "STATE"):

http://www.sidefx.com/index.php?option=com_forum&Itemid=172&page=viewtopic&p=97495#97495

The SDF collisions are here:

Have a look at the "volume sample/gradient ..." vops. They will allow you to access the value of a voxel as well as the gradient. You can use the gradient vector (normalized or not) as your force.

Or perform a search on the forum for "volume gradient, sdf collisions, volume sample".

Have fun!

Link to comment
Share on other sites

Thanks, Peter!

The clinging to an object can be seen here (basically playing with the "STATE"):

http://www.sidefx.co...c&p=97495#97495

The SDF collisions are here:

http://forums.odforc...dpost__p__62434

Have a look at the "volume sample/gradient ..." vops. They will allow you to access the value of a voxel as well as the gradient. You can use the gradient vector (normalized or not) as your force.

Or perform a search on the forum for "volume gradient, sdf collisions, volume sample".

Have fun!

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