Multiply all the transforms of the transform groups. From the resulting
transform you can extract only the translation component.

Cheers,

Florin

-----Ursprungliche Nachricht-----
Von: Discussion list for Java 3D API
[mailto:[EMAIL PROTECTED] Auftrag von ashish khandelwal
Gesendet: Donnerstag, 16. September 2004 11:03
An: [EMAIL PROTECTED]
Betreff: Re: [JAVA3D] Translating a group of objects !!


hi,

May be that is true...i ll have to brush up my
concepts of translation and rotation matrix...

But there should certainly be a mathematical method to
calculate all the translation matrices for a given
collection of TransformGroup so that we could
Translate the collection to a desired point in 3d
Space

My question has not been answered yet

i just want a method to calculate all translation
Matrices (Or one Matrix , what ever) that could be
applied to the collection of TGs so that i m able to
Translate the collection to a desired point without
changing the orientation of any
TG relative to any other TG in the Group

Pointers Please!!


Regards
Ashish


--- fausto mancini <[EMAIL PROTECTED]> wrote:

> Hi.
>
> TGR = target TransformGroup (say origin)
> TGA = TransformGroup A
> TGB = TransformGroup B
>
> If TGA not equals to TGB there does not exist a
> unique TransformGroup that
> will take both TGA and TGB in TGR.
>
> You have to calculate the TransformGroup
> (transformation matrix) for each
> TGX you have.
>
> fmancini
>
> -----Original Message-----
> From: Discussion list for Java 3D API
> [mailto:[EMAIL PROTECTED]
> On Behalf Of ashish khandelwal
> Sent: Thursday, September 16, 2004 06:09
> To: [EMAIL PROTECTED]
> Subject: Re: [JAVA3D] Translating a group of objects
> !!
>
> that can be certainly done
> what i m looking for is a generic solution to the
> problem.
>
> Ok let me rephrase the question
>
> I have the TGs for all the componenets of the
> TransformGroup now I want to translate them all to
> one
> Specified Point in 3d sapce (say origin)
>
> can there be a translation Matrix that can be
> multiplied to all the TransformGroups so that,
> the center point of the objects now become origin
> (or
> roughly so)
>
> with the TGs of all the objects to be translated and
> a
> point given can a generic solution be deduced
>
> Regards
> Ashish
>
> --- Mattijs Janssens <[EMAIL PROTECTED]> wrote:
>
> > Can't you put all the objects under a common
> > transformgroup and modify
> > the translation on that one?
> >
> > Regards,
> >
> > Mattijs
> >
> > ashish khandelwal wrote:
> > > Hi,
> > >
> > > Problem statement --to find a method of
> > translating a
> > > group of objects maintaing the relative position
> > of
> > > each object with the other
> > >
> > > I have a group of Objects say a Character which
> is
> > > made up of different objects all grouped togater
> > >
> > > Now I want to translate the whole object by
> > setting
> > > the translation for the Trasnform group of each
> > object
> > >
> > > so that the character moves to a specified
> > location
> > >
> > >
> > > Any help or Pointers shall be Appreciated
> > >
> > > Regards
> > > Ashish
> > >
> > >
> > >
> > >
> > >
> > > __________________________________
> > > Do you Yahoo!?
> > > Yahoo! Mail - 50x more storage than other
> > providers!
> > > http://promotions.yahoo.com/new_mail
> > >
> > >
> >
>
===========================================================================
> > > 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".
> >
>
>
> __________________________________________________
> Do You Yahoo!?
> Tired of spam?  Yahoo! Mail has the best spam
> protection around
> http://mail.yahoo.com
>
>
===========================================================================
> 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".
>




_______________________________
Do you Yahoo!?
Express yourself with Y! Messenger! Free. Download now.
http://messenger.yahoo.com

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