So I need 4 Samples per Pixel. But paraview aborted when I used 4 samples per pixel with the error message:
terminate called after throwing an instance of ‘optix::Exception’
what(): Already mapped (Details: Function “RTresult bufferMap(RTbuffer, unsigned int, unsigned int, void*, void**)” caught exception: Buffer is already mapped)
I am using TITAN RTX graphic driver. OptiX worked well up to 3 samples per pixel. But I don’t know why 4 samples per pixel occured the error.
This is a known bug of PV 5.9 bug where OptiX + denoiser makes ParaView crash. The workaround is to enable OSPRay, use 4 SPP, disable denoiser, then switch back to OptiX with the denoiser disabled.
Thank you for your comment. The workaround worked well. But I found that I need 4 SPP with the denoiser enabled. Will Paraview 5.10 support 4 SPP with the denoiser enabled? Thank you.
Yes it will, you can already test the first release candidate of ParaView 5.10 following this link. The second release candidate should come in the following days and will be more stable than RC1.