Re: [JAVA3D] drawAndFlushImage flickering

2005-07-10 Thread John Wright
That's great news Hennie. I'm sure the community would appreciate simplified sample code if you can provide it (I'll host it on my webserver so it isn't lost to the community if you provide it). - John Wright Starfire Research Hennie Kotze wrote: Hello again It gives me great pleasure to

Re: [JAVA3D] Picking Behaviors in Java3D

2005-07-10 Thread Todd L. Peters
John- I still have the problem where it cannot find anything. SceneGraphPath[] path = null; path = mPickGroup.pickAll(ray); path.length is equal to zero. Do I have to set any attributes on the group? On the derived shape3d objects? Can Java3D identify an object derived from

Re: [JAVA3D] Picking Behaviors in Java3D

2005-07-10 Thread John Wright
Todd, You have to set the objects you want to pick as pickable. If they aren't set as pickable they won't trigger a pick. - John Wright Starfire Research Todd L. Peters wrote: John- I still have the problem where it cannot find anything. SceneGraphPath[] path = null; path =

Re: [JAVA3D] Picking Behaviors in Java3D

2005-07-10 Thread Todd L. Peters
Yes, I've done that. I'm including a sample program that is as simple as humanly possible. The two files can be compiled and run. My problems seem to be twofold: #1. Java is not picking the point, or the Shape3D with the point in it. Does something additional need to be defined here, like a

Re: [JAVA3D] Picking Behaviors in Java3D

2005-07-10 Thread Todd L. Peters
I got it now. Apparently a PickRay is virtually impossible to intersect with a point, the answer is to use a larger pickshape. -Todd === To unsubscribe, send email to [EMAIL PROTECTED] and include in the body of the message

Re: [JAVA3D] Picking Behaviors in Java3D

2005-07-10 Thread John Wright
Todd, I'm glad you got it. Yes, a point is extremely hard to intersect with! - John Wright Starfire Research Todd L. Peters wrote: I got it now. Apparently a PickRay is virtually impossible to intersect with a point, the answer is to use a larger pickshape. -Todd