Just take the transform, which ever one you want, and run the points through
the Transform3D.transform(...) method. The resulting point is the one you
are looking for.

If you want to do this to an entire geometry, you will have to apply it to
each coordinate separately (someone correct me if I am wrong).

Java3D pushes this transform on the openGL pipeline then sends the
coordinates.

-mike


-----Original Message-----
From: Discussion list for Java 3D API [mailto:[EMAIL PROTECTED]
On Behalf Of Serge Bernier
Sent: Friday, September 03, 2004 11:50 AM
To: [EMAIL PROTECTED]
Subject: Re: [JAVA3D] transform question

Hi,

what I want to be able to have is not the t3d resulting from all the
multiplication of the t3d from the parent nodes. It the result of the coord
point of the geometry after applying the transformation. Let me explain by
an
example.

I have a triangle array with only one triangle. The vertices are at:

1-0,0,0
2-1,0,0
3-0.5,1,0

Let cut down the problem an say I want to apply a translation to the
triangle.

T3D: A matrix translation of 1 in the X axis.


After applying the t3d to the traingle the vertices have change location in
the
virtual scene. The final vertices of the triangle are:

1-1,0,0
2-2,0,0
3-1.5,1,0

I want to have this information. The result of the t3d multiplication on the
geometry coord point. Not the final t3d apply to the geometry.

Is it possible??

Serge




Selon Andre Bialojahn <[EMAIL PROTECTED]>:

> Serge,
>
> > Is it possible to have the final coord point of the geometry after
applying
> all
> > the transformations??
> >
> > What I want it the final coord point display in the virtual world after
> applying
> > the parent transform to the geometry. Not just the final t3d apply to
the
> > geometry but all the final vertices positions. Is it possible???
>
> I guess it is.
> Multiply all the T3Ds from the current node up to the scene graph's
> root (-> SceneGraphPath) into one T3D and respect the Viewplatform-
> T3D.
>
> Never actually did that, but it should work.
>
> Regards,
> André
>
>
===========================================================================
> 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".

Reply via email to