[vtkusers] Overlaping view props in a rendered

Sarah Macumber S.Macumber at QuestReliability.com
Fri Aug 1 14:04:06 EDT 2008


Hi Gerrick, thanks but I don't think that is exactly what I am after as my data exactly overlaps.
 
I have a vtkUnstructuredGrid of which I select a portion of and create a new vtkUnstructuredGrid from.  Thus I have the original grid and then a second subsampled grid.  I want to draw the original grid with the selected grid on top so the cells will actually overlap exactly but each grid has a different lut so you can see the selected portion.  
 
Thanks Sarah

________________________________

From: vtkusers-bounces at vtk.org on behalf of Gerrick Bivins
Sent: Thu 7/31/2008 5:13 PM
To: Sarah Macumber; VTK-users
Subject: Re: [vtkusers] Overlaping view props in a rendered



Hey Sarah,
vtkDepthSortPolyData may be of interest to you.

http://www.vtk.org/doc/nightly/html/classvtkDepthSortPolyData.html
(I think it's in vtk 5.2 as well)

I recently had transparency issues and had to use it ( eventually used depth
peeling instead because it worked better).

Gerrick


On 7/31/08 5:02 PM, "Sarah Macumber" <S.Macumber at QuestReliability.com>
wrote:

> Here is a quick question I couldn't answer by googling ...
> 
> Is there any way to change the draw order of props / actors in a renderer.
> Something like vtkProperty2D's  SetDisplayLocationToBackground() but more
> generic for those things that only have a vtkProperty?  The only thing I can
> find to do is place my objects in the scene in the correct order but that
> doesn't always work for me and I want the ability to change their draw order /
> z buffer later.
> 
> Cheers,
> Sarah
> _______________________________________________
> 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

_______________________________________________
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