Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPatrick Mours <pmours@nvidia.com>2021-11-09 14:17:09 +0300
committerPatrick Mours <pmours@nvidia.com>2021-11-09 16:49:00 +0300
commit440a3475b8f5410e5c41bfbed5ce82771b41356f (patch)
treee48fb3451b3aa3a119858dd2c52165ef3bb0dede /source/blender/editors/space_node/drawnode.cc
parent9daf6a69a6acd95f0b46bc45e5f3ae27d0904764 (diff)
Cycles: Improve OptiX denoising with dark images and fix crash when denoiser is destroyed
Adds a pass before denoising that calculates the intensity of the image, which can be passed into the OptiX denoiser for more optimal results for very dark or very bright images. In addition this also fixes a crash that sometimes occurred on exit. The OptiX denoiser object has to be destroyed before the OptiX device context object (since it references that). But in C++ the destructor function of a class is called before its fields are destructed, so "~OptiXDevice" was always called before "OptiXDevice::~Denoiser" and therefore "optixDeviceContextDestroy" was called before "optixDenoiserDestroy", hence the crash. Differential Revision: https://developer.blender.org/D13160
Diffstat (limited to 'source/blender/editors/space_node/drawnode.cc')
0 files changed, 0 insertions, 0 deletions