Jump to content
ahang

RBD Jittering Velocities

Recommended Posts

Hey guys,

I've got this simulation of a wall where a train is wrecking through a wall. Some fragments hanging at the wall are still jittering afterwards. The jittering itself is no problem because it's minmal and the camera will be shaking. But the jittering velocities are a problem because they disturb our motion vector pass (generated through Maya Arnold) and cause it to flicker. Is there a way to leave the simulation as it is and "repair" the velocities? I tried a filter for the low velocity values, but they are not precise enough. I uploaded some Frames of the wall as bgeos:

 

https://drive.google.com/open?id=1Re5YiuvD8KaTe56XRehdGMfcQmV9b8sA

 

Thanks for the help!

Share this post


Link to post
Share on other sites

Take the offending velocities out by hand, frame by frame, with selection volumes before you use them. You could also try to do a filter of the impulse (subtract the current velocity by the next frame's velocity), but that's asking for trouble. Best to go with brute force and next time and delete the offending jittery pieces before you turn them into a vel pass.

Share this post


Link to post
Share on other sites

Dear Ahang,

Just to say...i'm currently (right now) sharing the same problem.

 

 

Share this post


Link to post
Share on other sites

Please find my posted questionning below :

Dear all,

The plot : -> Am currently simulating a simple shatter with rbdPacked prims + Constraints Glue  + a gorund plane, all into a DOP. (nothing Awesome till here).

The Questions : -> But, strangely, the little rbds continue to vibrate once fallen on the ground. It looks like continuous vibrating tiny giggly wiggly inter-collisions.

Did any body ever had this ? :wacko:

Would it be possible, i've to FORCE STOP them using a desactivating VEX snippet in a DOP/geomety wrangle node ? :ph34r:

 

If anybody had this one time, let me know, please. You will be welcome and it will be pleasure to discuss that point you. B)

 

Thank you all a lot,

cheers.

Share this post


Link to post
Share on other sites

One thing you could try is to measure the length of the velocity and if it's below a certain threshold, you can multiply it down per frame until the objects come to a stop. 

Add a pop wrangle to the third input (post solve) of a rigidbodysolver with something like the following...

if(@Frame>24 && length(@v)<10)
    {
        v@v *= 0.5;
        v@w *= 0.5;
    }

You may want to substitute the various thresholds for variables with parameter sliders for quicker iterations. 

if(@Frame>chi("frameThreshold") && length(@v)<chf("speedThreshold"))
    {
        v@v *= chf("velFalloff");
        v@w *= chf("velFalloff");
    }

This is far from a perfect solution but can be useful in certain situations. 

WD

 

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

×