Kent Miller (blastarr++at++ix.netcom.com)
Tue, 14 Mar 1995 18:18:27 -0800
px and py need to be normalized (0.0 to 1.0). pfuMapMouseToChan() which
is
used to update the mouse xchan/ychan creates values between -1.0 and
1.0.
Try using pfuCalcNormalizedChanXY() to create normalized screen
coordinates
(0.0 to 1.0) using the mouse xpos/ypos as input args.
-Andy
The "pickfly" code provided w/ Performer has all you need to implement
picking. I've used that code successfully as the basis for picking in
several apps.
---- End Forwarded Message
This archive was generated by hypermail 2.0b2 on Mon Aug 10 1998 - 17:51:04 PDT