Need help with implementing Remote Rendering using vtk and wslink

Hi,

I am implementing remote volume rendering for my own client web app. My client app is using React and I’m trying to use vtk web and wslink. I’m not sure where to start. I have tried trame before but the UI is SSR and the only way to integrate it into my web app is iframe / embedded view and I don’t want that. I want to implement some sort of streaming mechanism to stream the visualization from vtk to my web app using websocket because later on my client needs to share states with the rendering. Any idea?

Probably more than what you are asking for, but you should find an example here of a VTK server and a react remote view.

You also have a plain JS library to drive a trame server here from any JS framework.

BTW, trame UI is not SSR.

HTH,

Seb