[vtkusers] Overlaping view props in a rendered
David Cole
david.cole at kitware.com
Mon Aug 4 13:41:08 EDT 2008
They are not missing. They are static.
Reference them like this:
vtkMapper.SetResolveCoincident......
HTH,
David Cole
On Mon, Aug 4, 2008 at 1:12 PM, Sarah Macumber <
S.Macumber at questreliability.com> wrote:
> Hi David,
>
> That is a great idea except for the fact that none of the
> SetResolveCoincidentTopology( ) functions seem to exist in the Dot Net
> wrapped version of VTK. Those functions exist in the documentation all the
> way back to version 4.0 so I do not know why they don't appear in the
> ActiViz.NET release which wraps 5.2.
>
> Anyone know why these functions are missing?
>
> Sarah
>
> ________________________________
>
> From: Thompson, David C [mailto:dcthomp at sandia.gov]
> Sent: Fri 8/1/2008 8:18 PM
> To: Sarah Macumber; Gerrick Bivins; VTK-users
> Subject: RE: [vtkusers] Overlaping view props in a rendered
>
> > 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.
>
> Hi Sarah,
>
> Take a look at vtkMapper::SetResolveCoincidentTopology(). It uses
> OpenGL's glPolygonOffset() to move the geometry slightly towards
> the camera. It isn't perfect because it takes a couple of parameters
> that aren't always easy to choose appropriately, but it works
> relatively well.
>
> David
>
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20080804/cf2052af/attachment.htm>
More information about the vtkusers
mailing list