AfterEffects multiprocessor problems
My effect works in two passes and uses an averaging technique over a large number of frames in a composition. It stores the results of the first pass (preview) in the sequence data for use in the second (render) pass. There are a few other effects that work this way, such as a motion stablilizer.
This works fine on a single processsor system or when render multiple frames simultaneously is turned off. It seems to work fine in Premiere Pro since I use the flag PF_OutFlag2_PPRO_DO_NOT_CLONE_SEQUENCE_DATA_FOR_RENDER.
Is there a similar flag or method for After Effects?
When I debug my effect on an eight cpu machine, I can see that one thread is used for my effect user interface while the other seven threads are being used for rendering. The other seven seem to have different sequence data (In fact all have different global data), so they cannot use the sequence data that was prepared while previewing.
Is there another way around this problem?
Thanks,
Mike
