Use Transform3D class. There are some utility functions to do all this
transformations avoiding editing 4x4 matrix directly, e.g.:

- Transform3D.setTranslation(Vector3f)
- Transform3D.rotX(angle)
- Transfrom3D.setScale(scale)
- etc.

Read the documentation carefully to learn the working of each
function. U can then pass the Transform3D object to TransformGroup in
order to apply the transformations u did to the object u like.

vladimir
             -=V=-
>-------<=============>-------<
Join in Java community now!
http://JavaCafe.VirtualAve.net/
>-------<=============>-------<

In your previous letter u wrote:
--------------------------------
SR> Hi,

SR> How can I give a matrix-shaped transformation?
SR> What must I and where must I write into a Matrix4f?

SR> For. ex. a translation with ( a,b,c ), a rotation around the
SR> X axis , a scale.

SR> I remember that there was once posted a letter in which this subject was described 
in details, but I didn't find it. Can somebody send me?

SR> Thanx in advance, it is very important for me!

SR> ===========================================================================
SR> To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
SR> of the message "signoff JAVA3D-INTEREST".  For general help, send email to
SR> [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