Open lucemia opened 4 years ago
Although both the After Effects expressions language and the After Effects ExtendScript scripting language are based on JavaScript, the expressions features and scripting features of After Effects are separate and distinct. Expressions cannot access information from scripts (such as variables and functions). Whereas a script tells an application to do something, an expression says that a property is something. However, because the After Effects expression language and ExtendScript are both based on JavaScript, familiarity with either one is very helpful in understanding the other.
https://esprima.org/ esprima escodegen bez
executeCommand
https://github.com/ianstormtaylor/superstruct provide by Vicky
Problem
https://helpx.adobe.com/tw/after-effects/using/legacy-and-extend-script-engine.html
AE -> Extension -> data.json (Player 所使用的格式) -> Player
,Extension 同時要處理 Dump AE config and Transform to data.json. 考慮改成AE -> Extension -> AE config dump -> Compile -> data.json -> Player
a. 除了 AE 修改,不需要修改 Extension,避免現在加特效時都要重新 Build Extension b. 有一個需求是將我們 A.I. 引擎設計的東西 import 回 AE 繼續編輯,這個架構比較合適 c. Compile 開發時不需要碰 AE 的結構 d. JSONSchema 只需要在 Compile & Player 中共用 e. 一個 Component 只要做一件事 (對時間很瑣碎的爸爸工程師比較友善)