[vtkusers] Problem when displaying more than one transparent object
Thomas Obenaus
thomaso at eas.iis.fraunhofer.de
Thu Apr 16 03:12:58 EDT 2009
Oh thank you, that is the solution for my problem.
But I have to add that I get some flickering if the transparent objects
intersect each other. That is caused by the fact that the
vtkDepthSortPolyData filter uses SetDepthSortModeToFirstPoint by default.
This may be the fastest one but in my application I get better results (no
flickering) when I use SetDepthSortModeToBoundsCenter.
Regards,
Thomas.
--
Dipl.-Medieninf. Thomas Obenaus
Fraunhofer-Institut fuer Integrierte Schaltungen
Institutsteil Entwurfsautomatisierung
Zeunerstr. 38
D-01069 Dresden
Francois Bertel wrote:
>
> Hi,
>
> As this is a recurrent question. I just added an entry in the VTK FAQ:
> http://www.vtk.org/Wiki/VTK_FAQ#How_to_display_transparent_objects.3F
>
> Regards.
>
>
> On Wed, Apr 15, 2009 at 2:50 AM, Thomas Obenaus
> <thomaso at eas.iis.fraunhofer.de> wrote:
>>
>> Hello,
>>
>> please help me. I don't know whats the reason for this behavior. What I'm
>> doing wrong?
>>
>> Thanks.
>>
>>
>> Thomas Obenaus wrote:
>>>
>>> Hello,
>>>
>>> I get a strange result when displaying more than one object that is not
>>> fully opaque (see images attaced). For the viewer it seems that the
>>> ordering of the objects is wrong (in transparency-mode). Is this a bug
>>> or do I have to make something special to enable a correct ordering of
>>> the transparent objects?
>>>
>>> Thanks in advance,
>>> Thomas.
>>>
>>> --
>>> Dipl.-Medieninf. Thomas Obenaus
>>>
>>> Fraunhofer-Institut fuer Integrierte Schaltungen
>>> Institutsteil Entwurfsautomatisierung
>>> Zeunerstr. 38
>>> D-01069 Dresden
>>>
>>>
>>>
>>>
>>> _______________________________________________
>>> Powered by www.kitware.com
>>>
>>> Visit other Kitware open-source projects at
>>> http://www.kitware.com/opensource/opensource.html
>>>
>>> Please keep messages on-topic and check the VTK FAQ at:
>>> http://www.vtk.org/Wiki/VTK_FAQ
>>>
>>> Follow this link to subscribe/unsubscribe:
>>> http://www.vtk.org/mailman/listinfo/vtkusers
>>>
>>>
>>
>> --
>> View this message in context:
>> http://www.nabble.com/Problem-when-displaying-more-than-one-transparent-object-tp22949201p23053510.html
>> Sent from the VTK - Users mailing list archive at Nabble.com.
>>
>> _______________________________________________
>> Powered by www.kitware.com
>>
>> Visit other Kitware open-source projects at
>> http://www.kitware.com/opensource/opensource.html
>>
>> Please keep messages on-topic and check the VTK FAQ at:
>> http://www.vtk.org/Wiki/VTK_FAQ
>>
>> Follow this link to subscribe/unsubscribe:
>> http://www.vtk.org/mailman/listinfo/vtkusers
>>
>
>
>
> --
> François Bertel, PhD | Kitware Inc. Suite 204
> 1 (518) 371 3971 x113 | 28 Corporate Drive
> | Clifton Park NY 12065, USA
> _______________________________________________
> Powered by www.kitware.com
>
> Visit other Kitware open-source projects at
> http://www.kitware.com/opensource/opensource.html
>
> Please keep messages on-topic and check the VTK FAQ at:
> http://www.vtk.org/Wiki/VTK_FAQ
>
> Follow this link to subscribe/unsubscribe:
> http://www.vtk.org/mailman/listinfo/vtkusers
>
>
--
View this message in context: http://www.nabble.com/Problem-when-displaying-more-than-one-transparent-object-tp22949201p23072681.html
Sent from the VTK - Users mailing list archive at Nabble.com.
More information about the vtkusers
mailing list