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

Karthik Krishnan karthik.krishnan at kitware.com
Sun Apr 24 14:29:13 EDT 2011


Depth Peeling requires a card that supports certain extensions or will
(silently) fail. You can check if your previous render used depth
peeling using the GetLastRenderUseDepthPeeling method.

--
karthik

On 4/24/11, Rashid Tanweer <quantum_cook at yahoo.com> wrote:
>
>
> Hi,
> 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:
>
>
> http://web.archiveorange.com/archive/v/50zHjhYJgSkxBwf76Uk5
>
> 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. ?
>
> Regards,
> Rashid
>
>
>
>
> ________________________________
> 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
>
>
> http://www.vtk.org/Wiki/VTK/Examples/Cxx/Visualization/CorrectlyRenderingTranslucentGeometry
>
>
>
>
>
> On Sat, Apr 23, 2011 at 9:55 AM, Rashid Tanweer <quantum_cook at yahoo.com>
> wrote:
>
> Hi,
>>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.
>>
>>Regards,
>>Rashid
>>
>>_______________________________________________
>>Powered by www.kitware.com
>>
>>Visit other Kitware open-source projects at
>>http://www.kitware.com/opensource/opensource.html
>>
>>Follow this link to subscribe/unsubscribe:
>>http://www.vtk.org/mailman/listinfo/vtk-developers
>>
>>
>>
>
>
> --
> William J. Schroeder, PhD
> Kitware, Inc.
> 28 Corporate Drive
> Clifton Park, NY 12065
> will.schroeder at kitware.com
> http://www.kitware.com
> (518) 881-4902
>



More information about the vtk-developers mailing list