[Paraview] Remote rendering with pvpython + grab remote image data

Kolja Petersen petersenkolja at gmail.com
Thu Oct 19 06:03:59 EDT 2017


Hi there,
is it possible to let pvpython render images remotely on a pvserver instead
of locally inside the client?

If I start a pvserver on a headless machine and run the following script in
a pvpython client, a window pops up on the client and shows the cone:

from paraview import simple
simple.Connect("<pvserver host>")
simple.Show(simple.Cone())
simple.Render()

Because the server is headless, rendering is obviously done on the client.
What needs to be changed to let the remote pvserver do the rendering? Of
course the pvserver will then run an X server and also include a GPU.

Reason is that I want to be able to grab a batch of screenshots of huge 3D
scenes in the pvpython client, although the client has only weak (or even
none at all) 3D capabilities.
Can I use the paraview.simple module to grab an image output or a pixel
array of the remotely rendered frame?

Thank you
Kolja
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/paraview/attachments/20171019/982df9dc/attachment.html>


More information about the ParaView mailing list