Hi everybody i had my application running fine under j3d1.2 but when i run
it as applet in solaris i can see that picking fails.
  I m trying to update those deprecated (1.1.3-1.2) methods for test a
compare if it is the problem.it can be ?

i had a behavior extending behaviors.picking.PickMouseBehavior, now
im trying to update to picking.behaviors.PickMouseBehavior but i find little
problems, can anyone tell me how can this method be updated to 1.2,
PickScene doesnt exist anymore. And which capabilities should  change (im
just trying to pick spheres).

public void updateScene(int xPos, int yPos)
        {
           Vector kids;
           int k;

                //path to current clicked shape
                SceneGraphPath sgPath;
                //clicked shape
                Shape3D shape;

                //get path
                sgPath = pickScene.pickClosest(xPos, yPos);

                if (sgPath == null)
                {
                //no path there

                return;
                }
                //get shape
                shape = (Shape3D) pickScene.pickNode(sgPath, PickObject.SHAPE3D);
                ....
        }

thanx so much
________________________________________________________________________
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com

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

Reply via email to