A Little Houdini Tip to Quickly Scatter Points In a Box

David Kahl Shows How to Scatter Points in a Box With a Single Line of Code.

How would you usually scatter points into a box? You might make a cube in Houdini, create an iso offset node to get a volume based on the object, and then take that volume into a scatter node. “There is nothing wrong with that,” says David Kahl. There is a disadvantage to that setup.

If you want to make changes to the cube, you need to go back to the box node, and then possibly make changes to the volume if there is no longer any sufficient resolution. Then to change the number of points requires going back to the scatter node. Three different settings across three different nodes.

You can combine all of those settings into one wrangle node with one simple line of code. Kahl walks through the process with his latest quick tip tutorial which came from Patron suggestions. Using a single line certainly makes it easier to manage ways to scatter points in an object volume. Nice tip!