Hi, I experienced a similar problem before, but I used triangles so the exception is "Interp point outside triangle". I had a discussion with Kelvin Chung from Sun. See the post: http://swjscmail1.java.sun.com/cgi-bin/wa?A2=ind0212&L=java3d-interest&P=R18103&D=1&H=0&O=D&T=1&X=3801810F09E3679435&[EMAIL PROTECTED] . He suggested to me it is possibly because of a bug: 4712222 - PickRay computation is not numerically stable, which is fixed in 1.3.1 beta release.
I tried my example with this 1.3.1 beta release, it still gets the same problem, so I guess it's not because of that bug. Actually it's also not bug 4516752. You can see another post: http://swjscmail1.java.sun.com/cgi-bin/wa?A2=ind0210&L=java3d-interest&P=R26967&D=1&H=0&O=D&T=1&X=3801810F09E3679435&[EMAIL PROTECTED] thanks, ---white <[EMAIL PROTECTED]> wrote: >Kevin > >I think the bug number may be > >bug 4516752 > >but not 100% sure > >C YA Phil Colbert :) > > > >>===== Original Message From Discussion list for Java 3D API ><[EMAIL PROTECTED]> ===== >>Dead on, and thats exactly what I've done. From the message I guessed it >>meant that the pick hadn't actually hit so I just pretend its a negative >>response. >> >>However, I could do with the bug number, I'll have another search. >> >>Kev >> >>> Yes! >>> >>> I'm not sure of the report number but I asked this question a while back >>> and was assured it was a known bug, I got round it by placing the >>> offending line inside a try/catch block and it works fine. If I >>> remember correctly it is usually caused in my app by picking a corner or >>> edge of an object! >>> >>> C YA Phil Colbert :) >>> >>> >>>>===== Original Message From Discussion list for Java 3D API >>> <[EMAIL PROTECTED]> ===== >>>>Known bug? >>>> >>>> >>>>java.lang.RuntimeException: Interp point outside quad >>>> at >>>>com.sun.j3d.utils.picking.PickIntersection.getInterpWeights(PickInter >>>> section.java:1473) >>>> at >>>>com.sun.j3d.utils.picking.PickIntersection.getPointCoordinates(PickIn >>>> tersection.java:1115) >>>> at >>>>org.newdawn.pondering.engine.StandardCanvas.getTileAt(StandardCanvas. >>>> java:202) >>>> at >>>>org.newdawn.pondering.builder.ViewFrame$MouseHandler.mouseDragged(Vie >>>> wFrame.java:130) >>>> at >>>> java.awt.Component.processMouseMotionEvent(Component.java:5141) >>>> at java.awt.Component.processEvent(Component.java:4894) >>>> at java.awt.Component.dispatchEventImpl(Component.java:3598) at >>>> java.awt.Component.dispatchEvent(Component.java:3439) >>>> at java.awt.EventQueue.dispatchEvent(EventQueue.java:450) at >>>>java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchTh >>>> read.java:197) >>>> at >>>>java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThre >>>> ad.java:150) >>>> at >>>>java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:144) >>>> >>>> at >>>>java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:136) >>>> >>>> at >>>> java.awt.EventDispatchThread.run(EventDispatchThread.java:99) >>>> >>>>-- >>>>Jose UML - http://www.newdawnsoftware.com/jose >>>>Pondering RPG - http://pondering.newdawnsoftware.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". >>> >>> 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". >> >> >>-- >>Jose UML - http://www.newdawnsoftware.com/jose >>Pondering RPG - http://pondering.newdawnsoftware.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". > >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". =========================================================================== 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".
