Rendering with OSPRay broken on branch `master`
Hi,
I find that rendering with OSPRay is currently broken on the master
branch. I'm on Ubuntu Linux 22.04. I'm compiling with OSPRay and MPI enabled. To repro, in the paraview GUI, add a PartitionedDataSetCollection
Source and Apply
it, then in the Properties
dialog check the box labeled Enable Ray Tracing
. The expected output is a color mapped surface similar to what the GL backend generates, the actual output is that only the background is visible.
I believe that OSPRay's renderFrame()
function gets called, but no data is passed on to VTK's Rendering/OSPRay module (I have an ANARI port on a branch where I can confirm the ANARI backend gets created, renderFrame()
gets called, but no scene data is present).
I git bisect
ed the issue and the compromising commit is: 62924fbe
git bisect bad
62924fbe41d39d74d4cd2d60fd9a365470371f06 is the first bad commit
commit 62924fbe41d39d74d4cd2d60fd9a365470371f06
Author: Spiros Tsalikis <spiros.tsalikis@kitware.com>
Date: Mon Feb 12 15:19:20 2024 -0500
vtkPVGeometryFilter: Support PDCs as output
When input is MB, output MB, when output is AMR or PDC, output PDC.
.../FiltersRendering/vtkPVGeometryFilter.cxx | 392 ++++++---------------
.../FiltersRendering/vtkPVGeometryFilter.h | 8 -
2 files changed, 110 insertions(+), 290 deletions(-)
I don't fully understand what this commit does, so cannot propose a fix but instead have to resort to reporting the issue.