Jump to content


H.11 RBD Problem


  • Please log in to reply
5 replies to this topic

#1 oasfc

oasfc

    Peon

  • Members
  • Pip
  • 3 posts
  • Joined: 29-July 12
  • Name:OO AA

Posted 29 July 2012 - 03:22 PM

Hi. I am trying to create a simple RBD sim of popcorn falling out of a pop corn box. I have been tweaking the settings of the DOP set up for a while now but i am unable to stop the pop corn from popping around and being very jumpy when in the box. I am currently using ray intersect for my collisions with a value of 100 but even with such a high value the pop corns are not interacting with each other properly. I have tried numerous settings, cranking the solver settings up very high but im still having no luck. I have attached a scene for reference. Any help would be great.

#2 Mikal

Mikal

    Peon

  • Members
  • Pip
  • 25 posts
  • Joined: 04-July 10
  • Location:London
  • Name:Michael Parker

Posted 29 July 2012 - 10:03 PM

Don't think you attached the scene file?

#3 oasfc

oasfc

    Peon

  • Members
  • Pip
  • 3 posts
  • Joined: 29-July 12
  • Name:OO AA

Posted 30 July 2012 - 01:15 AM

View PostMikal, on 29 July 2012 - 10:03 PM, said:

Don't think you attached the scene file?

Thanks for pointing this out, i must have forgotten.

Attached Files



#4 Mikal

Mikal

    Peon

  • Members
  • Pip
  • 25 posts
  • Joined: 04-July 10
  • Location:London
  • Name:Michael Parker

Posted 30 July 2012 - 06:21 PM

View Postoasfc, on 30 July 2012 - 01:15 AM, said:

Thanks for pointing this out, i must have forgotten.

So. a few things I changed...

For roughly spherical objects like that you might as well use an implicit sphere as the collision object - it'll be quicker and depending how close you are to the object it's unlikely you'll notice the penetration.

I think the popping comes largely from including 'resolve penetration' in the solver - it's not normally turned on by default - basically when the solver finds two penetrating objects it will physically move one or both on that frame to resolve the intersection, and you end up with that popping.

You can reduce the impact the objects are having within the group by reducing 'shock propogation'... otherwise collisions can reverberate around the box and they'll take longer to settle.

Finally increase substeps, it's slower but you'll get a smoother result.

Hope that helps

#5 Mikal

Mikal

    Peon

  • Members
  • Pip
  • 25 posts
  • Joined: 04-July 10
  • Location:London
  • Name:Michael Parker

Posted 30 July 2012 - 06:22 PM

Here's the file

Attached Files



#6 oasfc

oasfc

    Peon

  • Members
  • Pip
  • 3 posts
  • Joined: 29-July 12
  • Name:OO AA

Posted 31 July 2012 - 08:09 AM

thank you for the help. much appreciated!




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users