<div dir="ltr">I found that simple.WriteImage(...) solves the second part of my problem, which is to grab the image data.<div><br></div><div>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).</div><div><br></div><div>Any help?</div><div>Kolja</div><div><br><div class="gmail_extra"><div class="gmail_quote">On Thu, Oct 19, 2017 at 12:03 PM, Kolja Petersen <span dir="ltr"><<a href="mailto:petersenkolja@gmail.com" target="_blank">petersenkolja@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Hi there,<br>is it possible to let pvpython render images remotely on a pvserver instead of locally inside the client?<br><br>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:<br><br>from paraview import simple<br>simple.Connect("<pvserver host>")<br>simple.Show(simple.Cone())<br>simple.Render()<br><br>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.<br><br>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.<br>Can I use the paraview.simple module to grab an image output or a pixel array of the remotely rendered frame?<br><br>Thank you<span class="HOEnZb"><font color="#888888"><br>Kolja</font></span></div>
</blockquote></div><br></div></div></div><div id="DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2"><br> <table style="border-top:1px solid #d3d4de">
        <tr>
      <td style="width:55px;padding-top:18px"><a href="https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail" target="_blank"><img src="https://ipmcdn.avast.com/images/icons/icon-envelope-tick-round-orange-animated-no-repeat-v1.gif" alt="" width="46" height="29" style="width: 46px; height: 29px;"></a></td>
                <td style="width:470px;padding-top:17px;color:#41424e;font-size:13px;font-family:Arial,Helvetica,sans-serif;line-height:18px">Virenfrei. <a href="https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail" target="_blank" style="color:#4453ea">www.avast.com</a>            </td>
        </tr>
</table>
<a href="#DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2" width="1" height="1"></a></div>