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

Kolja Petersen petersenkolja at gmail.com
Fri Oct 20 12:01:57 EDT 2017


I found that simple.WriteImage(...) solves the second part of my problem,
which is to grab the image data.

But I have still no clue how to make the pvserver render the scene remotely
and only transfer the rendered image to the pvpython client instead of all
3D datasets (which will be huge).

Any help?
Kolja

On Thu, Oct 19, 2017 at 12:03 PM, Kolja Petersen <petersenkolja at gmail.com>
wrote:

> 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
>


<https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail>
Virenfrei.
www.avast.com
<https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail>
<#DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/paraview/attachments/20171020/58706f96/attachment.html>


More information about the ParaView mailing list