ashish khandelwal,您好! see javax.media.j3d.Node getLocalToVworld public void getLocalToVworld(SceneGraphPath path,Transform3D t)
致 礼! cs 2004-09-16 蔡苏caisu Email: [EMAIL PROTECTED] Tel: 8610-82317646-804 Virtual Reality Labortary, Beijing University Of Aeronautics & Astronautics, 100083, Beijing, P.R. China ======= 2004-09-15 21:08:00 您在来信中写道:======= >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".