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> <<a href="mailto:berk.geveci@kitware.com">berk.geveci@kitware.com</a>> 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 <<a href="mailto:marzio.sala@gmail.com">
marzio.sala@gmail.com</a>> wrote:<br>> John, Jean,<br>><br>> thanks a lot for your help. I re-compiled ParaView 3 as suggested, but now I<br>> am a bit lost on how to produce images off-screen... Basically, my goal is
<br>> to produce images in batch without opening the ParaView window (and without<br>> having a DISPLAY). Do you think that this is possible? Is there an example<br>> somewhere?<br>><br>> Thanks,<br>> -Marzio
<br>><br>><br>> On 5/16/07, Jean Favre <<a href="mailto:jfavre@cscs.ch">jfavre@cscs.ch</a>> wrote:<br>> ><br>> > Marzio Sala wrote:<br>> > Hello,<br>> ><br>> > I am trying to compile ParaView 3 with support for off-screen rendering. I
<br>> use Mesa 6.4.2 and a CVS version of ParaView3 that is about 3 days old. I<br>> have compiled the mangled mesa. In ccmake, I have set:<br>> ><br>> ><br>> > Do not use mangled mesa as pointed out by John. The complete set of flags
<br>> which works well for me is the following.<br>> > I do NOT set VTK_USE_OFFSCREEN .<br>> ><br>> ><br>> ><br>> > OPENGL_INCLUDE_DIR<br>> /apps/Mesa-6.5.1/include<br>> > OPENGL_gl_LIBRARY /apps/Mesa-
6.5.1/lib/libGL.so<br>> > OPENGL_glu_LIBRARY<br>> /apps/Mesa-6.5.1/lib/libOSMesa.so<br>> > OSMESA_INCLUDE_DIR<br>> /apps/Mesa-6.5.1/include<br>> > OSMESA_LIBRARY<br>> /apps/Mesa-6.5.1/lib/libOSMesa.so
<br>> > VTK_OPENGL_HAS_OSMESA ON<br>> > VTK_USE_MANGLED_MESA OFF<br>> > VTK_USE_OFFSCREEN OFF<br>> ><br>> ><br>> ><br>> > --<br>> > Dr. Jean M. Favre, email:favre
<br>> @ cscs.ch<br>> > <a href="http://www.cscs.ch/about/Favre.php">http://www.cscs.ch/about/Favre.php</a><br>> > CSCS, Swiss National Supercomputing Centre | Tel: +41 (91) 610.82.40<br>> > Via Cantonale, 6928 Manno, Switzerland | Fax: +41 (91)
610.82.82<br>><br>><br>><br>> --<br>> <a href="http://marzio.sala.googlepages.com">http://marzio.sala.googlepages.com</a><br>> _______________________________________________<br>> ParaView mailing list
<br>> <a href="mailto:ParaView@paraview.org">ParaView@paraview.org</a><br>> <a href="http://www.paraview.org/mailman/listinfo/paraview">http://www.paraview.org/mailman/listinfo/paraview</a><br>><br>><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>