[vtkusers] vtkPropPicker not picking
Jorrit Schaap
jorrit at lkeb.azl.nl
Tue Aug 8 04:20:46 EDT 2000
Hi Edi, Will,
I experience hardware picking problems as well. I use an SGI 320 running WinNT, videodriver version 4.1.4, vtk version 3.1.2, vtk source $Revision: 1.539 $, $Date: 2000/06/11
Is there any way to turn off hardware picking until it is fixed?
Or what seems to be the problem? Can I conribute in the debugging?
Greetings, Jorrit
Will Schroeder wrote:
> Hi Edi-
>
> There is a potential problem to be aware of. That is, some PC boards
> do not support hardware OpenGL picking. (This is true of my Erasor X
> board, for example.) It seems that many of these commodity boards
> test by running Quake or Doom, and if they work the board is shipped.
>
> Anyway, what kind of board do you have, what system, etc?
>
> Will
>
> At 07:11 PM 8/6/00 +0300, Edi wrote:
> >
> >
> > I'm trying to pick a 2D actor using a vtkPropPicker, using the "standard" code . Aldo the rendere used for picking has a BIG scalar bar and a sphere, the picker returns always nothing.
> > I tried also the tcl examples containing vtkPropPicker , and also there, it seems like the picker doesn't work.
> >
> > Is there anything left or something that must be initialised ? Is there any other solution ?
> >
> >Thank you in advance
> >
> >Edi
> >
> >
> >
> >
> >
> >vtkPropPicker *picker = vtkPropPicker::New();
> >
> >
> >for ( int i = 0 ; i < 300 ; i++ ) // trying everywhere in the window
> > for ( int j = 0 ; j < 300 ; j++ ) {
> >
> > picker->PickProp( i, j, map->GetRenderer() );
> >
> > if ( picker->GetPath() != NULL )
> > Caption = "Path" ;
> >
> > if ( picker->GetProp3D() != NULL )
> > Caption = "Prop" ;
> >
> > if ( picker->GetActor() != NULL )
> > Caption = "Actor" ;
> >
> > if ( picker->GetActor2D() != NULL )
> > Caption = "Actor2D" ;
> >
> > if ( picker->GetPropAssembly() != NULL )
> > Caption = "Assembly" ;
> >
> >
> >
> > }
> >
> >
> >
> >
>
> _______________________________________________
> 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