[vtkusers] actor always visible even when behind other actor
Naim
naim at electromagneticworks.com
Fri Feb 2 10:31:47 EST 2007
Hi Roel,
Try to use 2 layers.
Naim Himrane
Electromagneticworks Inc.
-----Original Message-----
From: vtkusers-bounces+naim=electromagneticworks.com at vtk.org
[mailto:vtkusers-bounces+naim=electromagneticworks.com at vtk.org] On Behalf Of
Roel van der Kraan
Sent: February 2, 2007 8:37 AM
To: vtkusers at vtk.org
Subject: [vtkusers] actor always visible even when behind other actor
Dear all,
I have a VTK scene with 2 actors. one is an iso surface and the other
actor is an object that is interactivly placed on the iso surface by
moving the mouse around. I map the mouselocation onto the iso surface to
get the the x, y, z of the object. But, sometimes parts of the object
disappear behind the surface, because it intersects with the surface. I
want the second actor always on top, so it has to be visible all the time,
even when it is located 'behind' the iso surface.
Is there some way to disable the depth-buffer for one actor while
rendering? The actor really needs to be placed on the x, y, z of the
isosurface (for perspective reasons), so moving it slightly towards the
camera position is not acceptable.
Thanks!
Roel van der Kraan
_______________________________________________
This is the private VTK discussion list.
Please keep messages on-topic. Check the FAQ at:
http://www.vtk.org/Wiki/VTK_FAQ
Follow this link to subscribe/unsubscribe:
http://www.vtk.org/mailman/listinfo/vtkusers
More information about the vtkusers
mailing list