[Paraview] blank screen,

Battalgazi YILDIRIM yildirimga at gmail.com
Thu Apr 9 13:49:53 EDT 2009


Hi everybody,
I have updated graphics drivers, there is nothing wrong with that. I have
used "paraview-3.4.0-Linux64-x86.tar.gz" again and it is working fine and I
am not getting any blank screen. But, I want to do exactly the same thing
for
my own build.

I think that some options which I turned "ON" in compilation caused the
problem,  Do you think that it is possible?

Thanks,


On Thu, Apr 9, 2009 at 11:01 AM, Utkarsh Ayachit <
utkarsh.ayachit at kitware.com> wrote:

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



-- 
B. Gazi YILDIRIM
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.paraview.org/pipermail/paraview/attachments/20090409/f183dd23/attachment.htm>


More information about the ParaView mailing list