MantisBT - VTK
View Issue Details
0014028VTK(No Category)public2013-04-22 07:022016-08-12 09:55
nizar sallem 
Marcus D. Hanwell 
urgentminorhave not tried
closedmoved 
5.10.1 
 
Kitware
incorrect functionality
0014028: Functionnality break in handling transparency of vtkContextItem vtkContextActor vtkContext2D
Hi,

In PCL (www.pointclouds.org), we have several structures that inherit from vtkContextItem that we add to the scene per user request (circle, rectangle, image...) using a vtkContextActor through:
vtkSmartPointer<vtkContextActor> new_actor = vtkSmartPointer<vtkContextActor>::New ();
new_actor->GetScene ()->AddItem (some_item);

They used to work perfectly with vtk-5.8 with a transparent actor and only the shape opaque. Without changing any code in our side but just building against vtk-5.10.1 the transparency is not there anymore, there is black shade and the shape drawn upon it.

I am attaching screen shots of the visual result with both vtk-5.8 and vtk-5.10 so that you can notice the difference yourself. Results were obtained on a ubuntu precise I have no clue on how this can be fixed from our side or yours but I would appreciate your help to get back 5.8 results.


Cheers,
--
Nizar
No tags attached.
tgz image_viewer_overlay.tgz (1,573,365) 2013-04-22 07:02
https://www.vtk.org/Bug/file/9436/image_viewer_overlay.tgz
Issue History
2013-04-22 07:02nizar sallemNew Issue
2013-04-22 07:02nizar sallemFile Added: image_viewer_overlay.tgz
2013-05-03 10:54Marcus D. HanwellAssigned To => Marcus D. Hanwell
2013-05-03 10:54Marcus D. HanwellStatusbacklog => tabled
2013-05-03 10:57Marcus D. HanwellNote Added: 0030687
2013-07-22 20:02Dave DeMarleStatustabled => backlog
2013-07-22 20:02Dave DeMarleNote Added: 0031236
2016-07-06 13:13Marcus D. HanwellStatusbacklog => expired
2016-07-06 13:13Marcus D. HanwellResolutionopen => unable to reproduce
2016-08-12 09:55Kitware RobotNote Added: 0037300
2016-08-12 09:55Kitware RobotStatusexpired => closed
2016-08-12 09:55Kitware RobotResolutionunable to reproduce => moved

Notes
(0030687)
Marcus D. Hanwell   
2013-05-03 10:57   
We have a test in VTK which overlays a 2D chart on a 3D scene (with the scene showing through), please see http://vtk.org/gitweb?p=VTKData.git;a=blob;f=Baseline/Charts/TestChartsOn3D.png [^] for the baseline image. If you could point me at the code in the PCL repository I can take a look and see why it might be breaking, but a normal scene only draws elements such as circles in the overlay pass (so transparency shouldn't even be necessary). The images you attached look like they have some nearly opaque background drawn over the entire scene.
(0031236)
Dave DeMarle   
2013-07-22 20:02   
moving all "tabled" bugs into "backlog" category since "tabled" is no longer used.
(0037300)
Kitware Robot   
2016-08-12 09:55   
Resolving issue as `moved`.

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