Soothsayer

Soothsayer

About Me

Expertise
Not Specified
Location
Not Specified
Website

Connect

Recent Forum Posts

Question: scatter system with weights in Houdini?! Nov. 4, 2019, 9:28 a.m.

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.

Python - create rendering parameters July 1, 2011, 1:23 a.m.

Well, I found a way to do it by looping through parmTemplates but it appears to be useless because for some reason the parameter is not picked up by the renderer. It only works when I use the local material parameter overrides, which is kind of strange because the parameter has the same name…

Python - create rendering parameters June 30, 2011, 11:36 p.m.

Oh on follow-up question to this.

How to I find sub-tabs?

For example on my node I have “Mytab” as a subtab of “Material”. Now, I can find Material like so:

hou.node('/obj/mynode').parmTemplateGroup().findFolder(“Material”)

but

hou.node('/obj/mynode').parmTemplateGroup().findFolder(“Mytab”)

does not work.

I tried variations of this (like Material/Mytab) but there seems to be no easy way of getting it?