Re: [JAVA3D] Odd picking problem

2000-09-07 Thread Glenn Rowe
I had the mode set to GEOMETRY and each object had its own Appearance and Material objects, so they weren't the problem. I've since done a bit more fiddling with the program, and it seems that if I use the pickAllSorted() method from PickTool, rather than just pickAll(), the problem disappears. If

Re: [JAVA3D] Odd picking problem

2000-09-07 Thread Epelman Boris
Two possible reasons: 1) Do you use USE_BOUNDS or USE_GEOMETRY pickMode? Try using USE_GEOMETRY, it will give you better presission in piking. 2) Do you use the same appearance (or Material, or Coloring attributes) for diffrent objects? In that case if you change values inside one of

[JAVA3D] Odd picking problem

2000-09-06 Thread Glenn Rowe
I've been experimenting with picking and have come across some odd behaviour - just wondering if anyone else has found something similar. Basically, I've defined a picking behaviour class that selects a list of all objects along a ray from the mouse position, and changes the diffuse colour of all