oidn-rs icon indicating copy to clipboard operation
oidn-rs copied to clipboard

Support custom weights for RT

Open Delamare2112 opened this issue 4 years ago • 1 comments

When using custom training data, I believe that the weights parameter needs to be set using the void oidnSetSharedFilterData(OIDNFilter filter, const char* name, void* ptr, size_t byteSize); call. Just like albedo and normal but with data instead of an image.

https://github.com/OpenImageDenoise/oidn/blob/v1.2.4/README.md#filter
https://github.com/OpenImageDenoise/oidn/blob/v1.2.4/README.md#rt

Delamare2112 avatar Nov 02 '20 19:11 Delamare2112

This would be good to have in, I'll add it to the todo list.

Twinklebear avatar Nov 02 '20 20:11 Twinklebear