逆视觉特效(VFX):从文本和视频中恢复可执行的特效树
Inverse VFX: Recovering Executable Effect Trees from Text and Video
AI总结:
本研究将实时VFX生成转化为逆问题,提出通过微调开源LLM结合VFX-Bench基准,实现从文本和视频恢复可执行特效树,提升了特效元素恢复效率。
摘要:
生成模型如今能产出逼真的3D资产与4D动态效果,但游戏和电影中使用的实时视觉特效(VFX)仍具挑战性。视频生成器输出的像素无法编辑,而编写引擎代码的大语言模型(LLM)面临庞大的接口,错误常被静默忽略。为使特效生成可执行且可学习,我们将其转化为一个逆问题:给定文本描述和可选的参考视频采样帧,恢复出一个特效树——这是一种封闭词汇的程序,确定性执行器可将其编译为虚幻引擎(Unreal Engine)、Unity或Godot中的原生特效。由于该树是监督学习的目标,渲染循环数据引擎可将少量教程特效重组为大量配对的树、视频和描述语料库,我们在此语料库上微调一个开源LLM,使其在语法约束下编写树。我们还推出了VFX-Bench,这是一个仅根据逐提示检查清单评判渲染视频的基准,用于在同一基准上比较写树模型、编码智能体和检索方法。我们模型的所有输出均在虚幻引擎中编译并渲染,微调后在保留特效的元素恢复量是未微调主干模型的数倍。前沿写树智能体的表现与自身原生智能体相当,甚至在约四分之一的模型时间内超越它们,且能满足所有提示要求,而我们的小型模型与这类智能体仍有较大差距。
英文摘要:
Generative models now produce convincing 3D assets and 4D dynamics, yet the real-time visual effects (VFX) used throughout games and film remain challenging. Video generators output pixels that cannot be edited, and large language models (LLMs) that write engine code face a vast interface in which errors often pass silently. To make effect generation executable and learnable, we cast it as an inverse problem: given a text description and, optionally, frames sampled from a reference video, recover an effect tree, a closed-vocabulary program that a deterministic executor compiles into a native effect in Unreal Engine, Unity, or Godot. Because the tree is a supervised target, a render-in-the-loop data engine can recombine a small set of tutorial effects into a large corpus of paired trees, videos, and descriptions, on which we fine-tune an open LLM to write trees under a grammar constraint. We further introduce VFX-Bench, a benchmark that judges only the rendered video against per-prompt checklists, so that tree-writing models, coding agents, and retrieval are compared on the same footing. Every output of our model compiled and rendered in UE, and fine-tuning recovers several times more of the elements in held-out effects than the untuned backbone. Frontier agents that write effect trees match their own native agents or even exceed them, in about a quarter of the model time, and deliver every prompt, while our small model still trails such agents by a wide margin.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。