View Issue Details Jump to Notes ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0010487VTK(No Category)public2010-03-30 09:272016-08-12 09:55
ReporterEric Monson 
Assigned ToJeff Baumes 
PrioritynormalSeverityminorReproducibilityalways
StatusclosedResolutionmoved 
PlatformMac & LinuxOS10.6 & Ubuntu 9.10OS Version
Product Version 
Target VersionFixed in Version 
Summary0010487: Hardware Selector gives unreliable results with textured polygons
DescriptionI was creating a vtkIcicleView with textured polygons, but started to see weird selection behavior depending on the texture image I was using.

Finally I figured out that the Hardware Selector reports inconsistent cell IDs when the texture image is too dark. With white around the periphery (on my Mac with Cocoa and CVS VTK it only needs to be a one-pixel white border) the selector works fine. As the image gets darker it starts to report erroneous IDs. When the image is too dark it can't "see" any polys at all.
Steps To ReproduceI'm attaching a zip file which contains a Python script and four PNG images to show the effect. This was the simplest example I could come up with to reproduce the problem using "off the shelf" VTK.

You need to set the path for the images and VTK source in the script, and then uncomment which image you want to use for the test. Then, you click on the rectangles of the icicle view (not really using vtkIcicleView here, just a pipeline and a vtkRenderView) and look at the terminal for a printout of the cell IDs that the hardware selector reports.

The comments at the beginning of the script summarize what you should see:

# IDs in tree should be (and are reported with Good image as):
#
# 0 0 0 0 0 0 0 0 0
# 1 2 3 4 4 4 8 9 10
# 5 6 7

# Unreliable reports them as:
#
# 0 0 0 0 0 0 0 0 0
# 0 1 2 3 3 3 6 6 7
# 3 4 5

# Bad can't see any nodes to select at all
TagsNo tags attached.
Project
Type
Attached Fileszip file icon HardwareSelectorTest.zip [^] (28,756 bytes) 2010-03-30 09:27

 Relationships

  Notes
(0037157)
Kitware Robot (administrator)
2016-08-12 09:55

Resolving issue as `moved`.

This issue tracker is no longer used. Further discussion of this issue may take place in the current VTK Issues page linked in the banner at the top of this page.

 Issue History
Date Modified Username Field Change
2010-03-30 09:27 Eric Monson New Issue
2010-03-30 09:27 Eric Monson File Added: HardwareSelectorTest.zip
2010-03-30 10:19 Jeff Baumes Status backlog => tabled
2010-03-30 10:19 Jeff Baumes Assigned To => Jeff Baumes
2011-06-16 13:11 Zack Galbreath Category => (No Category)
2016-08-12 09:55 Kitware Robot Note Added: 0037157
2016-08-12 09:55 Kitware Robot Status expired => closed
2016-08-12 09:55 Kitware Robot Resolution open => moved


Copyright © 2000 - 2018 MantisBT Team