Andreas Bauer wrote: >On Wednesday 29 May 2002 10:17, you wrote: > > >>Hi, >> >>I'm trying to find the intersection point from a mouse pick >>without using the SimpleUniverse classes. Does anybody >>know of such example code. >> >>The code I'm using seems to work so that the x and y >>coordinates are roughly correct, while the z coordinate is >>way off. >> >>Am I doing something wrong, or have I missed something >>fundamental? >> >> > >Look at the doc of com.sun.j3d.utils.picking.PickCanvas. This should do >what you need. >
Yes I do know of the picking utilities, but they all assume (if I haven't missed something) that you use the com.sun.j3d.utils.universe.SimpleUniverse class. I'm doing a program that needs multiple views, something SimpleUniverse does not support. What is so frustrating is that I cannot get the intersection code working without using the com.sun.j3d.utils.picking classes, even though I thought I was doing roughly the same thing. But obviously I'm doing something wrong ... Best Regards, Roger Berggren =========================================================================== 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".
