Baldrax / Houdini_TaleSpire_Terrain_Generation_Toolset

A toolset to procedurally create terrain for TaleSpire in Houdini.
44 stars 9 forks source link

Add an option on the TaleSpire_Object node to set the footprint of an object when scattering. #13

Open Baldrax opened 1 year ago

Baldrax commented 1 year ago

When scattering objects of various size it would be nice if other objects were aware of how far they should keep away by allowing the footprint to be set per object.

Baldrax commented 3 months ago

Partial support was added for this in v0.23.0-alpha from this commit: https://github.com/Baldrax/Houdini_TaleSpire_Terrain_Generation_Toolset/pull/31/commits/5e66f61d76ba4453f5e507eb16e059b5b680c6c5

The Houdini scatter node that the TaleSpire_Scatter node is based off of does not support per item footprints at scatter time, these are only used when feeding existing scattered points into the scatter node to keep new ones away from the old ones. So for now, that is what this does.

There is a new parameter on the TaleSpire_Object node called "footprint" which allows setting this distance and a circle in the viewport represents that radius.

In order to fully implement this feature a complete rewrite of how scattering works will need to be done. Before attempting that I would like to switch development to the latest build of Houdini (20.5 at the time of writing this) to see if there are any new features in Houdini that might make this easier.