Hello dear vtk community,
I’m contributing to an application that uses vtk 9.1 to visualize volumes and MPR slices. The UI has 4 render windows (vtkRenderWindow) - one for the 3D volume and one window for each axial, coronal and sagittal slice. My task is to create a print document with the content of the render windows. Therefore I create a offscreen window and apply the process described here (https://examples.vtk.org/site/Cxx/Utilities/OffScreenRendering/) to each of the four render windows.
The offscreen rendering works well for the 3D volume - here a bitmap with the 3D view is created. But the three MPR windows are not rendered. The resulting bitmaps are black.
Please advise me on how to offscreen-render the windows with MPR projections or how to debug the problem.