>: CG Forums on 3dtotal - The best forums for CG artists :.
threedy forums home
 


top-table-gradient
Go Back   3DTotal Forums > Help, Advice and Chat > Animation & Rigging Help
bottom-table-gradient

Reply
 
Thread Tools Display Modes
Old 09-04-2005, 06:15 PM   #1
tijuana
Registered User
 
Join Date: Mar 2005
Posts: 6
Thanks: 0
Thanked 0 Times in 0 Posts
Maya: particle expression

Hi

I have 3 emitters in a scene emitting cloud particles with the particleCloud shader applied. The resulting 3 particle shapes have seperate expressions controlling the radiusPP attribute:


particleShape3.radiusPP = rand(0,0.01);

particleShape4.radiusPP = rand(0,0.05);

particleShape5.radiusPP = rand(0.05,0.1);



What I would like to do is control the glow intensity attibute of the particleCloud shader with the radiusPP values so that the smaller the particles the higher the glow and the larger the particles the lower the glow so the the smaller particles glow more than the larger ones.

I would also like to control the density attribute of the particleCloud shader with the same radiusPP values so that the smaller particles have a higher density value than the larger ones.

I am new to expression writing and have had a fair go at this but don't seem to be getting it quite right! Can anyone help please?


Thanks
Emma
tijuana is offline   Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT. The time now is 04:20 AM.


Powered by vBulletin®
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
all images displayed on this site are copyright the original artists and may not be reproduced, copied or published elsewhere without their express permission