]
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,
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
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
==
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
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:
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
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
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
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
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
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
>
>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]>
>
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
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
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
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
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
: [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
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
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.
Hi Kelvin,
> Hi Sameer,
>
> >
> >I have the following scenegraph:
> >
> >BranchGroup
> >|_TransformGroup
> > |_ BranchGroup b
> > | BranchGroup b1
> > |___ Morph m1
> > |___ Morph m2
> > |___ Behavior o
Hi Sameer,
>
>I have the following scenegraph:
>
>BranchGroup
>|_TransformGroup
> |_ BranchGroup b
> | BranchGroup b1
> |___ Morph m1
> |___ Morph m2
> |___ Behavior object with trigger as mouse click
>
Hi All,
I have the following scenegraph:
BranchGroup
|_TransformGroup
|_ BranchGroup b
| BranchGroup b1
|___ Morph m1
|___ Morph m2
|___ Behavior object with trigger as mouse click
|_
> 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
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
25 matches
Mail list logo