There is also information on line at:

http://www.flipcode.com/documents/matrfaq.html

But they do have some minor errors in their page, so look at my page:

http://www.sigda.org/Eric/java3d/rotation.htm

for the correction.

But a computer graphics book is a good place to start but it will usually
only elaborate on the 2D case and you have to extend that into 3D.

The above two links might be quicker if you can follow them.

PS.  You don't have to read EVERYTHING on the page of the first link above.



At 12:35 PM 12/13/2000 +0100, you wrote:
>Try a book on omputer graphics like
>A. Watt
>3D Computer Graphics
>Addison Wesley
>ISBN 0-201-63186-5
>
>or any text book on linear algebra.
>
>Allan Bredahl schrieb:
>
> > Thanks a lot
> >
> > But my problem is, that I have never been tought the ways of using a matrix
> > as rotation of an object, and I can't seem to get the idea.
> >
> > Is there anywhere I can get this explaination, since it isn't mentioned in
> > the J3D tutorial  ?
> >
> > Allan Bredahl
> >
> > ----- Original Message -----
> > From: "Brunner Cedric" <[EMAIL PROTECTED]>
> > To: <[EMAIL PROTECTED]>
> > Sent: Wednesday, December 13, 2000 9:07 AM
> > Subject: Re: [JAVA3D] Transform3D with both rotation and translation
> >
> > > Allan Bredahl wrote:
> > >
> > > > HI all
> > > >
> > > > I'm construction a simple behavior to move and rotate an object.
> > > >
> > > > My problem is that I want to both rotate and translate a
> TransformGroup.
> > > >
> > > > How is it possible to make one Transform3D do both rotation and
> > translation,
> > > > or is it possible to add more than one Transform3D to a TransformGroup
> > > >
> > > > thanks in advance
> > > >
> > > > Allan Bredahl
> > > >
> > > >
> > ===========================================================================
> > > > 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".
> > >
> > > Hi Allan,
> > >
> > > you can do the both (translation and rotation) in one Transform3D with
> > this
> > > method :
> > >
> > > public Transform3D(Matrix3f m1,
> > >                    Vector3f t1,
> > >                    float s)
> > >
> > >      Constructs and initializes a transform from the rotation matrix,
> > > translation, and scale values. The scale is applied only to the
> rotational
> > > components of the
> > >      matrix (upper 3x3) and not to the translational components of the
> > matrix.
> > >      Parameters:
> > >           m1 - the rotation matrix representing the rotational component
> > >           t1 - the translational component of the matrix
> > >           s - the scale value applied to the rotational components
> > >
> > > The scale could probably be set to 1 in your case.
> > >
> > > Regards
> > >
> > > Cédric Brunner
> > >
> > >
> > ===========================================================================
> > > 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".

***********************************************************************
Eric Reiss - http://www.sigda.acm.org/Eric/
Email: [EMAIL PROTECTED]

SIGDA Internet Server Manager - http://www.sigda.acm.org/

Assistant Systems Manager - School of Engineering
University of Pittsburgh
***********************************************************************

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