Janet,
Have a look at IntersectTest.java. It's located in the PickTest directory
of the demos included with the 1.2B1. It demonstrates how to get the vertex
coordinates of the primitive, closest vertex, etc. With that info, you can
easily calculate distances.
B
-----Original Message-----
From: Racz Istvan pm1 [mailto:[EMAIL PROTECTED]]
Sent: Thursday, February 10, 2000 5:25 AM
To: [EMAIL PROTECTED]
Subject: Re: [JAVA3D] pick coordinates
How can you imagine to clikk with the mouse inside of a cube? You can
clikk on a surface and get the (x,y) point, but how can you clikk with a
2D "thing" inside of a 3D cube?
On Thu, 10 Feb 2000, Janet Song wrote:
> Hi all
>
> I have a cube made out of quadarray. I would like to pick anywhere inside
this cube and calculate the distances between the vertices. How should i go
about this?
>
> Thanks...
> any help is appreciated.
>
>
===========================================================================
> 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".
===========================================================================
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".