Search - User list
Full Version: Question: scatter system with weights in Houdini?!
Root » Houdini Lounge » Question: scatter system with weights in Houdini?!
coccosoids
Is there a scatter solution available in Houdini to scatter a collection of assets using weighted distribution? I mean something like… out of 1000 total instances I want asset A to have 500, asset B 300, asset C 200.
Thanks.
goldfarb
https://www.sidefx.com/tutorials/h17-terrain-master-class-part-02-heightfield-scatter/ [www.sidefx.com]

there are a few more tutorials that talk about scattering
Midphase
You can also do it with MOPs relatively easily:

https://www.motionoperators.com [www.motionoperators.com]
jsmack
No need for 3rd party packages, all you need is built in.

Attribute randomize in “custom discrete” distribution is what you want. Configure different weights for each token value to control object scattering. Use the foreach loop to assign copies based on the token values.
Andr
jsmack
No need for 3rd party packages, all you need is built in.

Attribute randomize in “custom discrete” distribution is what you want. Configure different weights for each token value to control object scattering. Use the foreach loop to assign copies based on the token values.


is that a new addition in 17.5?
I never saw it
jsmack
I think since attrib randomize was added–not sure when.
Soothsayer
Andr
jsmack
No need for 3rd party packages, all you need is built in.

Attribute randomize in “custom discrete” distribution is what you want. Configure different weights for each token value to control object scattering. Use the foreach loop to assign copies based on the token values.


is that a new addition in 17.5?
I never saw it

It's been there for a few versions I think but hardly anybody seems to know about it. I use it a lot but I'd have to say you need to be supercareful because occasionally it creates bad values, NaNs I think, and it messes up your setup in a way that makes it hard to track down what's gone wrong.
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Powered by DjangoBB