Not to worry guys I have found out what the problem was and for future ref I have included my solution in brief!
The early versions of the pick tool routine looked like this:- pickCanvas.setMode(PickTool.GEOMETRY_INTERSECT_INFO); pickCanvas.setTolerance(0.0f); pickCanvas.setShapeLocation(xpos, ypos); pickResult = pickCanvas.pickClosest(); The changes made now make the start of the routine look like this:- pickCanvas.setMode(PickTool.GEOMETRY_INTERSECT_INFO); pickCanvas.setTolerance(4.0f); pickCanvas.setShapeLocation(xPos, yPos); PickResult[] results = null; results = pickCanvas.pickAll(); Things that made a diffrence was the pickAll() and the tolerance of (4.0f) C YA Phil Colbert :) >===== Original Message From Discussion list for Java 3D API <[EMAIL PROTECTED]> ===== >Justin > >A week or so ago I sent a mail to this news group about a problem I was >getting when loading a VRML shape and when I was picking it to query the Local >coordinates I was getting unexpected results in that I should have been >getting clicks in the range 1.6 to 0.0 instead I was getting 0.8 to -0.8! I >noted your response so decided to investigate it a bit more to see if I could >understand what was happening. I built another smaller application that just >had the displaying of the VRML shape and a pick behavior on it to query the >local coords. I am still getting the same problems! When I insert a basic >shape created from my own geometry I have no problems which lets me think it >is not my pick routine. > >You mentioned that if I sent a test file etc you would look at it is the offer >still open? If so I can mail you a zip file with the Java files and VRML file >you will need to test it with. > >Yours Phil Colbert :) > > >>===== Original Message From Discussion list for Java 3D API ><[EMAIL PROTECTED]> ===== >>Philip J Colbert wrote: >> >>> In the VRML model we are using the to allow for some interaction we grab >the >>> local points that basically fall in the range 0.3 to -0.3 but when the >model >>> is loaded into a Java Scene the local coordinate points are not in the same >>> range! They are approx about half the value! >> >>That sounds odd, but I'm not sure how you are reading the information >>back to confirm this. Can you send me a test file and app to show this? >> >>-- >>Justin Couch http://www.vlc.com.au/~justin/ >>Java Architect & Bit Twiddler http://www.yumetech.com/ >>Author, Java 3D FAQ Maintainer http://www.j3d.org/ >>------------------------------------------------------------------- >>"Humanism is dead. Animals think, feel; so do machines now. >>Neither man nor woman is the measure of all things. Every organism >>processes data according to its domain, its environment; you, with >>all your brains, would be useless in a mouse's universe..." >> - Greg Bear, Slant >>------------------------------------------------------------------- >> >>=========================================================================== >>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". > >Philip J Colbert >Software Engineer >RCID, Bruce Building >University of Newcastle Upon Tyne >NE1 7RU >Phone 0191-2225306 >Fax 0191-2225833 >This e-mail, including any attached files, may contain confidential and privileged information for the sole use of the intended recipient(s). If you are not the intended recipient, please note that any circulation or copying of this e-mail is strictly prohibited. If you have received this e-mail in error please contact the sender by reply e-mail and delete all copies of this message. > >The RCID makes every effort to ensure that this e-mail and any attachments are sent virus free. However it is the responsibility of the recipient to perform any checks they deem necessary. > >=========================================================================== >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". Philip J Colbert Software Engineer RCID, Bruce Building University of Newcastle Upon Tyne NE1 7RU Phone 0191-2225306 Fax 0191-2225833 This e-mail, including any attached files, may contain confidential and privileged information for the sole use of the intended recipient(s). If you are not the intended recipient, please note that any circulation or copying of this e-mail is strictly prohibited. If you have received this e-mail in error please contact the sender by reply e-mail and delete all copies of this message. The RCID makes every effort to ensure that this e-mail and any attachments are sent virus free. However it is the responsibility of the recipient to perform any checks they deem necessary. =========================================================================== 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".