Hi Berk,<br><br>what I am trying to do is to produce images without opening the graphical display. That is, to have a script that reads a file, creates some filters, then saves the result in as picture (say, PNG). Ideally, this will be done from a web server (installed on the same machine as paraview): the wwwrun user will launch the script, generate the files, then post them on a web page. Is it possible? Maybe in VTK? A simple example would really help me...
<br><br>Thanks,<br>-Marzio<br><br><br><div><span class="gmail_quote">On 5/16/07, <b class="gmail_sendername">Berk Geveci</b> &lt;<a href="mailto:berk.geveci@kitware.com">berk.geveci@kitware.com</a>&gt; wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Are you running client/server? Do you want paraview to render<br>offscreen only on the server side? Can you describe in more detail<br>what you are trying to do?<br><br>-berk<br><br><br>On 5/16/07, Marzio Sala &lt;<a href="mailto:marzio.sala@gmail.com">
marzio.sala@gmail.com</a>&gt; wrote:<br>&gt; John, Jean,<br>&gt;<br>&gt; thanks a lot for your help. I re-compiled ParaView 3 as suggested, but now I<br>&gt; am a bit lost on how to produce images off-screen... Basically, my goal is
<br>&gt; to produce images in batch without opening the ParaView window (and without<br>&gt; having a DISPLAY). Do you think that this is possible? Is there an example<br>&gt; somewhere?<br>&gt;<br>&gt; Thanks,<br>&gt; -Marzio
<br>&gt;<br>&gt;<br>&gt; On 5/16/07, Jean Favre &lt;<a href="mailto:jfavre@cscs.ch">jfavre@cscs.ch</a>&gt; wrote:<br>&gt; &gt;<br>&gt; &gt; Marzio Sala wrote:<br>&gt; &gt; Hello,<br>&gt; &gt;<br>&gt; &gt; I am trying to compile ParaView 3 with support for off-screen rendering. I
<br>&gt; use Mesa 6.4.2 and a CVS version of ParaView3 that is about 3 days old. I<br>&gt; have compiled the mangled mesa. In ccmake, I have set:<br>&gt; &gt;<br>&gt; &gt;<br>&gt; &gt; Do not use mangled mesa as pointed out by John. The complete set of flags
<br>&gt; which works well for me is the following.<br>&gt; &gt; I do NOT set VTK_USE_OFFSCREEN .<br>&gt; &gt;<br>&gt; &gt;<br>&gt; &gt;<br>&gt; &gt; OPENGL_INCLUDE_DIR<br>&gt; /apps/Mesa-6.5.1/include<br>&gt; &gt; OPENGL_gl_LIBRARY&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;/apps/Mesa-
6.5.1/lib/libGL.so<br>&gt; &gt; OPENGL_glu_LIBRARY<br>&gt; /apps/Mesa-6.5.1/lib/libOSMesa.so<br>&gt; &gt; OSMESA_INCLUDE_DIR<br>&gt; /apps/Mesa-6.5.1/include<br>&gt; &gt; OSMESA_LIBRARY<br>&gt; /apps/Mesa-6.5.1/lib/libOSMesa.so
<br>&gt; &gt; VTK_OPENGL_HAS_OSMESA&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;ON<br>&gt; &gt; VTK_USE_MANGLED_MESA&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; OFF<br>&gt; &gt; VTK_USE_OFFSCREEN&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;OFF<br>&gt; &gt;<br>&gt; &gt;<br>&gt; &gt;<br>&gt; &gt; --<br>&gt; &gt; Dr. Jean M. Favre,&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;email:favre
<br>&gt; @ cscs.ch<br>&gt; &gt; <a href="http://www.cscs.ch/about/Favre.php">http://www.cscs.ch/about/Favre.php</a><br>&gt; &gt; CSCS, Swiss National Supercomputing Centre&nbsp;&nbsp;| Tel:&nbsp;&nbsp;+41 (91) 610.82.40<br>&gt; &gt; Via Cantonale, 6928 Manno, Switzerland&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;| Fax:&nbsp;&nbsp;+41 (91) 
610.82.82<br>&gt;<br>&gt;<br>&gt;<br>&gt; --<br>&gt; <a href="http://marzio.sala.googlepages.com">http://marzio.sala.googlepages.com</a><br>&gt; _______________________________________________<br>&gt; ParaView mailing list
<br>&gt; <a href="mailto:ParaView@paraview.org">ParaView@paraview.org</a><br>&gt; <a href="http://www.paraview.org/mailman/listinfo/paraview">http://www.paraview.org/mailman/listinfo/paraview</a><br>&gt;<br>&gt;<br><br><br>
--<br> Berk Geveci<br> Kitware Inc.<br> 28 Corporate Drive<br> Clifton Park, NY, 12065<br></blockquote></div><br><br clear="all"><br>-- <br><a href="http://marzio.sala.googlepages.com">http://marzio.sala.googlepages.com</a>