Logo thanks to Welmoed Boersma!
An advanced open-source convolution library for image post-processing
Donate • Features • User guide • Browser viewer • 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)
- Fast and Accurate quality modes: Fast for quick previews, Accurate for exact final renders.
- Lots of non uniform artifacts:
- Easy to use bokeh creator or use your own image
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! - Written in Rust (stable channel) with WGSL shaders run through WGPU; no Protobuf, C++ or CMake toolchain is needed.
- One GPU renderer for both quality modes, distributed as an OpenFX plugin, a CLI and a viewer.
- 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.