Le Mardi, 3 Août 2004 12.50, Mike Pilone a écrit :
> Claude,

Hi Mike, 

Thank you for your answer. 
>
> You will want to look at the Picking utilities in J3D. There is some
> information about this in the tutorial, and some decent documentation in
> the Javadocs.
>
> You can perform a pick at the mouse point, then use a PickResult to get
> more information, including the nearest vertex (using PickIntersection).

Ok, seems interessant, and I should try to understand how it works and how to 
use this class.

>
> For the actual modification of the geometry, you will need to transform the
> point into the virtual world from the canvas, and then modify the geometry
> to the new point. Note that this is tricky since the virtual world is in 3
> dimensions and the AWT world is in 2 dimensions, so calculating that third
> dimension could be difficult for you and the final user.

It's just a try. Later, I should receive 3d coordinates from an input device 
that I've never seen :-) (probably a device from Immersion Corporation). 
Therefore, it would be acceptable to interpolate for example the 
y-coordinate, letting the other unchanged.

>
> I recommend looking at the ViewInfo class to get better matrix information
> from the scene, or use behaviors to ensure that you are one frame behind
> the rendering. ViewInfo is still not in the Javadocs I believe, but you can
> generate them yourself from the CVS.

Ok, thank you

>
> -mike
>

claude

>
[...]

===========================================================================
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".

Reply via email to