[vtkusers] Problem with picking on windows?

David Duke D.Duke at bath.ac.uk
Thu May 2 07:06:44 EDT 2002


I've been having a problem using picking via the pick operation provided 
by vtkRenderWindowInteractor.  I'm running 4.1.1, the nightly release 
from April 23.

Attached is a small Tcl script that illustrates the problem.  It sets up 
a white sphere in a window with an interactor, and when the pick event 
is completed, it is supposed to position a small red sphere at the 
selected point.

Under Linux (Redhat 7.2), this works absolutely fine.
Under Windows (XP), nothing happens on the 'p' key press.

I may be missing something obvious, but I'd be grateful if someone could 
have a look at the script and either see if they can reproduce the 
problem or let me know what I've overlooked.

	thanks,
	David


-- 
Dr. David Duke                        Email: D.Duke at bath.ac.uk
Department of Computer Science        Web:   www.bath.ac.uk/~masdad/
University of Bath                    Tel:   +44 1225 323 407
Bath, BA2 7AY U.K.                    Fax:   +44 1225 323 493
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: pick.tcl
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20020502/664b892b/attachment.asc>


More information about the vtkusers mailing list