Hi Chris,
instead of
com.sun.j3d.utils.behaviors.picking.Intersect
you will find the desired stuff under
com.sun.j3d.utils.picking.PickIntersection
Read the instructions under com.sun.j3d.utils.picking, especially under
com.sun.j3d.utils.picking.PickTool !!
This can be fiund under com.sun.j3d.utils.picking.PickCanvas:
****************************************************
The pick canvas can be used to make a series of picks. For example, to
initialize the pick canvas:
PickCanvas pickCanvas = new PickCanvas(canvas, scene);
pickCanvas.setMode(PickTool.GEOMETRY_INTERSECT_INFO);
pickCanvas.setTolerance(4.0f);
Then for each mouse event:
pickCanvas.setShapeLocation(mouseEvent);
PickResult[] results = pickCanvas.pickAll();
****************************************************
See the docs for setMode and setTolerance, there is also an example in the
java3d demos:
demo\java3d\PickTest
hopethishelps
-Juergen.
Wyss Christian schrieb:
> Class Intersect not needed anymore, no replacement - and how do I test
> for intersections now..?
>
> Can anyone help me, please ?
>
> Thanks a lot,
> Chris
>
> ===========================================================================
> 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".