VTK multi RenderWindow and RenderItem in QML

I’m Trying to display Multi Render item in QML.
I created 2x2 grid layout with 4 rectangle and 4 Render window and Render Item, but it was displaying only one at a time.

If I try with 1 Render Window with 4 Render Items, it’s displaying the object (here I used sphere and cone as objects).

But I need individual Render window for each Render item to use different interactor.


How do I add different interactors to individual Render Items?

@John.Stone @lgivord

hello @praveenkumar,

Which VTK version do you use?

Recently, QML support for VTK has been greatly improved thanks to John Stone : https://gitlab.kitware.com/vtk/vtk/-/merge_requests/9763

Examples have been added https://gitlab.kitware.com/vtk/vtk/-/tree/master/Examples/GUI/QML.

Based on QtQuickBoxWidget, with few changing in the .qml you can have several independent Window Render like that:




HI @lgivord,
I’m using VTK 9.2

ok, it’s not as trivial as with the new support introduced by John with VTK 9.2 unfortunately.

I’m quite busy this week so I will probably check that next week unless someone has other solutions here :slight_smile: