Source code to pbrt, the ray tracer described in the forthcoming 4th edition of the "Physically Based Rendering: From Theory to Implementation" book.
2.89k
stars
457
forks
source link
Compatibility with OptiX 8 #391
Closed
Mike-Leo-Smith closed 1 year ago
As per the release notes of OptiX 8, some APIs have been changed, which break the compilation:
OPTIX_EXCEPTION_FLAG_DEBUG
has been removed;OptixDenoiserAlphaMode
was moved fromOptixDenoiserParams
toOptixDenoiserOptions
.This PR adds version guards for these changes to make PBRT-v4 compatible with OptiX 8.