I've solved my problem using TRIAGLE_ARRAY instead of TRIANGLE_FAN_ARRAY.
Is it possible that the picking on GeometryInfo doesn't work with an idexed
goemetry?

Thanks to Daniel Dvorak for the reply.

----- Original Message -----
From: <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, May 22, 2000 12:24 PM
Subject: RE: [JAVA3D] Picking GeometryInfo Geometry


I have a similar project where each polygon is a shape3d.  I found
inaccurate picking with PICK_BOUNDS.  Use PICK_GEOMETRY instead.

-----Original Message-----
From: Mauro - Lavoro [mailto:[EMAIL PROTECTED]]
Sent: Sunday, May 21, 2000 11:51 AM
To: [EMAIL PROTECTED]
Subject: [JAVA3D] Picking GeometryInfo Geometry



> Hy to everyone.
>
> I've got a problem about "picking object".
>
> I've a polyhedron generated using a vector of faces where every face is a
GeometryInfo object (I'v used a TRIANGLE_FAN_ARRAY Geometry).
> I've seen the Sun example "IntersectTest" but i still have problem trying
to pick a face.
> Every face is a single Shape3D but when I hit the mouse it select the
wrong face (in particular it select the back face or it doesn't select any
face)
> Note that using others geometries (like PointArray, IndexedLineArray,
etc,...) it works wonderfully.
>
> Sorry for my English and Thank for any suggestion.
>
> Mauro.
>


I have a similar project where each polygon is a shape3d.  I found
inaccurate picking with PICK_BOUNDS.  Use PICK_GEOMETRY instead.

-----Original Message-----
From: Mauro - Lavoro [mailto:[EMAIL PROTECTED]]
Sent: Sunday, May 21, 2000 11:51 AM
To: [EMAIL PROTECTED]
Subject: [JAVA3D] Picking GeometryInfo Geometry



> Hy to everyone.
>
> I've got a problem about "picking object".
>
> I've a polyhedron generated using a vector of faces where every face is a
GeometryInfo object (I'v used a TRIANGLE_FAN_ARRAY Geometry).
> I've seen the Sun example "IntersectTest" but i still have problem trying
to pick a face.
> Every face is a single Shape3D but when I hit the mouse it select the
wrong face (in particular it select the back face or it doesn't select any
face)
> Note that using others geometries (like PointArray, IndexedLineArray,
etc,...) it works wonderfully.
>
> Sorry for my English and Thank for any suggestion.
>
> Mauro.
>

Reply via email to