Progressive passes in scivis raytracing have no effect.
It looks like in current master (d937d82d) if one creates an OSPRay-enabled renderer with MaxFrames > 1 , repeated calls of Render
have no effect if the scivis
method is used. The expected behavior is to get a higher quality rendering with each call.
To validate use the modified test introduced by this patch regression.patch. It loads a model and uses two different methods (pathtracer
and scivis
) to render it using 5 rendering passes. After each pass a screenshot is captured. The expectation is to have different (as seen by diff
command) screenshots at each iteration. To run use ./bin/vtkRenderingRayTracingCxxTests "TestOSPRayPass" "-D" "./ExternalData/Testing"
.
Notice the generated images. For pathtracer
the produced screenshots are different (as expected) while for scivis
they are all the same.
git bisect
reveals that the first offending commit is e7137820.
This also affects ParaView see paraview/paraview#20272 (closed)