PDA

View Full Version : rand mel question


xlaw
03-20-2003, 02:51 PM
I am trying to set rgb.pp expression using rand<<0,0,0>><<0,0,255>> so that i can get a random value for blue, but maya gives me an error. I looked it up in the mel reference and i think i'm formatting it correctly.

Any ideas on what i'm doing wrong from the Mel experts out there?

svenip
03-20-2003, 03:35 PM
rgbPP = <<rand(...,...),rand(...,...),rand(...,...)>>;

xlaw
03-20-2003, 04:11 PM
thanks svenip,

that worked!
you da man: thumbsup:

CGTalk Moderation
01-14-2006, 04: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.