Releases: Twinklebear/oidn-rs
Releases · Twinklebear/oidn-rs
Release 1.2.1
Changes
-
Add support for the
hdrScale
parameter of OIDN, set viaset_hdr_scale
-
Migrate to use raw byte strings instead of
ffi::CString
to pass parameter names to OIDN
Release 1.2.0
Changes
- Updated the
filter::RayTracing
APIs to avoid accidentally passing incorrect image parameter configurations. This resolves #7 and #5 . Theexecute
method will now only accept valid configurations for the filter:
pub fn execute(&mut self, color: &[f32], output: &mut [f32]) -> Result<(), FilterError> {}
pub fn execute_with_albedo(
&mut self,
color: &[f32],
albedo: &[f32],
output: &mut [f32],
) -> Result<(), FilterError> {}
/// Normal requires albedo to be present
pub fn execute_with_albedo_normal(
&mut self,
color: &[f32],
albedo: &[f32],
normal: &[f32],
output: &mut [f32],
) -> Result<(), FilterError> {}
- Added an example of denoising HDR EXR files, with optional albedos and normals
Release 1.1.0
Changes
- Add missing size checking & error handling (#3)
- Migrate
Device
andRaytracingFilter
to beSend
, instead of (incorrectly)Sync
(#4)
Thanks @TomCrypto for the bug reports!
Release 1.0.0
Changes
- Update API to OpenImageDenoise 1.x release series
Release 0.2.0
Changes
- Updated sys bindings to OIDN 0.9.0
- Clippy lint fixes