Off-axis projection broken with OSPRay and ANARI
Neither the OSPRay nor ANARI rendering backends seem to take into account the off-axis projection flag or the eye position when doing off-axis projection. Without that, neither of those rendering backends will work in a CAVE environment.
While I was working on !10837 (merged), @thomas.galland noticed that fixing the stereo image separation didn't break two other tests that enable off-axis projection, using:
camera->SetUseOffAxisProjection(1);
camera->SetEyePosition(eyePosition);
The two tests are:
/data/scott/projects/VTK/vtkSrc/Rendering/ANARI/Testing/Cxx/TestAnariStereo.cxx
/data/scott/projects/VTK/vtkSrc/Rendering/RayTracing/Testing/Cxx/TestOSPRayStereo.cxx
Both of these tests enable off-axis projection and set the eye position, but neither of the camera node classes (here and here) do anything with those values.
It's not clear to me yet exactly what is required to fix this. Looking around the interwebz, I found this tech report from Nov 2023 entitled "A Practical Guide to Implementing Off-Axis Stereo Projection Using Existing Ray Tracing Libraries". Is it possible we need to implement one of those strategies to get VTK off-axis projection working correctly with OSPRay and ANARI?