vtkCamera copy constructor doesn't seem to copy ExplicitProjectionTransformMatrix vars - problems with vtkWindowToImageFilter
I setup a vtkCamera using
for AR purposes. I have 2 rendering layers. A background video and a foreground VTK rendering. When I came to take a screenshot with vtkWindowToImageFilter, the rendering disappeared. I believe this was because the foreground renderer camera was using
UseExplicitProjectionTransformMatrixOn and yet in vtkWindowToImageFilter, the main output function creates temporary vtkCameras. I think this is because its trying to do tiling/magnification. Either way, the ExplicitProjection matrix is not copied, so you then end up with a default camera, which has the wrong settings.