[vtk-developers] [VTK 0014028]: Functionnality break in handling transparency of vtkContextItem vtkContextActor vtkContext2D

Mantis Bug Tracker mantis at public.kitware.com
Mon Apr 22 07:02:12 EDT 2013


The following issue has been SUBMITTED. 
====================================================================== 
http://www.vtk.org/Bug/view.php?id=14028 
====================================================================== 
Reported By:                nizar sallem
Assigned To:                
====================================================================== 
Project:                    VTK
Issue ID:                   14028
Category:                   (No Category)
Reproducibility:            have not tried
Severity:                   minor
Priority:                   urgent
Status:                     backlog
Project:                    Kitware 
Type:                       incorrect functionality 
Resolution:                 open
Fixed in Version:           
====================================================================== 
Date Submitted:             2013-04-22 07:02 EDT
Last Modified:              2013-04-22 07:02 EDT
====================================================================== 
Summary:                    Functionnality break in handling transparency of
vtkContextItem vtkContextActor vtkContext2D
Description: 
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 
====================================================================== 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2013-04-22 07:02 nizar sallem   New Issue                                    
2013-04-22 07:02 nizar sallem   File Added: image_viewer_overlay.tgz            
       
======================================================================




More information about the vtk-developers mailing list