PDA

View Full Version : Random Size Particle


Saurus
03-10-2003, 08:06 PM
How do I make random particle size. I using blobby surface. Also can particle be motion blurred?

Thanks

Saurus

mark_wilkins
03-10-2003, 08:18 PM
Select the particle object.

Open the attribute editor

Under the Add Dynamic Attributes tab click "General."

In the window that appears, select the Particle tab. Choose radiusPP (radius per-particle) and click "Add."

Right-click on any of the variables in the Per-Particle (Array) Attributes tab, and choose Creation Expression...

In the creation expression type:

radiusPP = rand(1);

By manipulating this expression you can get whatever range of sizes you like. If you want sizes ranging from 0.8 to 2, you would say:

radiusPP = rand(1.2) + 0.8;

-- Mark

mark_wilkins
03-10-2003, 08:19 PM
Not sure whether blobby surface particles can be motion blurred. I think they can.

-- Mark

alexx
03-10-2003, 08:32 PM
Originally posted by mark_wilkins
Not sure whether blobby surface particles can be motion blurred. I think they can.

-- Mark

afaik software particles in maya still can not be motion blurred.
there is a workaround for it but not really a straight one..
so if you really need it i can write it down

cheers

alexx

MikeRhone
03-10-2003, 08:32 PM
Blobbys are S/W rendered, so yes, they can be Motion Blurred.

M

mark_wilkins
03-10-2003, 08:33 PM
I think the ability to motion-blur software particles was added in 4.5. It wasn't there in 4.0. However, I'm not certain, which is why I was tentative up above.

-- Mark

alexx
03-10-2003, 08:35 PM
i would wet my pants if they finally manageds to put motion blur for particles in :)

alexx
03-10-2003, 08:39 PM
Originally posted by mark_wilkins
By manipulating this expression you can get whatever range of sizes you like. If you want sizes ranging from 0.8 to 2, you would say:

radiusPP = rand(1.2) + 0.8;

-- Mark

a
rand (0.8, 2.0);

would in that case be a bit more intuitive i think mark :)

:beer:

MikeRhone
03-10-2003, 08:40 PM
Oops. My bad :p You could always motion blur them in post.


Mike

mark_wilkins
03-10-2003, 08:43 PM
thanks alexx -- old habits die hard, and I'm used to the rand function in C which will not let you do that. :D

-- Mark

alexx
03-10-2003, 08:44 PM
*grin*

right.. i felt like i knew that from somewhere.. in the old days :)

this thread is growing faster than weed man :)

cheers

alexx

mark_wilkins
03-10-2003, 08:46 PM
alexx: that's because you and I can't stop yammering on! :beer:

-- Mark

alexx
03-10-2003, 08:50 PM
i can stop whenever i want!
sure

i can!!

:D

mark_wilkins
03-10-2003, 09:12 PM
Me too! :D

-- Mark

Saurus
03-10-2003, 10:44 PM
Thanks All.:beer: :beer:

rsalonen
03-11-2003, 08:26 AM
oh my god mark, that's some strange swede you got in your avatar! :p

mark_wilkins
03-12-2003, 09:41 PM
He's a World Cup fan.

-- Mark

CGTalk Moderation
01-14-2006, 03:00 PM
This thread has been automatically closed as it remained inactive for 12 months. If you wish to continue the discussion, please create a new thread in the appropriate forum.