[vtkusers] Textured IcicleView & Hardware Selector

Jeff Baumes jeff.baumes at kitware.com
Mon Mar 29 15:03:50 EDT 2010


This sounds like a bug in the hardware selector. Can you create a bug
report with a simple test case attached to reproduce?

Thanks,
Jeff

On Mon, Mar 29, 2010 at 9:44 AM, Eric E. Monson <emonson at cs.duke.edu> wrote:
> Hello,
>
> Last week I worked up a modified version of the Icicle View which displays a texture image over the polygons. I thought I was doing something wrong because selections would sometimes highlight the correct tree elements, and sometimes not, in a seemingly random way, and depending on the texture image I used.
>
> After a week of bashing my head against it, I finally figured out that since the vtkRenderView classes use the hardware selector I was getting unreliable results when the image I was using as a texture was too dark. As long as I have at least a small band of white all around the perimeter of my image the selector returns the correct cell IDs, and if not, then I get unpredictable results.
>
> Is this the expected behavior? The doxygen for vtkHardwareSelector mentions invalid results when using anti-aliasing, but should it also mention potential problems with textured PolyData? Or, is there something I could do to get reliable results with textured polydata? I'm too ignorant of the OpenGL inner workings to understand why this is happening or how to get around it.
>
> Thanks for the help,
> -Eric
>
> ------------------------------------------------------
> Eric E Monson
> Duke Visualization Technology Group
>
>
> _______________________________________________
> 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
>



More information about the vtkusers mailing list