Jump to content
Sign in to follow this  
johnLIC

grain duplicate jittering

Recommended Posts

I made a grain solver simulation, then deleted many stray points from the cached .bgeo.  When I do an "upres sand" the points that get generated are different on each frame, so the part of the sim that is supposed to be standing still is sizzling.  I think it has something to do with point id's changing every frame.  I found a solution from Jeff Wagner that is a script he wrote in 2009.  I haven't tried it yet, not sure if it's what I need.  Is there a better way?

Share this post


Link to post
Share on other sites

My bad.  I had 

 

@pscale -=.01*rand(@ptnum)

 

in a point wrangle node.  I guess the sand upres is smart enough to keep track of particles, even though the @ptnum is changing.  Sorry for the distraction.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×