Hi-- Has anyone had any trouble using the PickCanvas approach for picking intersection points, as in the PickIntersect demo? I am working on an application in which I load a visual object (either a ColorCube, Primitive, or something from an OBJ file) and then I want to pick a point on the surface. So I am starting with a ColorCube - I load it in and click on it, but for some reason regardless of where on the screen I click and how the cube is facing, the intersection point that it gives me is always within the same very small area on one face of the cube. Similar things occur when I use Primitives.
I am using the IntersectInfoBehavior demo class, which works in the demo, so I don't think the problem is there. I do have a lot of interaction with the View object, allowing the user to pan, zoom, and set the camera view using the compatibility mode enabled, so this could potentially be part of the problem. Does anyone have any ideas as to what might be the cause of this? Can anyone think of a time that the picking mechanism generating from the PickCanvas could be out of synch with what you actually see on the screen? Should I not use PickCanvas, and instead use some other approach? If so, what? Any help would be much appreciated. I have spent a couple of days banging my head on this one. -- ******************************* Richard W. Bragg Stanford Biomotion Lab Durand 061 Stanford, CA 94305-3030 650-723-5793 [EMAIL PROTECTED] ******************************* =========================================================================== To unsubscribe, send email to [EMAIL PROTECTED] and include in the body of the message "signoff JAVA3D-INTEREST". For general help, send email to [EMAIL PROTECTED] and include in the body of the message "help".
