Grain activation by velocity

   1307   1   0
User Avatar
Member
79 posts
Joined: March 2012
Offline
Is there any quick thought on activating grain by velocity, what I am doing inside dop is not working for me, i have a stopped attribute 1 (means disabled) at sop level and inside dops I am just setting a condition based on speed which is if greater than 1 revert the stopped attribute back to 0

if (length(@v)> 0){
@stopped=0;
}


for some reason its not working

I did a test couple of months ago based on color it worked fine
FX - Artist / TD
User Avatar
Member
79 posts
Joined: March 2012
Offline
so basically coloring the points based on velocity worked for me but I believe there must be a better approach, it would be nice to know if anyone can share other decent approaches for a sand sim on a object, it has to stay on a object unless its not moving and based on the deformation of the object it simulate.
FX - Artist / TD
  • Quick Links