View Issue Details Jump to Notes ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0013586ParaView(No Category)public2012-10-29 15:372012-10-31 20:14
ReporterAlan Scott 
Assigned ToSebastien Jourdain 
PriorityhighSeverityminorReproducibilityhave not tried
StatusclosedResolutionfixed 
PlatformOSOS Version
Product Versiongit-master 
Target VersionFixed in Version3.98.0 
Summary0013586: Bad rendering, multiple remote servers
DescriptionThere is a visual artifact that has appeared in ParaView, multiple server. Replicate as follows:

* Master, 8 servers, Linux. Utkarsh has replicated this with 3 servers.
* Set remote rendering threshold to 0 (always remote render.)
* Sources/ Wavelet. Whole extent as follows:
-100, 10
-10, 10
-10, 10
* Reset.
* +Z
<<The bug appears as a few niches out of the block, top and bottom.>>
* To see the bug better, zoom in and roll the block around. I am rotating around the X axis.

I will attach a screenshot.

Must be fixed for 4.0.
TagsNo tags attached.
ProjectSandia
Topic Name13469_fix_cube_axes_parallel_rendering
Typeincorrect functionality
Attached Filespng file icon waveletRenderBug.png [^] (190,840 bytes) 2012-10-29 15:40

 Relationships

  Notes
(0029598)
Sebastien Jourdain (manager)
2012-10-30 13:25

commit a69ccb68ff7c4badb4d246492bc2768992680188
Author: Sebastien Jourdain <sebastien.jourdain@kitware.com>
Date: Tue Oct 30 09:03:18 2012 -0400

    Fix bug 13586 in IceT compositing
    
    Change-Id: I883d1531299642bc4ce06419b8827d1edf24bc3c

diff --git a/ParaViewCore/VTKExtensions/Rendering/vtkIceTCompositePass.cxx b/ParaViewCore/VTKExtensions/Rendering/vtkIceTCompositePass.cxx
index ed5a409..76016ae 100644
--- a/ParaViewCore/VTKExtensions/Rendering/vtkIceTCompositePass.cxx
+++ b/ParaViewCore/VTKExtensions/Rendering/vtkIceTCompositePass.cxx
@@ -59,11 +59,8 @@ namespace
   void MergeCubeAxesBounds(double bounds[6], const vtkRenderState* rState)
     {
     vtkBoundingBox bbox(bounds);
- // scale the bounds a bit so that when showing a box we don't end up with
- // clipped edges e.g. when a Mandelbrot source was shown with parallel
- // rendering, the front edges would appear clipped in outline mode.
- bbox.Scale(1.1, 1.1, 1.1);
 
+ // Hande CubeAxes specifically has it wrongly implement the GetBounds()
     for (int cc=0; cc < rState->GetPropArrayCount(); cc++)
       {
       vtkProp* prop = rState->GetPropArray()[cc];
@@ -71,13 +68,11 @@ namespace
       if (cubeAxes != NULL && prop->GetVisibility() &&
         prop->GetUseBounds())
         {
- // cubeAxes has not clean API to give us the bounds it's using. So, we
- // use a heuristic instead. Simply scale the data bounds by 1.5 and we
- // call it 'even'.
- bbox.Scale(1.5, 1.5, 1.5);
- break;
+ // Use custom bounds API for cube axes to embed titles and labels
+ bbox.AddBounds(cubeAxes->GetRenderedBounds());
         }
       }
+
     bbox.GetBounds(bounds);
     }
 };
diff --git a/VTK b/VTK
index ff48698..907a59e 160000
--- a/VTK
+++ b/VTK
@@ -1 +1 @@
-Subproject commit ff4869841ec6016a5f8a73dc9b9703bc419c7b2f
+Subproject commit 907a59e775a94c951c38785821167009ab440cfc
(0029602)
Sebastien Jourdain (manager)
2012-10-30 13:48

This issue was introduced when we scaled up by 1.1 the bounds of the actors to hopefully embed the cubeaxes labels.

Unfortunately, by doing so, each partition used within IceT would receive none matching range which will trick IceT to do invalid compositing.

Which is not the case when we inflate the bounds of only the cube axes. As the cube axes endup on all iceT partitions with exactly the same bounds...
(0029616)
Utkarsh Ayachit (administrator)
2012-10-31 10:47

merged into master, if applicable.
(0029637)
Alan Scott (manager)
2012-10-31 20:14

Tested with directions below. Linux, 8 remote servers, master.

 Issue History
Date Modified Username Field Change
2012-10-29 15:37 Alan Scott New Issue
2012-10-29 15:40 Alan Scott File Added: waveletRenderBug.png
2012-10-29 15:41 Utkarsh Ayachit Assigned To => Sebastien Jourdain
2012-10-30 09:04 Sebastien Jourdain Topic Name => 13469_fix_cube_axes_parallel_rendering
2012-10-30 09:04 Sebastien Jourdain Status backlog => gatekeeper review
2012-10-30 09:04 Sebastien Jourdain Resolution open => fixed
2012-10-30 13:25 Sebastien Jourdain Note Added: 0029598
2012-10-30 13:48 Sebastien Jourdain Note Added: 0029602
2012-10-31 10:46 Utkarsh Ayachit Fixed in Version => 3.98.0
2012-10-31 10:47 Utkarsh Ayachit Status gatekeeper review => customer review
2012-10-31 10:47 Utkarsh Ayachit Note Added: 0029616
2012-10-31 20:14 Alan Scott Note Added: 0029637
2012-10-31 20:14 Alan Scott Status customer review => closed


Copyright © 2000 - 2018 MantisBT Team