[vtkusers] Part of an actor invisible, the rest visible
David.Pont at ForestResearch.co.nz
David.Pont at ForestResearch.co.nz
Mon Jun 28 16:52:21 EDT 2004
Baris,
try vtkDepthSortPolyData
Dave P
|---------+----------------------------->
| | Baris Yalcin |
| | <B.Yalcin at dkfz-hei|
| | delberg.de> |
| | Sent by: |
| | vtkusers-bounces at v|
| | tk.org |
| | |
| | |
| | 28/06/2004 23:41 |
| | |
|---------+----------------------------->
>--------------------------------------------------------------------------------------------------------------------------------|
| |
| To: vtkusers at vtk.org |
| cc: |
| Subject: [vtkusers] Part of an actor invisible, the rest visible |
>--------------------------------------------------------------------------------------------------------------------------------|
Hi everyone,
I want to implement that a part of an actor is invisible and the rest
visible.
Example: A chair is an actor. One leg of the chair should be invisible and
the other three legs visible.
To implement this I use the opacity property (transparency) of the lookup
table ( opacity=0.0-->invisible, opacity=1.0 -->visible).
The problem: the transparent part is not really transparent.
Non-transparent
triangles which are occluded by fully transparent triangles are not
rendered
anymore. Instead only the background is visible in these parts of the
visualisation.
Is it possible to organize the rendering process in a way that
non-transparent
triangles are rendered before transparent triangles?
If somebody has any suggestions or ideas, that would be great.
Thanks a lot in advance,
Baris
P.S.: In my case the rendered object is not chair, but a complex structure
(vessel tree). You find as attachement "screenshot_vessel.jpg" which is a
screenshot of the structure where a part of the structure is invisible.
_______________________________________________
This is the private VTK discussion list.
Please keep messages on-topic. Check the FAQ at: <
http://public.kitware.com/cgi-bin/vtkfaq>
Follow this link to subscribe/unsubscribe:
http://www.vtk.org/mailman/listinfo/vtkusers
_
More information about the vtkusers
mailing list