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.
Question: scatter system with weights in Houdini?!
2684 6 0- coccarolla
- Member
- 78 posts
- Joined: Aug. 2013
- Offline
- goldfarb
- Staff
- 3464 posts
- Joined: July 2005
- Offline
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
there are a few more tutorials that talk about scattering
- Midphase
- Member
- 833 posts
- Joined: Jan. 2018
- Offline
You can also do it with MOPs relatively easily:
https://www.motionoperators.com [www.motionoperators.com]
https://www.motionoperators.com [www.motionoperators.com]
>>Kays
For my Houdini tutorials and more visit:
https://www.youtube.com/c/RightBrainedTutorials [www.youtube.com]
For my Houdini tutorials and more visit:
https://www.youtube.com/c/RightBrainedTutorials [www.youtube.com]
- jsmack
- Member
- 8043 posts
- Joined: Sept. 2011
- Offline
- Andr
- Member
- 899 posts
- Joined: Feb. 2016
- Offline
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
- Member
- 8043 posts
- Joined: Sept. 2011
- Offline
- Soothsayer
- Member
- 874 posts
- Joined: Oct. 2008
- Offline
Andrjsmack
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.
--
Jobless
Jobless
-
- Quick Links