Re: [JAVA3D] picking problem

2003-11-01 Thread Lewis Walker
] Subject: [JAVA3D] picking problem ok, i'm using picking for collision avoidanceso I have a big room 200x300 meters and I start in the middle of it. I just implemented collision detection with the help from andrews book...but i have some problems with it... i use: picker.setShapeRay(start,

[JAVA3D] picking problem

2003-10-31 Thread Flavius Alecu
ok, i'm using picking for collision avoidanceso I have a big room 200x300 meters and I start in the middle of it. I just implemented collision detection with the help from andrews book...but i have some problems with it... i use: picker.setShapeRay(start, vStop) where start is the Point3d where

[JAVA3D] Picking Problem

2002-12-25 Thread Appalaraju.Kvrapati
Hello Forum, When I change the frontClipDistance of the View then Some part of the structure is clipped. If I start picking a point then the clipped point of the structure is selected. Is there any way out not to select the clipped structure?. Regards, AppalaRaju ==

Re: [JAVA3D] picking problem with pickResult.getNode

2002-11-06 Thread Burrows Anthony
Have you set the capability ENABLE_PICK_REPORTING for the TGs? If not, you won't get them. Tony -Original Message- From: Shantz Family [mailto:shantzfamily@;ATTBI.COM] Sent: 04 November 2002 23:46 To: [EMAIL PROTECTED] Subject: [JAVA3D] picking problem with pickResult.getNode

Re: [JAVA3D] picking problem with pickResult.getNode

2002-11-04 Thread Ricardo Nakamura
Mike, Not sure but I think you have to call setCapability(Node.ENABLE_PICK_REPORTING) on your transform groups. This will cause them to appear in the SceneGraphPath returned from the picking operation. Afterwards, the getNode should work. Ricardo At 21:45 4/11/2002, you wrote:

[JAVA3D] picking problem with pickResult.getNode

