Jump to content

RBD packed primitive convex hull jitter


pgrochola

Recommended Posts

hey,

 

Anyone else notice when using RBD packed objects,  the convex hull generated changes typology thorough out the simulation?

Causing jitter and general strange behaviour.  

This is particularly evident on small objects because it happens at the edges (or when collision padding is high)

 

Check out below file, inside the DOP i have the same object as packed or regular rbd fractured object. 

Apart from the typology changing  on the packed objects, the behaviour of the RBD fractured object looks much more natural to me.

Not sure if this is related to typology change, but there is something odd about the pivot location of the packed object.

 

 

Thanks
Pav

 

packed_vs_standard.hipnc

Edited by pgrochola
Link to comment
Share on other sites

Interesting, I see some flickering on the convex geometry too. If no one else responds in the next day or two, might be a good bug to submit to SESI?

 

I did a separate file, and I don't see the drastic topology changes as your hipfile has, but they are definitely quivering.

Link to comment
Share on other sites

thanks for looking.

I noticed the geo flickering also but put it down to GL bug.

If you look at it in wireframe its fine. I also scattered some points on the primitive and they don't seem to flicker around so put that one down to display.

The convex hull flicker gets worse at small scale objects or large collision padding.

Link to comment
Share on other sites

I don't think this is a display/OpenGL bug, because the re-topologizing appears to affect the simulation. When the topology changes, the objects jitter because they're trying to resovle new collisions with the ground plane. Also, the re-topologizing is visible in wireframe mode too.

 

 

I posted a file last week that demonstrates the same problem:

http://forums.odforce.net/topic/16254-testing-bullet-why-is-everything-poppingblowing-up/page-2

 

 

-AC

Link to comment
Share on other sites

On my system I see the "display geometry" (original geo from sops) flickering. That's what I think gl problem.

the convex hull collision geo changes typology, which is not a gl issue.

Anyway.. Thanks for submitting bug. If we don't hear from them soon ill submit one also.

Link to comment
Share on other sites

  • 2 weeks later...

Thursday, May 22, 2014

Houdini 13.0.422: Fixed a bug that could cause the Bullet solver to create incorrectly transformed collision shapes for packed primitives with varying scales.

 

Thursday, May 22, 2014

Houdini 13.0.422: Fixed a bug in the Bullet Solver that caused it to re-evaluate collision geometry of RBD Objects every frame if "Inherit Velocity From Point Velocity" was enabled.

 

 

Can you confirm that this bug is resolved?

Link to comment
Share on other sites

  • 3 weeks later...
  • 1 month later...
  • 5 months later...

I've had a similar problem when "emitting" pack prim rbds where at some point during the emission, the emitter had zero points/prims, meaning at a certain frame it created a pack prim rbd with no geometry which messed up the solver causing this jittering behavior. I created a simple expression to make sure no rbds were generated during those null frames and it fixed it completely. Should be caught by dops but for now this is a good workaround.

So watch out for empty pack prim rbds.

Link to comment
Share on other sites

  • 2 months later...

I'm getting jitter as well, using H14.0.258. Here's a gif visualizing the bullet convex hull (had to reduce the colors a bit, hopefully you can still see):

post-9276-0-14164800-1430676274_thumb.gi

 

Notice that even the red (deactivated) collision meshes are jittering.. 

It's a really simple scene, just a hollow tube cut with Voronoi into 10 pieces and dropped on the ground. Has anyone heard anything more about this? Do you have any workarounds or is it working for you guys? 

 

I guess one could set it to Concave, that works alright, but is just painfully slow.

Link to comment
Share on other sites

I emailed with support today (Jenny) and she kindly shared this hipfile with me:

tileDestruction_restingIssue_v003.hip

 

I quote what she said:

"The main problem seems to be that the Bullet engine is producing somewhat jittery results when the collision padding is very small or the objects themselves are small.

If you can use the default collision padding of 0.02 and looks much better.

Attached is a simplified example that shows one approach to scaling the scene - I scaled the objects up before the sim, and then scaled them back down after the DOP Import SOP. I also adjusted the gravity by the same factor."

 

She also said that they have a bug for the drawing of the guide geometry for packed objects (ID# 61536), which probably is why they seem jittery compared to non-packed.

I draw the conclusion from this that the jitter is purely circumstantial and is not related to the visual bug of the packed guide geometry. In the scene above you can see that the convex hulls are still changing, but the simulation itself is stable.

 

Good to have this clarified! Case closed hopefully :)

  • Like 2
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...