Hi guys.
I've been trying to make particles snap onto surface using vdb sdf.(volume sample and gradient)
Specifically, I am trying to emit the particles from sdf volume and let them lie on some range of a surface.
I know how to snap particles on a surface using volume sample and gradient but what I really want to make is exactly not that all particles stick on the surface. I want some particles to lie down a short distance away from the surface outside or inside.(randomly)
It may be softball question but I can't get easily figured out…
Any suggestions would be appreciated!
lee
Using VDB SDF's distance value, how do I make particles lying on some range of surface?
2866 2 1- lee22
- Member
- 7 posts
- Joined: Aug. 2013
- Offline
- circusmonkey
- Member
- 2624 posts
- Joined: Aug. 2006
- Offline
lee22
question but I can't get easily figured out…
Any suggestions would be appreciated!
Well if you know how to move a point to the boundary of the sdf, all you need to do is then add a random value thats something like fit01(@rand(@ptnum),-1,1) to the vector you pushed the point along.
Rob
Gone fishing
- lee22
- Member
- 7 posts
- Joined: Aug. 2013
- Offline
-
- Quick Links