[vtk-developers] Actor's Transparency using vtkDepthSortPolyData is affecting on speed

Rashid Tanweer quantum_cook at yahoo.com
Sun Apr 24 13:35:04 EDT 2011

Thanks for this. I have tried it. It is not giving good results on the sphere's 
example. Also somehow this depth peeling is not working at all on my mesh. I ran 
into some more problems using the vtkDepthSortPolyData if used for multiple 
polydata seperately. It seems that this apporach works only when we have a 
single actor. While my requirement is that i want to be able to change 
transparency multiple actors at will also. If i do not append them the result is 
not fine and it seems that there are some angles at which the back back actors 
are rendering in front. My problem is described earlier as well: 


and it seems that no body actually took it seriously and it has become 
alimitation in VTK.

Can some one please help me out here ? 

If it is not possible in VTK, can any one please suggest, should i not use VTK 
and instead use any other graphics library like OSG etc. ?


From: Will Schroeder <will.schroeder at kitware.com>
To: Rashid Tanweer <quantum_cook at yahoo.com>
Cc: vtk-developers at vtk.org
Sent: Sat, April 23, 2011 7:04:23 PM
Subject: Re: [vtk-developers] Actor's Transparency using vtkDepthSortPolyData is 
affecting on speed

Check into depth peeling http://www.itk.org/Wiki/VTK/Depth_Peeling


On Sat, Apr 23, 2011 at 9:55 AM, Rashid Tanweer <quantum_cook at yahoo.com> wrote:

>I have some 3 - 4 of actors in my application, i needed to sort them so i can 
>adjust their transparency levels at run time. But when i introduced 
>vtkDepthSortPolyData it slows down the application interaction a bit. Can anyone 
>please let me know that if there's a work around for such behavior. Can it be 
>made faster. I want to keep different actors so that i can adjust transparency 
>of each of them individually at run time.
>Powered by www.kitware.com
>Visit other Kitware open-source projects at 
>Follow this link to subscribe/unsubscribe:

William J. Schroeder, PhD
Kitware, Inc.
28 Corporate Drive
Clifton Park, NY 12065
will.schroeder at kitware.com
(518) 881-4902
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/vtk-developers/attachments/20110424/f4f50525/attachment.html>

More information about the vtk-developers mailing list