[Paraview] ParaView 3 with off-screen support

Marzio Sala marzio.sala at gmail.com
Wed May 16 09:20:28 EDT 2007


Hi Berk,

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

Thanks,
-Marzio


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



-- 
http://marzio.sala.googlepages.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://public.kitware.com/pipermail/paraview/attachments/20070516/40274e6a/attachment.htm


More information about the ParaView mailing list