noticeus
HI,

I'm using the scatter node to distribute particles on a poly mesh and it works perfect. Then I tried to cache the particles (old maya particles) and it seems due to how the caching works the viewport doesn't get updated and therefore the scatter node doesn't update. If I use nparticles and ncache the scatter node updates.

any ideas or workarounds? If I use nparticles my system crashes irregularly so the only stable option right now is with old maya particles. I'm on maya 2013 and fedora os.

thanks for any help.
michael
Reply 0 0
noticeus
ok. found a workaround myself. I'm currently checking if there was a frame change during the caching process and if there was one I'll set the scatter node dgdirty and force it to evaluate.

seems to work.

anyway. would it be possible to insert a checkbox into the scatter node to disable or enable evaluation and take out the need to refresh the viewport?
Reply 0 0
pshipkov
try to use the particle cache manager tool in SOuP
if that does not work too you can script yourself the dynexport command where in a loop for each frame you refresh the graph and then export 1 frame cache.
Reply 0 0
pshipkov
Another way is to force the scatter node to evaluate - connect its outPositionPP attribute to something that will force it evaluate. There are so many options.
The simplest one being scatter.outPositionPP -> arrayToCurve.inArray, arrayToCurve.outCurve -> curveShape
Reply 0 0
noticeus
great. thanks peter, I'll try your solutions.
Reply 0 0
noticeus
both solutions you gave didn"t work but anyway I scripted a caching tool to do a per frame caching as you suggested.

thanks for your input.
Reply 0 0
Reply