Greg,

I've committed a fix for this issue on to the ParaView CVS head. Once
you confirm that the issue is resolved, I'll move the patch to 3.6
branch and it will be included in 3.6.2 patch release.

Attached is a patch for the changed files against the 3.6 branch to
make it easier for you to test against your current checkout.

Utkarsh

On Wed, Sep 2, 2009 at 5:31 PM, Greg Abram<g...@tacc.utexas.edu> wrote:
> Hi, Berk -
>
> Thanks for the prompt reply.  I'm using 3.6.
>
> Greg
>
> Gregory D. Abram
> Texas Advanced Computing Center
> JJ Pickle Research Campus - ROC 1.101 (R8700)
> 10100 Burnet Road
> Austin, Texas 78758-4497
>
> g...@tacc.utexas.edu
> (512) 471-8196
>
>
> ________________________________________
> From: Berk Geveci [berk.gev...@kitware.com]
> Sent: Wednesday, September 02, 2009 3:44 PM
> To: Greg Abram
> Cc: paraview@paraview.org
> Subject: Re: [Paraview] Paraview and tiled display
>
> Hi Greg,
>
> I guess we need to do better testing of tiled display rendering. This
> is a bug that I can reproduce in 3.7 (which version are you using?).
> We will fix this asap.
>
> -berk
>
>
> On Wed, Sep 2, 2009 at 4:00 PM, Greg Abram<g...@tacc.utexas.edu> wrote:
>>
>> Can't believe I never tried this before - I'm trying to use PV to render to 
>> a tiled display with 2 nodes driving 2 screens each in TwinView mode, and 
>> oriented one above the other.  Initially, all is well - the target screens 
>> show the grey background with the axes centered and the screens are filled.  
>> Just what you'd expect.  Then, as soon as I put some geometry into the 
>> display (such as the Sphere source) smaller windows appear on the tile 
>> displays, one showing the top half of the correct image and the other the 
>> bottom, but clipped to the bounding box of the data.  Like the results of 
>> the first pass of a binary swap compositing -  data from both processes 
>> shows up in each.   When these windows appear, the rest of the tile displays 
>> revert to the original desktop background.  If I add 
>> --use-offscreen-rendering to the pvservers the two smaller windows still 
>> appear, but are black.
>>
>> So - how do I get rid of those windows?   And is there a way to suppress 
>> rendering to the PV client?
>>
>> Thanks,
>> Greg
>>
>> Gregory D. Abram
>> Texas Advanced Computing Center
>> JJ Pickle Research Campus - ROC 1.101 (R8700)
>> 10100 Burnet Road
>> Austin, Texas 78758-4497
>>
>> g...@tacc.utexas.edu
>> (512) 471-8196
>>
>> _______________________________________________
>> 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
>
Index: Servers/ServerManager/vtkSMIceTDesktopRenderViewProxy.cxx
===================================================================
RCS file: /cvsroot/ParaView3/ParaView3/Servers/ServerManager/vtkSMIceTDesktopRenderViewProxy.cxx,v
retrieving revision 1.18
diff -u -3 -p -r1.18 vtkSMIceTDesktopRenderViewProxy.cxx
--- Servers/ServerManager/vtkSMIceTDesktopRenderViewProxy.cxx	6 Feb 2009 14:28:26 -0000	1.18
+++ Servers/ServerManager/vtkSMIceTDesktopRenderViewProxy.cxx	3 Sep 2009 00:31:18 -0000
@@ -18,6 +18,7 @@
 #include "vtkInformation.h"
 #include "vtkObjectFactory.h"
 #include "vtkProcessModule.h"
+#include "vtkRenderWindow.h"
 #include "vtkSMClientServerRenderSyncManagerHelper.h"
 #include "vtkSMIntVectorProperty.h"
 
@@ -349,6 +350,12 @@ double vtkSMIceTDesktopRenderViewProxy::
 }
 
 //----------------------------------------------------------------------------
+void vtkSMIceTDesktopRenderViewProxy::SetViewSize(int width, int height)
+{
+  this->RenderWindow->SetSize(width, height);
+}
+
+//----------------------------------------------------------------------------
 void vtkSMIceTDesktopRenderViewProxy::PrintSelf(ostream& os, vtkIndent indent)
 {
   this->Superclass::PrintSelf(os, indent);
Index: Servers/ServerManager/vtkSMIceTDesktopRenderViewProxy.h
===================================================================
RCS file: /cvsroot/ParaView3/ParaView3/Servers/ServerManager/vtkSMIceTDesktopRenderViewProxy.h,v
retrieving revision 1.8
diff -u -3 -p -r1.8 vtkSMIceTDesktopRenderViewProxy.h
--- Servers/ServerManager/vtkSMIceTDesktopRenderViewProxy.h	16 Oct 2007 14:11:30 -0000	1.8
+++ Servers/ServerManager/vtkSMIceTDesktopRenderViewProxy.h	3 Sep 2009 00:31:18 -0000
@@ -48,6 +48,13 @@ public:
   // Description:
   // Overridden to pass the ViewPosition to the RenderSyncManager.
   virtual void SetViewPosition(int x, int y);
+  // Description:
+  // Set the view size.
+  // Overridden to affect only the client-size render window size (server-side
+  // sizes are managed by the RenderSyncManager).
+  // Overrides superclasses implementation.
+  virtual void SetViewSize(int width, int height);
+
 
   // Description:
   // Returns an image data that contains a "screenshot" of the window.
Index: Servers/ServerManager/Resources/rendering.xml
===================================================================
RCS file: /cvsroot/ParaView3/ParaView3/Servers/ServerManager/Resources/rendering.xml,v
retrieving revision 1.349.2.6
diff -u -3 -p -r1.349.2.6 rendering.xml
--- Servers/ServerManager/Resources/rendering.xml	1 Sep 2009 13:50:00 -0000	1.349.2.6
+++ Servers/ServerManager/Resources/rendering.xml	3 Sep 2009 00:31:18 -0000
@@ -4467,6 +4467,18 @@
         IceT Render View with compositing and client delivery mechanisms.
       </Documentation>
 
+      <IntVectorProperty
+        name="ViewSize"
+        command="SetViewSize"
+        number_of_elements="2"
+        update_self="1"
+        default_values="400 400">
+        <IntRangeDomain name="range" min="1 1" />
+        <Documentation>
+          Set the view size for this view module.
+        </Documentation>
+      </IntVectorProperty>
+
       <DoubleVectorProperty
         name="RemoteRenderThreshold"
         command="SetRemoteRenderThreshold"
@@ -4537,7 +4549,6 @@
         </Proxy>
         <ExposedProperties>
           <Property name="RenderWindowSizeInfo" />
-          <Property name="RenderWindowSize" exposed_name="ViewSize" />
         </ExposedProperties>
       </SubProxy>
 
_______________________________________________
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

Reply via email to