Houdini 18.5 Destruction

Simulating in SOPs

On this page

You can simulate RBDs in SOPs using the RBD Bullet Solver node. This allows you to create simple bullet simulations at the SOP level. If you have a Houdini FX License, you can dive inside the solver and edit the subnet with custom DOP forces. Otherwise, you can stay at the SOP level and use the exposed parameters on the node.

Tip

To see a typical node network setup for simulating RBDs in SOPs, use the Simple Fracture shelf tool.

RBD Bullet Solver SOP

The three most important parameters to make sure your simulation runs smoothly are the Time Scale, Substeps, and Constraint Iterations. They are located at the top of the Solver tab and control the speed, resolution, and accuracy. The following are additional things you can do with the exposed parameters on the RBD Bullet Solver.

To...Do this

Create a ground plane

Choose Ground Plane from the Add Ground Plane dropdown menu on the Ground subtab.

Alter the gravity in your simulation

Use the Gravity parameter on the Forces subtab. Gravity is set to Earth’s gravity (-9.81) by default.

Make your object collide with another

Connect your collision geometry to the 4th input of this node and turn on the Use Collisions checkbox on the Collisions subtab. You can also set up simple properties such as what the Bounce and Friction between the objects are and what Geometry Representation collision for the Bullet Solver to use.

Emit RBD objects and their constraints over multiple frames

Turn on the Emit RBDs checkbox on the Bullet Object tab. This will continually pull in time dependent geometry objects and their constraints through the second input over time.

There is also a Visualization tab with controls for showing the collision geometry representation, active/inactive pieces, which pieces have fallen asleep, constraints, guided simulations, and much more. These controls are very useful for debugging your simulations.

For more information, see the RBD Bullet Solver SOP help page.

RBD Configure SOP

The RBD Configure SOP lets you set up properties individually for different sets of RBD objects. The Group parameter allows you to select a group of pieces (such as wood pieces) and set up whether they're Active, Animated, Deforming, or Sleeping. It also lets you set up what type of collision shape they should use, how much collision padding there should be, any speed limitations etc.

The Physical Attributes controls are very useful, as there are many predefined density, friction, and bounce settings for different material types. For example, if your material Type is Wood , you can choose between: Balsa Wood, Beech, Birch, Cedar, Mahogany, Maple, Oak, Pine, or Plywood. This will automatically fill in the appropriate Density, Friction, and Bounce coefficients that you would get from engineering textbooks, which will give you a head start on getting results that are physically realistic to go along with the fracturing methods.

There are also many Visualization options for the properties you're setting up. For example, if you're setting up which pieces are active, you can choose to visualize the Active pieces. You can also change the Bounding Type to Bounding Box and enable the Use Bounds option to manually control which piece are active or not using a bounding box in the viewport.

There’s also a built in Exploded Scale parameter at the top of the viewport for exploding outwards for a more detailed visualization.

Note

You could alternatively use your own bounding geometry by connecting it to the 4th input of this node.

For more information, see the RBD Configure SOP help page.

Destruction

RBD Material Fracturing

Next steps

Guided Tutorial: Introduction to Material Based Destruction

  • Getting Started

    Loading the source scene and exploring it.

  • Tutorial

    Step by step introduction to material based destruction.