hi all!
Does anyone know if there is a possibility to do a transformation at a
PickRay Object?
The problem is that there is no difference between picking at the root
branchgroup or a later attached transformgroup!
As shown in the following source code I do picking from a starting point
to one direction. For getting the picked object I do closest picking at the
root branchgroup. So far everything works fine, but if I rotate the whole
scene (with the MouseRotate behavior)
the transformation doesn�t have an effect at the PickRay Object.
And it is also the same if I do closest picking at a BranchGroup which
is attached under the TransformGroup in which I make the rotation.
Point3d rayOrg = new Point3d(3.0f,0.0f,0.0f);
Vector3d rayDir = new Vector3d(-3.0,0.0,0.0);
rayDir.normalize();
PickRay rayMass = new PickRay(rayOrg,rayDir);
SceneGraphPath foundShape = root.pickClosest(rayMass);
Does anyone know how I can really rotate the whole scene, that means also
with the PickRay object??
thanks daniel!
==========================================================================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".