Hi everybody,<br>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 <br>
my own build.<br><br>I think that some options which I turned "ON" in compilation caused the problem, Do you think that it is possible?<br><br>Thanks,<br><br><br><div class="gmail_quote">On Thu, Apr 9, 2009 at 11:01 AM, Utkarsh Ayachit <span dir="ltr"><<a href="mailto:utkarsh.ayachit@kitware.com">utkarsh.ayachit@kitware.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Try updating your graphics drivers. Hopefully someone else on the<br>
mailing list has run into a similar issue knows how to overcome it.<br>
<br>
Utkarsh<br>
<br>
On Thu, Apr 9, 2009 at 10:59 AM, Battalgazi YILDIRIM<br>
<div><div></div><div class="h5"><<a href="mailto:yildirimga@gmail.com">yildirimga@gmail.com</a>> wrote:<br>
> Hi,<br>
><br>
> I am using python script and and got pop-window (I got snapshot attached<br>
> this e-mail),<br>
><br>
> I think that it might be OpenGl rendering issue,<br>
><br>
> Thanks,<br>
><br>
><br>
><br>
> On Thu, Apr 9, 2009 at 10:55 AM, Utkarsh Ayachit<br>
> <<a href="mailto:utkarsh.ayachit@kitware.com">utkarsh.ayachit@kitware.com</a>> wrote:<br>
>><br>
>> Does the ParaView gui work as expected? Or are there OpenGL rendering<br>
>> issues even with that?<br>
>><br>
>> On Thu, Apr 9, 2009 at 10:51 AM, Battalgazi YILDIRIM<br>
>> <<a href="mailto:yildirimga@gmail.com">yildirimga@gmail.com</a>> wrote:<br>
>> > Hi again,<br>
>> ><br>
>> > Sorry I mean "would not be updated" in my previous e-mail.<br>
>> ><br>
>> > Thanks,<br>
>> ><br>
>> > On Thu, Apr 9, 2009 at 9:01 AM, Battalgazi YILDIRIM<br>
>> > <<a href="mailto:yildirimga@gmail.com">yildirimga@gmail.com</a>><br>
>> > wrote:<br>
>> >><br>
>> >> Hi again,<br>
>> >><br>
>> >> My background would be updated (still black) even when I tried to use<br>
>> >> view.Background = [1,0,0].<br>
>> >><br>
>> >> Thanks,<br>
>> >><br>
>> >> On Thu, Apr 9, 2009 at 8:49 AM, Utkarsh Ayachit<br>
>> >> <<a href="mailto:utkarsh.ayachit@kitware.com">utkarsh.ayachit@kitware.com</a>> wrote:<br>
>> >>><br>
>> >>> Hmm, I am not sure what's happening. Try changing the background color<br>
>> >>> of the view to something non-black. Is the color being updated?<br>
>> >>><br>
>> >>> view.Background = [1, 0, 0]<br>
>> >>><br>
>> >>><br>
>> >>> On Thu, Apr 9, 2009 at 8:37 AM, Battalgazi YILDIRIM<br>
>> >>> <<a href="mailto:yildirimga@gmail.com">yildirimga@gmail.com</a>> wrote:<br>
>> >>> > Hi,<br>
>> >>> ><br>
>> >>> > I tried to write png file (view.WriteImage("image.png",<br>
>> >>> > "vtkPNGWriter",1)<br>
>> >>> > ), and I got following error<br>
>> >>> ><br>
>> >>> > Warning: In<br>
>> >>> ><br>
>> >>> ><br>
>> >>> > /home/yildirim/projects/ParaView3/Servers/ServerManager/vtkSMRenderViewProxy.cxx,<br>
>> >>> > line 1110<br>
>> >>> > vtkSMIceTDesktopRenderViewProxy (0x2630390): Disabling offscreen<br>
>> >>> > rendering<br>
>> >>> > since empty image was detected.<br>
>> >>> ><br>
>> >>> > and image is blank too (visualized with gimp)<br>
>> >>> ><br>
>> >>> > Thanks,<br>
>> >>> ><br>
>> >>> > On Wed, Apr 8, 2009 at 10:17 PM, Utkarsh Ayachit<br>
>> >>> > <<a href="mailto:utkarsh.ayachit@kitware.com">utkarsh.ayachit@kitware.com</a>> wrote:<br>
>> >>> >><br>
>> >>> >> Is the render window popping up behind some other window?<br>
>> >>> >> Try capturing an image using:<br>
>> >>> >> view.WriteImage("C:/temp/image.png", "vtkPNGWriter", 1)<br>
>> >>> >> Is that blank too?<br>
>> >>> >><br>
>> >>> >> Utkarsh<br>
>> >>> >><br>
>> >>> >> On Wed, Apr 8, 2009 at 3:29 PM, Battalgazi YILDIRIM<br>
>> >>> >> <<a href="mailto:yildirimga@gmail.com">yildirimga@gmail.com</a>> wrote:<br>
>> >>> >> > Hi,<br>
>> >>> >> ><br>
>> >>> >> > I have been reading Paraview Scripting with Python document.<br>
>> >>> >> > I have installed paraview from ubuntu repository. Everything was<br>
>> >>> >> > working ok for following script (I could see a cone on the pop-up<br>
>> >>> >> > window<br>
>> >>> >> > as<br>
>> >>> >> > in<br>
>> >>> >> > Paraview Scripting with Python manual).<br>
>> >>> >> ><br>
>> >>> >> > I decided to download the source code and build it from scratch.<br>
>> >>> >> > It<br>
>> >>> >> > was<br>
>> >>> >> > ok<br>
>> >>> >> > Paraview was working correctly, but now this script works but I<br>
>> >>> >> > got<br>
>> >>> >> > blank pop-up windows and don't see the cone any more.<br>
>> >>> >> ><br>
>> >>> >> ><br>
>> >>> >> > do yo have any idea what might have been gone wrong?<br>
>> >>> >> ><br>
>> >>> >> > Thanks,<br>
>> >>> >> ><br>
>> >>> >> ><br>
>> >>> >> > from paraview import servermanager<br>
>> >>> >> > import time<br>
>> >>> >> > import os<br>
>> >>> >> ><br>
>> >>> >> > connection=servermanager.Connect('localhost')<br>
>> >>> >> > coneSource = servermanager.sources.ConeSource()<br>
>> >>> >> > coneSource.Resolution = 32<br>
>> >>> >> > coneSource.Center[0:3]=[1,2,3]<br>
>> >>> >> ><br>
>> >>> >> > shrinkFilter =<br>
>> >>> >> > servermanager.filters.ShrinkFilter(Input=coneSource)<br>
>> >>> >> ><br>
>> >>> >> > shrinkFilter.UpdatePipeline()<br>
>> >>> >> > shrinkFilter.UpdatePipelineInformation()<br>
>> >>> >> ><br>
>> >>> >> > view = servermanager.CreateRenderView()<br>
>> >>> >> > rep = servermanager.CreateRepresentation(shrinkFilter, view)<br>
>> >>> >> > view.StillRender()<br>
>> >>> >> > view.ResetCamera()<br>
>> >>> >> > view.StillRender()<br>
>> >>> >> > time.sleep(4)<br>
>> >>> >> > --<br>
>> >>> >> > B. Gazi YILDIRIM<br>
>> >>> >> ><br>
>> >>> >> > _______________________________________________<br>
>> >>> >> > Powered by <a href="http://www.kitware.com" target="_blank">www.kitware.com</a><br>
>> >>> >> ><br>
>> >>> >> > Visit other Kitware open-source projects at<br>
>> >>> >> > <a href="http://www.kitware.com/opensource/opensource.html" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>
>> >>> >> ><br>
>> >>> >> > Please keep messages on-topic and check the ParaView Wiki at:<br>
>> >>> >> > <a href="http://paraview.org/Wiki/ParaView" target="_blank">http://paraview.org/Wiki/ParaView</a><br>
>> >>> >> ><br>
>> >>> >> > Follow this link to subscribe/unsubscribe:<br>
>> >>> >> > <a href="http://www.paraview.org/mailman/listinfo/paraview" target="_blank">http://www.paraview.org/mailman/listinfo/paraview</a><br>
>> >>> >> ><br>
>> >>> >> ><br>
>> >>> ><br>
>> >>> ><br>
>> >>> ><br>
>> >>> > --<br>
>> >>> > B. Gazi YILDIRIM<br>
>> >>> ><br>
>> >><br>
>> >><br>
>> >><br>
>> >> --<br>
>> >> B. Gazi YILDIRIM<br>
>> ><br>
>> ><br>
>> ><br>
>> > --<br>
>> > B. Gazi YILDIRIM<br>
>> ><br>
><br>
><br>
><br>
> --<br>
> B. Gazi YILDIRIM<br>
><br>
</div></div></blockquote></div><br><br clear="all"><br>-- <br>B. Gazi YILDIRIM<br>