[Paraview] blank screen,
Utkarsh Ayachit
utkarsh.ayachit at kitware.com
Thu Apr 9 11:01:55 EDT 2009
Try updating your graphics drivers. Hopefully someone else on the
mailing list has run into a similar issue knows how to overcome it.
Utkarsh
On Thu, Apr 9, 2009 at 10:59 AM, Battalgazi YILDIRIM
<yildirimga at gmail.com> wrote:
> Hi,
>
> I am using python script and and got pop-window (I got snapshot attached
> this e-mail),
>
> I think that it might be OpenGl rendering issue,
>
> Thanks,
>
>
>
> On Thu, Apr 9, 2009 at 10:55 AM, Utkarsh Ayachit
> <utkarsh.ayachit at kitware.com> wrote:
>>
>> Does the ParaView gui work as expected? Or are there OpenGL rendering
>> issues even with that?
>>
>> On Thu, Apr 9, 2009 at 10:51 AM, Battalgazi YILDIRIM
>> <yildirimga at gmail.com> wrote:
>> > Hi again,
>> >
>> > Sorry I mean "would not be updated" in my previous e-mail.
>> >
>> > Thanks,
>> >
>> > On Thu, Apr 9, 2009 at 9:01 AM, Battalgazi YILDIRIM
>> > <yildirimga at gmail.com>
>> > wrote:
>> >>
>> >> Hi again,
>> >>
>> >> My background would be updated (still black) even when I tried to use
>> >> view.Background = [1,0,0].
>> >>
>> >> Thanks,
>> >>
>> >> On Thu, Apr 9, 2009 at 8:49 AM, Utkarsh Ayachit
>> >> <utkarsh.ayachit at kitware.com> wrote:
>> >>>
>> >>> Hmm, I am not sure what's happening. Try changing the background color
>> >>> of the view to something non-black. Is the color being updated?
>> >>>
>> >>> view.Background = [1, 0, 0]
>> >>>
>> >>>
>> >>> On Thu, Apr 9, 2009 at 8:37 AM, Battalgazi YILDIRIM
>> >>> <yildirimga at gmail.com> wrote:
>> >>> > Hi,
>> >>> >
>> >>> > I tried to write png file (view.WriteImage("image.png",
>> >>> > "vtkPNGWriter",1)
>> >>> > ), and I got following error
>> >>> >
>> >>> > Warning: In
>> >>> >
>> >>> >
>> >>> > /home/yildirim/projects/ParaView3/Servers/ServerManager/vtkSMRenderViewProxy.cxx,
>> >>> > line 1110
>> >>> > vtkSMIceTDesktopRenderViewProxy (0x2630390): Disabling offscreen
>> >>> > rendering
>> >>> > since empty image was detected.
>> >>> >
>> >>> > and image is blank too (visualized with gimp)
>> >>> >
>> >>> > Thanks,
>> >>> >
>> >>> > On Wed, Apr 8, 2009 at 10:17 PM, Utkarsh Ayachit
>> >>> > <utkarsh.ayachit at kitware.com> wrote:
>> >>> >>
>> >>> >> Is the render window popping up behind some other window?
>> >>> >> Try capturing an image using:
>> >>> >> view.WriteImage("C:/temp/image.png", "vtkPNGWriter", 1)
>> >>> >> Is that blank too?
>> >>> >>
>> >>> >> Utkarsh
>> >>> >>
>> >>> >> On Wed, Apr 8, 2009 at 3:29 PM, Battalgazi YILDIRIM
>> >>> >> <yildirimga at gmail.com> wrote:
>> >>> >> > Hi,
>> >>> >> >
>> >>> >> > I have been reading Paraview Scripting with Python document.
>> >>> >> > I have installed paraview from ubuntu repository. Everything was
>> >>> >> > working ok for following script (I could see a cone on the pop-up
>> >>> >> > window
>> >>> >> > as
>> >>> >> > in
>> >>> >> > Paraview Scripting with Python manual).
>> >>> >> >
>> >>> >> > I decided to download the source code and build it from scratch.
>> >>> >> > It
>> >>> >> > was
>> >>> >> > ok
>> >>> >> > Paraview was working correctly, but now this script works but I
>> >>> >> > got
>> >>> >> > blank pop-up windows and don't see the cone any more.
>> >>> >> >
>> >>> >> >
>> >>> >> > do yo have any idea what might have been gone wrong?
>> >>> >> >
>> >>> >> > Thanks,
>> >>> >> >
>> >>> >> >
>> >>> >> > from paraview import servermanager
>> >>> >> > import time
>> >>> >> > import os
>> >>> >> >
>> >>> >> > connection=servermanager.Connect('localhost')
>> >>> >> > coneSource = servermanager.sources.ConeSource()
>> >>> >> > coneSource.Resolution = 32
>> >>> >> > coneSource.Center[0:3]=[1,2,3]
>> >>> >> >
>> >>> >> > shrinkFilter =
>> >>> >> > servermanager.filters.ShrinkFilter(Input=coneSource)
>> >>> >> >
>> >>> >> > shrinkFilter.UpdatePipeline()
>> >>> >> > shrinkFilter.UpdatePipelineInformation()
>> >>> >> >
>> >>> >> > view = servermanager.CreateRenderView()
>> >>> >> > rep = servermanager.CreateRepresentation(shrinkFilter, view)
>> >>> >> > view.StillRender()
>> >>> >> > view.ResetCamera()
>> >>> >> > view.StillRender()
>> >>> >> > time.sleep(4)
>> >>> >> > --
>> >>> >> > B. Gazi YILDIRIM
>> >>> >> >
>> >>> >> > _______________________________________________
>> >>> >> > 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
>> >>> >> >
>> >>> >> >
>> >>> >
>> >>> >
>> >>> >
>> >>> > --
>> >>> > B. Gazi YILDIRIM
>> >>> >
>> >>
>> >>
>> >>
>> >> --
>> >> B. Gazi YILDIRIM
>> >
>> >
>> >
>> > --
>> > B. Gazi YILDIRIM
>> >
>
>
>
> --
> B. Gazi YILDIRIM
>
More information about the ParaView
mailing list