I had a similar issue - I was trying to pick spheres, and for whatever reason nearby neighbors would end up being selected - even though I had set the bounds of the spheres to be BoundingSpheres with the correct radii. I got around it by simply picking by geometry instead of bounds. Suprisingly enough, I didn't notice a significant speed penalty when doing this. If your scene doesn't contain a great deal of objects, this might work for you.
--russell ----- Original Message ----- From: "Anett Berger" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Sunday, June 23, 2002 11:52 PM Subject: [JAVA3D] picking the wrong object > Hi, > > I've got the following problem: > > I have a scene with several objects (extends Shape3D). These objects shall > be picked. I did pickBehaviour.setTolerance(0.0f). > But there's still the problem that I can't pick the correct object each > time. I.e. the result of the picking is very often an object nearby the wanted, > even there's no object before or behind the selected one. > > Could anyone give me a hint or is this a problem in general? > > Thanks, Netti > > -- > GMX - Die Kommunikationsplattform im Internet. > http://www.gmx.net > > =========================================================================== > 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". > =========================================================================== 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".
