Skip to main content
Participant
November 21, 2024
Question

Detecting Render Command for Preview in After Effects Plugin Development

  • November 21, 2024
  • 0 replies
  • 117 views

Hi,

 

I’m developing a plugin for After Effects and noticed that my plugin receives two render commands for a single frame. I suspect one is for preview and the other for final output.

 

I don't want to apply my effect twice for a single frame, as it utilizes deep learning model, which has significant latency. Even though I read through the SDK document, I couldn't find relevant options.

 

•How can I detect if the current render command is specifically for preview?

•Is there a specific flag or selector in the PF_InData structure to differentiate between preview and full-quality rendering?

 

Any code snippets or pointers to relevant documentation sections would be greatly appreciated.

 

Thanks!

This topic has been closed for replies.