MantisBT - ParaView
View Issue Details
0013264ParaView(No Category)public2012-06-22 16:242016-08-12 09:59
Alan Scott 
Utkarsh Ayachit 
normalminorhave not tried
closedmoved 
3.14 
 
Sandia
incorrect functionality
0013264: pvbatch surface with edges, opacity draws funny in parallel
A user found a bug with python. Basically, when you are showing surface with edges, with a non 1.0 opacity, the surface with edges draws with triangles rather than rectangles. This seems to only happen in parallel. In serial (pvpython), it works fine.

8 pvbatch's, a Linux cluster, 3.14.0.

I am including a python file that shows this, along with two screenshots - good and bad.
No tags attached.
? surface-with-edges-opacity.py (2,039) 2012-06-22 16:24
https://www.vtk.org/Bug/file/9217/surface-with-edges-opacity.py
png good.png (18,530) 2012-06-22 16:25
https://www.vtk.org/Bug/file/9218/good.png
png

png bad.png (50,622) 2012-06-22 16:25
https://www.vtk.org/Bug/file/9219/bad.png
png

patch BUG.13264.patch (8,504) 2013-07-01 16:09
https://www.vtk.org/Bug/file/9474/BUG.13264.patch
Issue History
2012-06-22 16:24Alan ScottNew Issue
2012-06-22 16:24Alan ScottFile Added: surface-with-edges-opacity.py
2012-06-22 16:25Alan ScottFile Added: good.png
2012-06-22 16:25Alan ScottFile Added: bad.png
2013-01-24 23:24Utkarsh AyachitNote Added: 0030245
2013-07-01 14:15Utkarsh AyachitAssigned To => Utkarsh Ayachit
2013-07-01 15:19Utkarsh AyachitNote Added: 0031111
2013-07-01 16:09Utkarsh AyachitNote Edited: 0031111bug_revision_view_page.php?bugnote_id=31111#r624
2013-07-01 16:09Utkarsh AyachitFile Added: BUG.13264.patch
2013-07-01 16:10Utkarsh AyachitNote Edited: 0031111bug_revision_view_page.php?bugnote_id=31111#r625
2016-08-12 09:59Kitware RobotNote Added: 0038232
2016-08-12 09:59Kitware RobotStatusbacklog => closed
2016-08-12 09:59Kitware RobotResolutionopen => moved

Notes
(0030245)
Utkarsh Ayachit   
2013-01-24 23:24   
The reason is that when you turn on translucent rendering in parallel, the geometry is redistributed for ordered compositing (which is needed for good rendering in parallel for translucent data). That redistribution is change the type of cells from quads to triangles.
(0031111)
Utkarsh Ayachit   
2013-07-01 15:19   
(edited on: 2013-07-01 16:10)
Developer notes:

D3 (vtkDistributedDataFilter) is used inside vtkOrderedCompositeDistributor filter. D3 uses vtkBoxClipDataSet to clip the cells. vtkBoxClipDataSet triangulates the cells during clipping and hence the problem.

Attached patch (BUG.13264.patch) adds a mode to vtkDistributedDataFilter to use vtkTableBasedClipDataSet, but that doesn't help since vtkTableBasedClipDataSet is buggy (try loading disk_out-ref.ex2 in parallel).

(0038232)
Kitware Robot   
2016-08-12 09:59   
Resolving issue as `moved`.

This issue tracker is no longer used. Further discussion of this issue may take place in the current ParaView Issues page linked in the banner at the top of this page.