How to stop AE caching every param change output?
Hi guys,
I am working on an after effects plugin and for now I only have two params for testing purposes. What I am noticing is ae is caching the ouput image for every param change, even just when scrubbing the slider. How can I disable this? Another thing that happens is if I change the param fast it gives wrong ouput (e,g rotating a model will have wrong rotation param applied) and that combined with caching every param change output results in a very glitchy output animation. If I press ctrl and use the slider to change the param than I get correct results but fast param change gives me incorrect result possibly because the param changes so fast that the plugin is unable to render and copy it back to ae buffer within that time? Or maybe I need to render lower res while the param is changing (scrubbing)? but how do I detect that the param is changing?
Trying to solve the param caching problem I have tried both smart render and regular render entrypoint and these flags and I can't get it to work.
PF_OutFlag_PIX_INDEPENDENT |
PF_OutFlag_USE_OUTPUT_EXTENT |
PF_OutFlag_DEEP_COLOR_AWARE |
PF_OutFlag_NON_PARAM_VARY |
PF_OutFlag_FORCE_RERENDER;