Logo thanks to Welmoed Boersma!
An advanced open-source convolution library for image post-processing
Donate • Features • User guide • Download • Installation • Issues
New to OpenDefocus?
The best way to start is by reading the Quickstart. This user targeted guide contains everything you need to know to get the most out of OpenDefocus.
Looking for specific features? Look at the detailed section which describes all the features more thouroughly.
User features
- Entirely free! (but please consider donating!)
- Native integration for camera data to match convolution to real world camera data.
- GPU accelerated (Vulkan/Metal)
- Both simple 2D defocus as well as depth based (1/Z, real or direct math based)
- Custom quality option, for quick renders with less precision or heavier higher precision renders.
- Lots of non uniform artifacts:
- Easy to use bokeh creator or use your own image
- Foundry Nuke native plugin (through CXX FFI). Basically a wrapper around the Rust crate (serves as a good developer reference on how to integrate it in other DCC’s or applications!).
Technical features
- Process each pixel coordinate and channel on the image with a custom filter kernel. For a simple
RGBA1920x1080 image, that is at least 8.294.400 custom kernels! - 100% written in pure Rust (stable channel) without external library dependencies.
- Same algorithm on GPU and CPU with same source code (thanks to Rust-GPU spirv compiler).
- Easy to use and open API to hook into your own application or DCC.
- Lots of control over the output, take a look at all options available.