PDA

View Full Version : Particle caching and ramp recoloring question


bravmm
07-07-2006, 01:34 PM
Hi all,

I have my particle sim set up, and cached the particles with the "Solvers>Creat Particle DiskCache" command. For compositing I have to render an additional RGB color pass as well, but here's come the thing....

According to the manual any PPattribute (in this case the RGBColor) cannot be changed when you have cached a particlesim. I hope I misunderstand this, because if I recache the particles, this will look differently, so the renders don't match up.

Is there a way to change the coloring of a particlestream after caching it to disk, when using a ramp to colorize the particles??

cheers for the replies,

rob

pascal
07-07-2006, 02:42 PM
Hello,

I believe that if your attribute is mapped with a ramp, and the attributes used to drive this ramp (ie: ageNormalized) are cached, you can change the ramp and it will be ok.

If you have cached an attribute set with an expression, you can create a new arrayMapper and use one of the cached attributes to drive it.
I have never tried to such attribute with a new expression...

Ultimately, if all your attributes are set using ramps, you can cache the positions, and all the "driving attributes", and still be able to tweak the ramps after the cache has been created.

Hope that helps,
Pascal.

bravmm
07-07-2006, 03:05 PM
Hi,

I just realised I used an expression to color the particles randomly, so this means I would have to recache........ bummer :shrug:

There's probably no way I could use the positioninfo of the cache to recolorize my particlestream with a new colorramp without the random colorpicking.......

Oh well, let's see if I can approach this from another angle. Sims, don't you just love it...

cheers,

rob

CGTalk Moderation
07-07-2006, 03:05 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.