17 行
984 B
Python
17 行
984 B
Python
"""Shared source, bundle and Motion Templates paths for the shipped effects."""
|
|
from pathlib import Path
|
|
|
|
STARTERS = {'primary': '一级调色', 'spider': '蜘蛛盘校色仪', 'base': '基础调整', 'skin': '肤色保护', 'look': '风格 LUT', 'hsl': 'HSL', 'curve': '曲线', 'grading': '颜色分级', 'primaries': '三原色', 'levels': '色阶', 'blackwhite': '黑白混色', 'balance': '色彩平衡', 'mixer': '通道混合器', 'film': '胶片模拟', 'lens': '镜头畸变修复', 'cst': 'CST 色彩空间转换'}
|
|
EFFECTS = ("大鱼调色", *STARTERS.values())
|
|
PREVIEWS = ("large.png", "small.png")
|
|
|
|
|
|
def template_files():
|
|
for effect in EFFECTS:
|
|
for name in (effect + ".moef", *PREVIEWS):
|
|
installed = Path(effect) / name
|
|
# Preserve the full effect's original flat bundle layout and artwork.
|
|
bundled = Path(name) if effect == EFFECTS[0] else installed
|
|
source = bundled
|
|
yield source, bundled, installed
|