[vtk-developers] VTK Web with no window opened by the VTK server

Sebastien Jourdain sebastien.jourdain at kitware.com
Wed Aug 30 17:50:37 EDT 2017


Are you using "vtkpython" of "pvpython/pvbatch" ?

If you use pvbatch, that should work out of the box with
PV_ALLOW_BATCH_INTERACTION=1.

If you use python/vtkpython, you should create the correct vtkRenderWindow
class that is offscreen.

Hope this helps,

Seb

On Wed, Aug 30, 2017 at 3:45 PM, Dan Lipsa <dan.lipsa at kitware.com> wrote:

> Hi all,
> I am trying to run
> https://kitware.github.io/paraviewweb/examples/RemoteRenderer.html
>
> With VTK as a server. I would like that no window is opened on the server.
>
> I tried setting
> renderWindow.OffScreenRenderingOn()
> in vtk_web_cone.py
> however this does not work. A window (black) will still be created by
> the renderWindowInteractor, even if the rendering will happen offscreen.
>
> It seems that the interactor is used to send events back to the client,
> but maybe it also believes that it has to forward events from the window.
>
> Do you have any suggestions for making this work?
>
> Thanks,
> Dan
>
>
> _______________________________________________
> Powered by www.kitware.com
>
> Visit other Kitware open-source projects at http://www.kitware.com/
> opensource/opensource.html
>
> Search the list archives at: http://markmail.org/search/?q=vtk-developers
>
> Follow this link to subscribe/unsubscribe:
> http://public.kitware.com/mailman/listinfo/vtk-developers
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/vtk-developers/attachments/20170830/b26d9ae1/attachment.html>


More information about the vtk-developers mailing list