• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
0

Detecting Render Command for Preview in After Effects Plugin Development

New Here ,
Nov 20, 2024 Nov 20, 2024

Copy link to clipboard

Copied

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!

TOPICS
SDK

Views

42

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
no replies

Have something to add?

Join the conversation