Dynamic Switch of local and remote rendering. (on object interaction). #394
Unanswered
Jcdoliner
asked this question in
Trame/ParaView
Replies: 1 comment 2 replies
-
That is definitely possible to achieve but will require some fine-tuning and experiments. You may even have to manage your own Remote/LocalView yourself to better manage the switch. Out of curiosity, why is the remote rendering slow? Do you have a GPU on the server side? |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I have been working on a project with trame/Paraview for the past couple of months, but I'm concerned about the performance of the tool. Using Paraview as a backend, Local Rendering, as documentation suggests, is definitely faster than remote. The issue that I have is that my tool requires annotations and the color bar that are not available to me when I use Local rendering.
I first had the idea to have the tool automatically switch to local rendering when the user interacts with the object therefore allowing fast performance and color bars after the user interacts. After several attempts I was unable to get it working.
In a nutshell, I want my code to trigger a callback (bind a controller) when I interact with the rendering and one when I end the interaction. The controller will then take care of switching the rendering mode (which I can already do in my code). The click parameter does not work as well as the other events listed in the VtkRemoteLocalView Documentation.
I would appreciate if anybody has an example or if anyone knows if this is possible. Thanks
Beta Was this translation helpful? Give feedback.
All reactions