[vtkusers] vtkPropPicker not picking
David J. Netherway
djn at elan.mad.adelaide.edu.au
Fri Aug 25 04:21:26 EDT 2000
Hello,
For my NVidea GeForce 256 graphics card vtkPropPicker fails "testPick.tcl"
using the latest driver from NVidia (file name Nt4-618.zip) but is succesful
using the latest driver from ASUS
(ASUS AGP-V7700 Series Driver for Windows NT4.0, file name 533nt4.zip).
The cellPicker stuff mentioned below works now, see the recent thread on cellPicker.
Regards, David
Will Schroeder wrote:
> Hi David-
>
> As I mentioned in a previous note, it appears that several PC boards do not
> support standard OpenGL calls for picking. The native X rendering (i.e., text
> and images not rendered with OpenGL) also does not work.
>
> If you are trying to pick 3D props you can replace the vtkPropPicker
> with a vtkCellPicker, vtkPointPicker, or vtkPicker. But of course that
> leaves out the 2D props.
>
> We are looking into a software only solution (as an alternative) that will
> handle both 3D props and 2D props. If anyone has any ideas please
> let me know. What I'm thinking right now is to implement the GetBounds()
> method for 2D props (which currently returns NULL and should be
> implemented anyway). This bounds can then be used in conjunction
> with a picker to pick 2D props.
>
> Thanks for the feedback.
>
> Will
>
> At 05:53 PM 8/10/00 +0930, David J. Netherway wrote:
> >I accidently sent this to Will directly rather than to the list. Sorry
> >Will. This is the same message now to list.
> >
> >Using last Friday's nightly vtk, pickTest.tcl works at home on my PII
> >WinNT4 PC with a Matrox G400 graphics card,
> >but not on the PIII WinNT4 PC with an NVidia GeForce 256 graphics card
> >at work.
> >
> >Unsuccessful means that neither the text, assembly nor actor get
> >highlighted.
> >
> >Has anyone been successful with pickTest.tcl on the GeForce card? I am
> >trying to locate a working picking template so that I can
> >get my applications that use picking to work again using the latest
> >versions of vtk. For example, the picking in TkInteractor.tcl also does
> >not work on the GeForce card, I am not sure about the Matrox card - will
> >check tonight. The CellPicker being software based should not be
> >affected by the type of graphics card but maybe by other changes going
> >on with regard to the PropPicker.
> >
> >The problem is:
> >vtkCellPicker ActorPicker
> >....
> >ActorPicker Pick $x [expr $WindowY - $y -1] 0.0 $CurrentRenderer
> >[ActorPicker GetAssembly] never returns anything even when the previous
> >line returns a 1 and the cellId is >= 0.
> >
> >Have others found this still functional?
> >
> >Thanks, David
> >
>
> _______________________________________________
> This is the private VTK discussion list.
> Please keep messages on-topic. Check the FAQ at: <http://public.kitware.com/cgi-bin/vtkfaq>
> Follow this link to subscribe/unsubscribe:
> http://public.kitware.com/mailman/listinfo/vtkusers
More information about the vtkusers
mailing list