[Paraview] pvbatch view size

Utkarsh Ayachit utkarsh.ayachit at kitware.com
Tue Jun 26 10:41:53 EDT 2012


O another thing, try turning off
"UseOffscreenRenderingForScreenshots" property on the view.

> view.UseOffscreenRenderingForScreenshots = 0

That's one difference between the client-server and pvbatch workflows.

Utkarsh

On Tue, Jun 26, 2012 at 10:40 AM, Utkarsh Ayachit
<utkarsh.ayachit at kitware.com> wrote:
> Sorry I don't have any insight. The 1024 limit sounds very fishy. In
> the end, it has to be something with X/OpenGL context or something
> like that, but what is confusing is that it works with pvserver
> (remote-rendering, right?).
>
> Utkarsh
>
> On Tue, Jun 26, 2012 at 10:40 AM, Burlen Loring <bloring at lbl.gov> wrote:
>> unfortunately I'm running this on a vis cluster, I don't see the windows. I
>> guess I can move one slice of the dataset to my workstation and see if the
>> issue remains...
>>
>>
>> On 06/25/2012 04:36 PM, Utkarsh Ayachit wrote:
>>>
>>> Is it at all possible to view the batch render windows on the
>>> processes?  I am not sure, but maybe looking at the actual size/pos of
>>> the windows can provide some clues. Theoretically, I don't see why
>>> there should be any difference between pvbatch and pvserver (which I
>>> assume is what you mean by "interactive use").
>>>
>>> Utkarsh
>>>
>>> On Mon, Jun 25, 2012 at 1:53 PM, Burlen Loring<bloring at lbl.gov>  wrote:
>>>>
>>>> Thanks Utkarsh,
>>>>
>>>> I'm using 3.14.1 now but this also happens with 3.10.0. Setting the
>>>> window
>>>> position didn't help.
>>>>
>>>> Burlen
>>>>
>>>>
>>>> On 06/24/2012 06:13 AM, Utkarsh Ayachit wrote:
>>>>>
>>>>> Burlen,
>>>>>
>>>>> This is with 3.14 or greater right?
>>>>>
>>>>> Another thing to try is setting teh window position (maybe it's being
>>>>> shown up offseted)
>>>>>
>>>>>> view.GetRenderWindow().SetPosition(0, 0)
>>>>>
>>>>> Does that help?
>>>>>
>>>>> Utkarsh
>>>>>
>>>>> On Sat, Jun 23, 2012 at 4:38 PM, Burlen Loring<bloring at lbl.gov>
>>>>>  wrote:
>>>>>>
>>>>>> hi Utkarsh, i'm setting as follows:
>>>>>>
>>>>>> view = GetRenderView()
>>>>>> view.ViewSize = [width, height]
>>>>>>
>>>>>> On Jun 23, 2012 6:35 AM, "Utkarsh Ayachit"<utkarsh.ayachit at kitware.com>
>>>>>> wrote:
>>>>>>>
>>>>>>> Burlen,
>>>>>>>
>>>>>>> How are you setting the view size in your python script for pvbatch?
>>>>>>>
>>>>>>> Utkarsh
>>>>>>>
>>>>>>> On Fri, Jun 22, 2012 at 4:27 PM, burlen<burlen.loring at gmail.com>
>>>>>>>  wrote:
>>>>>>>>
>>>>>>>> Hi all,
>>>>>>>>
>>>>>>>> When I'm using pvbatch the rendering gets "clipped" (see attached
>>>>>>>> images)
>>>>>>>> when I set the view size to values greater than ~1024 in either
>>>>>>>> direction.
>>>>>>>> The display supports 2560x1600, and in interactive use I can produce
>>>>>>>> the
>>>>>>>> desired resolution.
>>>>>>>>
>>>>>>>> What is different when using pvbatch? Any idea what I can do to get
>>>>>>>> the
>>>>>>>> same
>>>>>>>> result in pvbatch that I get interactively? and I need to render on a
>>>>>>>> single
>>>>>>>> tile so setting the magnification when I call WriteImage doesn't
>>>>>>>> work.
>>>>>>>>
>>>>>>>> Thanks
>>>>>>>> Burlen
>>>>>>>>
>>>>>>>>
>>>>>>>> _______________________________________________
>>>>>>>> Powered by www.kitware.com
>>>>>>>>
>>>>>>>> Visit other Kitware open-source projects at
>>>>>>>> http://www.kitware.com/opensource/opensource.html
>>>>>>>>
>>>>>>>> Please keep messages on-topic and check the ParaView Wiki at:
>>>>>>>> http://paraview.org/Wiki/ParaView
>>>>>>>>
>>>>>>>> Follow this link to subscribe/unsubscribe:
>>>>>>>> http://www.paraview.org/mailman/listinfo/paraview
>>>>>>>>
>>>>>>> _______________________________________________
>>>>>>> Powered by www.kitware.com
>>>>>>>
>>>>>>> Visit other Kitware open-source projects at
>>>>>>> http://www.kitware.com/opensource/opensource.html
>>>>>>>
>>>>>>> Please keep messages on-topic and check the ParaView Wiki at:
>>>>>>> http://paraview.org/Wiki/ParaView
>>>>>>>
>>>>>>> Follow this link to subscribe/unsubscribe:
>>>>>>> http://www.paraview.org/mailman/listinfo/paraview
>>>>
>>>>
>>


More information about the ParaView mailing list