2002-11-04 Thread Shantz Family
I am picking in a scene graph that has the following structure of TransformGroups with Links to a SharedGroup. TG TG TG | | | L L L \|/ SG Shape pickResult.getNode( pickResult.LINK) works fine but pickResult.getNode( pickResult.TRANSFORM_GR

Re: [JAVA3D] Picking Problem

2002-06-07 Thread SUBSCRIBE JAVA3D-INTEREST Huaicai MO
Are you the guy from Wayne State? I knew there is a guy who was in the CS dept before. Happy to know you are using Java3D too. I think when you pick a point from the point array, it will get the GeometryArry from the PickIntersection, so this array will contain all the points, but you can find

[JAVA3D] Picking Problem

2002-06-07 Thread Rong Wang
Hi, all I just have a picking problem which I can not find any clue, any suggestion or solution will be very helpfull. I use the PointArray to create a lot of Point Objects in the scene, then I try to Multiple Points using the PickCanvas's pickAll() funciton. The pickBounds of PickCanvas was cre

[JAVA3D] Picking Problem

2002-02-15 Thread RWGRAY
I can't seem to get my picking of points to work... In my Canvas3D class I have: the3DCanvas.addMouseListener(this); pickCanvas = new PickCanvas(the3DCanvas, scene); pickCanvas.setMode(PickTool.GEOMETRY_INTERSECT_INFO); pickCanvas.setTolerance(4.0f); The Listener method inclu

Re: [JAVA3D] Picking problem

2002-02-07 Thread Chien Yang
Dave, >> >>Two problems I am running into: >> >>1. Java3d is not letting me pick against an object in a shared group. This >>is a big problem for us since a lot of our stuff like rocks, trees, etc are >>in Links to shared groups. I can't understand why this is a limitation. You should be able

Re: [JAVA3D] Picking problem

2002-02-07 Thread David Yazel
Thanks Kelvin. Is there any way around the shared group limitation? Dave - Original Message - From: Kelvin Chung <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Cc: <[EMAIL PROTECTED]> Sent: Thursday, February 07, 2002 10:19 PM Subject: Re: [JAVA3D] Picking problem >

Re: [JAVA3D] Picking problem

2002-02-07 Thread Kelvin Chung
>Delivered-To: [EMAIL PROTECTED] >MIME-Version: 1.0 >Content-Transfer-Encoding: 7bit >X-Priority: 3 >X-MSMail-Priority: Normal >X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2615.200 >Date: Thu, 7 Feb 2002 22:09:09 -0500 >From: David Yazel <[EMAIL PROTECTED]> >

[JAVA3D] Picking problem

2002-02-07 Thread David Yazel
Two problems I am running into: 1. Java3d is not letting me pick against an object in a shared group. This is a big problem for us since a lot of our stuff like rocks, trees, etc are in Links to shared groups. I can't understand why this is a limitation. 2. I am getting the error "interp point

[JAVA3D] Picking problem. Is this a J3D Bug?

2001-08-13 Thread Anthony Ashbrook
Apologies as I am reposting this message with the correct subject line. I have implemented a utility for picking points on the surface of a mesh. Once a point has been placed it can be dragged over the surface until it is in the correct location. This works fine 99% of the time but occasionally

Re: [JAVA3D] Picking problem : VERTEX FORMAT capability

2001-03-13 Thread BRANDY Cyril
I found it : ALLOW_FORMAT_READ -Message d'origine- De: BRANDY Cyril Date: mardi 13 mars 2001 16:53 À: [EMAIL PROTECTED] Objet: [JAVA3D] Picking problem : VERTEX FORMAT capability Hi ! I have this exception when I do some picking, but I can't find this GeometryArray capabili

[JAVA3D] Picking problem : VERTEX FORMAT capability

2001-03-13 Thread BRANDY Cyril
Hi ! I have this exception when I do some picking, but I can't find this GeometryArray capability Thanks javax.media.j3d.CapabilityNotSetException: GeometryArray: no capability to get vertex format at javax.media.j3d.GeometryArray.getVertexFormat(GeometryArray.java:479) at co

[JAVA3D] Picking problem and normals

2000-12-07 Thread Martin Cadik
Hi, I use the Vrml97 loader to construct my SceneGraph and I need to pick some objects (for intersections - to calculate ray-tracing of the scene). Some nodes are ok (QuadArrays), but some I can't pick (probably Primitive classes). Where's the problem? Second trouble is how to get normal in the i

Re: [JAVA3D] picking problem

2000-11-23 Thread Stokkermans, Bart
: [EMAIL PROTECTED] Subject: Re: [JAVA3D] picking problem Hi, "Stokkermans, Bart" wrote: > I've a problem with picking objects. > I've done for all the nodes : setPickable(true). > and I've done for some nodes : setCapability(ENABLE_PICK_REPORTIN

Re: [JAVA3D] picking problem

2000-11-22 Thread Andreas Ebbert
Hi, "Stokkermans, Bart" wrote: > I've a problem with picking objects. > I've done for all the nodes : setPickable(true). > and I've done for some nodes : setCapability(ENABLE_PICK_REPORTING) > I have a PickCanvas with mode : PickTool.GEOMETRY > When I get a pickResult with PickResult.pickCloses

[JAVA3D] picking problem

2000-11-20 Thread Stokkermans, Bart
Hi all, I've a problem with picking objects. I've done for all the nodes : setPickable(true). and I've done for some nodes : setCapability(ENABLE_PICK_REPORTING) I have a PickCanvas with mode : PickTool.GEOMETRY When I get a pickResult with PickResult.pickClosest() we always get the same result.

Re: [JAVA3D] Picking problem on a newly added geometry in a compiled graph.

2000-11-09 Thread Sameer Pokarna
Hi Kelvin, > Hi Sameer, > > > > >I have the following scenegraph: > > > >BranchGroup > >|_TransformGroup > > |_ BranchGroup b > > | BranchGroup b1 > > |___ Morph m1 > > |___ Morph m2 > > |___ Behavior o

Re: [JAVA3D] Picking problem on a newly added geometry in a compiled graph.

2000-11-09 Thread Kelvin Chung
Hi Sameer, > >I have the following scenegraph: > >BranchGroup >|_TransformGroup > |_ BranchGroup b > | BranchGroup b1 > |___ Morph m1 > |___ Morph m2 > |___ Behavior object with trigger as mouse click >

[JAVA3D] Picking problem on a newly added geometry in a compiled graph.

2000-11-09 Thread Sameer Pokarna
Hi All, I have the following scenegraph: BranchGroup |_TransformGroup |_ BranchGroup b | BranchGroup b1 |___ Morph m1 |___ Morph m2 |___ Behavior object with trigger as mouse click |_

Re: [JAVA3D] Picking problem

2000-04-24 Thread Doug Gehringer
> I am working with an application that requires using a PickRay independent of > the mouse or the viewpoint. I don't have a ready-made example, but this should be simple using the J3D 1.2 picking utilities. Use the PickTool instead of the PickCanvas. See the code in PickCanvas for details on s

[JAVA3D] Picking problem

2000-04-24 Thread Jason Stine
I am working with an application that requires using a PickRay independent of the mouse or the viewpoint.  I want to be able to have a Java class generate x and z coordinates, set a PickRay's origin at (x, [very high above the scene y value], z), then use the utilities (PickIntersection) to