Rigid Body Particles using UI ?

   4582   16   1
User Avatar
Member
20 posts
Joined: Feb. 2020
Offline
I'm completely new to Houdini and I've been looking through some tutorials trying to make some RBD Particles in order to fill a container. I noticed that a lot of people skip using the UI provided and so far seems simpler but I understand things can get complicated.

So I added a Circle and clicked “Source Particle Emitter” then added a Cube and clicked on “Instance Geometry on Particles” which works fine but now stuck trying to make the instance geometry to RBD ?
User Avatar
Member
8513 posts
Joined: July 2007
Online
you need to use Bullet Solver to get rbd collisions, you can still emit your packed RBDs using POP Source in All Geometry mode

however sine H18 you can use RBD Bullet Solver SOP instead, it has Solver/Bullet Object/Emit RBDs option
Tomas Slancik
FX Supervisor
Method Studios, NY
User Avatar
Member
20 posts
Joined: Feb. 2020
Offline
I really don't understand this at all. Is there any way you could example ? Really wanting to do this just by the UI not manually.

I noticed if I use a Ground Plane for collision it already works with Particles but why not RBD or Static ?
Edited by espr3ss0 - Feb. 24, 2020 11:54:07
User Avatar
Member
182 posts
Joined: April 2009
Offline
There is an example file with the Emit RBDs feature in the Houdini Help when you search for the RBD Bullet Solver geometry node.
User Avatar
Member
20 posts
Joined: Feb. 2020
Offline
Thanks tried but can't see which one.
User Avatar
Member
182 posts
Joined: April 2009
Offline
This one:


But in general I'm afraid there is no Shelf Button Solution for what you want to do. The RBD Bullet Solver SOP might be the fastest way to get there without diving into DOPs. Either way you'd have to get your hands dirty one way or another

Attachments:
Capture.JPG (57.2 KB)

User Avatar
Member
555 posts
Joined: Feb. 2017
Offline
here's a basic setup,

- the emit RBD is in rbdbulletsolver>Bullet Object tab
- check in rbdconfig for how I configure the balls, funnel and bowl
- I used quick and dirty concave for collision, beware the pros will frown on this.

Attachments:
FillBowl.gif (1.3 MB)
vu_FillBowl.hiplc (625.8 KB)

User Avatar
Member
555 posts
Joined: Feb. 2017
Offline
and one with animated funnel…

Attachments:
FillBowl2.gif (1.5 MB)
vu_FillBowl2.hiplc (646.1 KB)

User Avatar
Member
20 posts
Joined: Feb. 2020
Offline
That's a big help thank you. … Should note the Ground isn't working properly so everything falls.
Edited by espr3ss0 - Feb. 25, 2020 12:31:25
User Avatar
Member
555 posts
Joined: Feb. 2017
Offline
espr3ss0
That's a big help thank you. … Should note the Ground isn't working properly so everything falls.
Ground works perfectly for me.
User Avatar
Member
20 posts
Joined: Feb. 2020
Offline
There is an error on load … Warning: “/obj/geo1/axis_align1” using incomplete asset definition (full definition not found). The following node types are using incomplete asset definition: labs:op/axis_align

When I go into geo1 there is a ground plane visible but can't select it or see any object in the graph.
User Avatar
Member
20 posts
Joined: Feb. 2020
Offline
blackpixel
But in general I'm afraid there is no Shelf Button Solution for what you want to do. The RBD Bullet Solver SOP might be the fastest way to get there without diving into DOPs. Either way you'd have to get your hands dirty one way or another

Thanks I found the file.

I put together a simplified version of the example file, had emitting boxes with a box underneath for them to collide with which seems to work fine but found a similar problem to vusta's file where everything falls down. So I tried taking the example file apart and found that if I replace the RBD Bullet Solver then I get the problem. I'm missing something in the solver but can't see any difference ?
User Avatar
Member
555 posts
Joined: Feb. 2017
Offline
espr3ss0
There is an error on load … Warning: “/obj/geo1/axis_align1” using incomplete asset definition (full definition not found). The following node types are using incomplete asset definition: labs:op/axis_align

When I go into geo1 there is a ground plane visible but can't select it or see any object in the graph.
have you updated the sidefx labs tools ? to be safe just do it

if that's not working…then stuff would be initially below the ground hence fall…even tho the ground is there.

The labs align SOP simply takes an object, aligns its bottom to be on top of the ground (can do other axis too but 99.99% of the time I align it to be on top of ground)

https://www.sidefx.com/tutorials/sidefx-labs-installation/ [www.sidefx.com]
User Avatar
Member
20 posts
Joined: Feb. 2020
Offline
vusta
have you updated the sidefx labs tools ? to be safe just do it

if that's not working…then stuff would be initially below the ground hence fall…even tho the ground is there.

The labs align SOP simply takes an object, aligns its bottom to be on top of the ground (can do other axis too but 99.99% of the time I align it to be on top of ground)

Thank you soo much ! Just updated and works ok now. I see the Ground Plane is an option in the Solver. One more question on this subject … is there any way to make the object I want to fill static ? Moves around too much.
Edited by espr3ss0 - Feb. 26, 2020 09:42:19
User Avatar
Member
555 posts
Joined: Feb. 2017
Offline
espr3ss0
vusta
have you updated the sidefx labs tools ? to be safe just do it

if that's not working…then stuff would be initially below the ground hence fall…even tho the ground is there.

The labs align SOP simply takes an object, aligns its bottom to be on top of the ground (can do other axis too but 99.99% of the time I align it to be on top of ground)

Thank you soo much ! Just updated and works ok now. I see the Ground Plane is an option in the Solver. One more question on this subject … is there any way to make the object I want to fill static ? Moves around too much.
piece of cake, so assuming you're using the 1st file I sent, look in tab2 of rbdconfigure, you'll see @name=piece1 is being pinned, ie it's perfectly still, static. All you have to do is use the dropdown list in group and add piece0 to the list (piece0 is bowl, piece1 is funnel)
Edited by vusta - Feb. 26, 2020 15:56:52
User Avatar
Member
20 posts
Joined: Feb. 2020
Offline
Sorry thanks, I missed that completely !
User Avatar
Member
20 posts
Joined: Feb. 2020
Offline
vusta
piece of cake, so assuming you're using the 1st file I sent, look in tab2 of rbdconfigure, you'll see @name=piece1 is being pinned, ie it's perfectly still, static. All you have to do is use the dropdown list in group and add piece0 to the list (piece0 is bowl, piece1 is funnel)

I have a sligt problem … I have to add a second attribute where 1 is active and the object I want pinned is 2, if I don't do this the emitted objects also get pinned.

Is this just something I'm doing wrong or a bug ? (Apprentice 18.0.348)
  • Quick Links