chaert-s/spektrafilm-ofx
关于
spektrafilm OFX 的开发仓库。
编程语言与运行时实测星标增长
- 24小时
- +2
- 7天
- +8
- 15天
- +23
- 1个月
- 正在收集历史
各周期内的星标净变化,周期相互重叠,并非每日新增。缺失的测量保持空白。星标代表关注度,不代表软件质量。
README.md
原文spektrafilm OFX
spektrafilm OFX is a native OpenFX plugin project built from the spektrafilm
film-simulation codebase. It is intended for host applications such as DaVinci
Resolve or Nuke and provides Metal/Vulkan-accelerated film, print, scan, grain, halation,
diffusion, color-management, and LUT-export workflows on macOS and Windows.
Build Requirements
The macOS source build expects:
- macOS.
- Xcode Command Line Tools or Xcode.
- Apple's Metal toolchain available through
xcrun. - CMake
3.24or newer. - Python with the OFX build-time table generation dependencies installed:
numpy,scipy, andcolour-science. - libpng discoverable by CMake for the variant generator target.
- OpenFX SDK headers (OFX_Release_1.5.1).
The Windows source build expects:
- Windows 10 or newer.
- Visual Studio 2022 C++ build tools, Ninja, or another CMake-supported C++17 toolchain.
- Vulkan SDK with the Vulkan loader, headers, and
glslcorglslangValidator. - CMake
3.24or newer. - Python with the OFX build-time table generation dependencies installed:
numpy,scipy, andcolour-science. - OpenFX SDK headers (OFX_Release_1.5.1).
The Linux developer source build expects:
- Linux x86_64.
- GCC, Clang, Ninja, or another CMake-supported C++17 toolchain.
- Vulkan loader and development headers plus
glslcorglslangValidatorfrom the Vulkan SDK or distribution packages. - CMake
3.24or newer. - Python with the OFX build-time table generation dependencies installed:
numpy,scipy, andcolour-science. - OpenFX SDK headers (OFX_Release_1.5.1).
The OFX build prefers the repository virtual environment at ../../.venv/bin/python
on Unix-like platforms and ../../.venv/Scripts/python.exe on Windows when it
exists. Otherwise CMake falls back to the Python interpreter found by
find_package(Python3). CMake checks for the build-time Python packages during
configure and prints the matching pip install command if they are missing.
Setup From a Fresh Checkout
For ease of use, I developed this project from within Andrea's spektrafilm repository root. To follow the below instructions, pull the latest version of spektrafilm and place the contents of this repo at OFX/SpektraFilm.
From the spektrafilm root, create or sync the Python environment first. This project uses the Python package for build-time table generation.
Using uv:
uv sync --extra dev
Or with a manually managed Python 3.13 environment:
python -m pip install -e ".[dev]"
For an OFX-only build environment, the full GUI/image stack is not required:
python -m pip install numpy scipy colour-science
Then build the OFX project:
cd OFX/SpektraFilm
./build_macos.sh
The script configures CMake, builds the plugin targets, and produces local
.ofx.bundle outputs. It does not sign with Developer ID, notarize, or write
the public macOS installer ZIP.
To create the signed public macOS release ZIP, first create a notarytool keychain profile, then run the release packager with your Developer ID identities:
xcrun notarytool store-credentials spektrafilm-notary
SPEKTRAFILM_DEVELOPER_ID_APP="Developer ID Application: Your Name (TEAMID)" \
SPEKTRAFILM_DEVELOPER_ID_INSTALLER="Developer ID Installer: Your Name (TEAMID)" \
SPEKTRAFILM_NOTARY_PROFILE="spektrafilm-notary" \
./tools/package_macos_release.sh
The output is a single notarized installer package that installs both public
macOS plugins into /Library/OFX/Plugins.
On Windows, run the PowerShell build script instead:
cd OFX\SpektraFilm
.\build_windows.ps1
The Windows script builds local Contents\Win64 OFX bundles for development.
It does not create the public website ZIP.
To create the public Windows release ZIP, run the release packager:
.\tools\package_windows_release.ps1
The generated zip contains both public Windows .ofx.bundle directories, install.bat,
manual, install instructions, and legal notices. The batch script can be
inspected before running; it elevates, removes old public spektrafilm bundles,
and copies the new bundles into
C:\Program Files\Common Files\OFX\Plugins.
On Linux, use the manual CMake flow. The build creates local
Contents/Linux-x86-64 OFX bundles for development and emits
SpektraVulkanCopyHarness for the same Vulkan smoke coverage. Linux release
packaging is not provided in this phase.
Development Notes
The plugin is still an active development project.
Have fun and thank you for creating with spektrafilm!
探索相关项目
加载中…