Hello,
I am trying to build a split view configuration using a single vtkRenderWindow and multiple viewports. Each viewport should render a different dataset using a SurfaceLICMapper, however only the bottom left pane shows anything. The other panes are empty. I checked with Claude Code and it seems the root issue is that the vtkSurfaceLICMapper renders incorrectly if the viewport’s y_min > 0. With its help, I made a few modifications to the VTK source code and they fixed my issue. I’m not an expert, by any means on VTK, so I’m submitting this to see if you can review it and tell me if I am doing something wrong or if the diagnosis is correct and this helps you fix it. I attached a python script to reproduce the issue and the patch of the modifications to the VTK source code that fixed the issue.
Thanks for your help,
Best regards,
Carlos Montilla
test_lic_viewport_bug.py (7.3 KB)
fix_lic_viewport_offset.patch (3.6 KB)