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
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
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 =
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
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
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