pbrt-v4 icon indicating copy to clipboard operation
pbrt-v4 copied to clipboard

Corrected denoiseAlpha parameter type

Open 1div0 opened this issue 2 years ago • 1 comments

During experiment with the PBRT build failed due to parameter type mismatch.

nVIDIA OptiX-SDK-7.5.0 F36 GCC Version 12.1.1

1div0 avatar Aug 06 '22 15:08 1div0

@1div0 You need at least a Optix version control to apply this patch. I'm on Optix 7.4 and this option not seems available.

#if (OPTIX_VERSION > 70400)
    params.denoiseAlpha = OPTIX_DENOISER_ALPHA_MODE_COPY;
#else
    params.denoiseAlpha = 0;
#endif

pbrt4bounty avatar Aug 06 '22 18:08 pbrt4bounty

Thank you!

(And I will add optix 7.5 to the automated builds now as well.)

mmp avatar Aug 15 '22 22:08 mmp