[Paraview] FW: paraview3.6.1/OSMesa rendering issue

Lucy Gagliardi lgagliardi at BrawnGP.com
Tue Sep 8 05:19:54 EDT 2009


I've no problems with rendering, just as long as an openGL window is
able to open on the screen (I don't even need to render directly to it
i.e I can set view.UseOffScreenRenderingForScreenshots  = 1 so the
window opens but is black) 

I had been trying to prevent this window opening to allow scripts to run
in the background.  I get output for all cases except where I use the
--use-offscreen-rendering at the command line for pvpython or pvbatch

Thanks,

Lucy

-----Original Message-----
From: Kevin H. Hobbs [mailto:hobbsk at ohiou.edu] 
Sent: 08 September 2009 10:05
To: Lucy Gagliardi
Cc: paraview at paraview.org
Subject: Re: [Paraview] FW: paraview3.6.1/OSMesa rendering issue

On 09/08/2009 04:02 AM, Lucy Gagliardi wrote:
> Hi, 
>
> I've attached a jpeg version of one of the png output files. It
doesn't
> appear to me that the rgb values are alternating, but there are
definite
> bands of colour. 
>   

Wow, that's really garbled.

It does not look like the problem I've seen before.

> I haven't tried off screen rendering with the gui as I need to be able
> to run the scripts in batch. 
>   

I just want to make sure you can make an output image at all. It does
not have to be a useful rendering just take a screenshot of the sphere
source. Then if that works and if you're doing volume rendering or
something more advanced, then try to make the rendering closer, a little
at a time, to what you are trying to do for real.

The Paraview GUI switches to offscreen rendering to make an output
image, but there is a check-box to turn that off and on.

The problem I've seen where the output images were garbled ( not as
badly as yours ) would happen whenever paraview or vtk took a
screenshot.  It did not matter if I used the GUI or not, offscreen or
not, nor if there was a screen attached to the X server.

> As a work around, I have output the openGL window to a secondary
screen
> (in a similar manner to that you described in a previous post
yesterday)
> which is working fine for my purposes. 
>
> Lucy
>   

So everything works as long as the rendering is displayed on an actual
monitor?




Brawn GP Limited.  Registered in England No. 787446.
Registered Office at Brawn GP Formula One Team, Brackley, Northants NN13 7BD.

Please consider the environment before printing this email




More information about the ParaView mailing list