PDA

View Full Version : Multiplying two arrayMapper outValuePPs?


tim-weimann
11-07-2011, 08:22 PM
Hi there,

is there any way to multiply the outValuePPs of two arrayMapper nodes?

Following problem:
With a ramp and an arrayMapper I scale the particles radiusPP over time. That is fine!
With another texture and arryMapper which gets the parentU and parentV values of the particleShape I give the particles a basic scale value, so where it is darker particles stay smaller - where it is lighter particles get bigger.
Both methods work fine for themselves, but I would like to be able to mutiply their outValuePPs! As these values are doubleArrays you can not use a node like multipyDivide!
Is there any other way to do this or has some genius maybe wrote a custom node for this??

Thanks a lot!
Tim

Azrail
11-07-2011, 09:20 PM
You can multiply them in the particle expression, why do you need to do it outside, when it's going to be used in the expression anyway?

tim-weimann
11-07-2011, 11:32 PM
Hey Azrail,

you are totaly right. I just solved it by doing it in the expression! Thank you!

Regards,
Tim

CGTalk Moderation
11-07-2011, 11:32 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.