I want to compile ParaView with OptiX backend for ray tracing. I have been so far successful in installing it with the CPU based ospray, but I am unhappy with the denoiser and want to try out Nvidias optix.
So far, I have successfully compiled and installed the newest NVIDIA driver, CUDA, and OptiX libraries. But I am not sure how to link this during compilation with ParaView. For OSPRay a CMAKE flag existed,
but it seems that there is no such flag for OptiX. I also tried to add the OptiX library to the LD_LIBRARY_PATH but that did not help either.
How can compile and build ParaView with OptiX?
Looking at how the superbuild does it, OptiX seems to be used through VisRTX rather than directly.
VTK_USE_VISRTX seems to be the option you’re looking for.
Thank you, I tried that but then it could not find the VisRTX external dependencies.
Do I need to compile and install VisRTX or is it included in the paraview build but it cannot find missing dependencies to e.g., OptiX?
VisRTX lives here and is not vendored into ParaView itself.
I think it’s worth to mention, that NVIDIA’s VisRTX backend is under heavy development at the moment to become part of the upcoming ANARI backend, which is going to unify access to third-party render engines in VTK, and ParaView later on.
ANARI 1.0 has just been announced by the Khronos Group.