randomize question

3 views
Skip to first unread message

Paul Griswold

unread,
Jan 12, 2011, 5:43:58 PM1/12/11
to soft...@listproc.autodesk.com
Hi guys -

I know I've seen someone do this before, so I'm pretty sure it's simple.  My brain is fried from dealing with this project over the past several weeks, though. (director with zero 3D experience...)

Anyway, I'm trying to assign a random spin rate to some particles.  But, the trick is, I want say at least 70-80% of them to get 0 spin and 20-30% to get like .1 spin.

I can't for the life of me think of how to set this up.

Thanks to anyone who can point me in the right direction.


Paul

Francois Lord

unread,
Jan 12, 2011, 5:58:48 PM1/12/11
to soft...@listproc.autodesk.com
Use the Random Value node with the profile curve you want.
You need to plug in the ID of each particle.

Francois Lord

unread,
Jan 12, 2011, 6:04:03 PM1/12/11
to soft...@listproc.autodesk.com
Or, if you want something more like an on-off behavior, just generate a normal random value (with the Randomize Value by Range) between 0 and 1 and check if the value is greater then 0.8.

Fabricio Chamon

unread,
Jan 12, 2011, 8:56:27 PM1/12/11
to soft...@listproc.autodesk.com
"test random probability" with true ratio of .2 (20%)

if true > spin your particles with some randomize around value (.1)

Paul Griswold

unread,
Jan 13, 2011, 7:00:47 AM1/13/11
to soft...@listproc.autodesk.com
Thanks guys - the profile curve seems to be doing what I wanted. 

Paul

Reply all
Reply to author
Forward
0 new messages