Jump to content

Randomize Const. Activation


Recommended Posts

Yes, the expressions functions of Houdini works everywhere you have parameters. You can even open the Editor and switch to Python expressions.

The syntax or if statement is always if(condition, value if condition is true, value if condition is false).

Rand(seed value) is a pseudo random function : given a seed value, it will return a randomly chosen float between 0 and 1, but this float will always be the same for a given seed value (which is normal : if you want to render your files on different Machines, you need to have the same results each you open your scene file :-). I have used the frame number variable $F to get a new random value every frame. 

So yes, very standard expression you play with everywhere.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Create New...