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

Reply via email to