AppletTalk.com Forum Index AppletTalk.com
Java discussions newsgroups
 
Archives   FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Positioning and Transforming

 
Post new topic   Reply to topic    AppletTalk.com Forum Index -> 3D Graphics API's for Java
View previous topic :: View next topic  
Author Message
Guest






PostPosted: Sun Mar 04, 2007 10:36 pm    Post subject: Positioning and Transforming Reply with quote



Is there anyway to add more than one Shape3D object to a
TransformGroup and Position them.
I am building a molecule viewer and I need to add 3 spheres to one
TransformGroup so I can make use of the MouseRotation
class(com.sun.j3d.utils.behaviour.mouse.MouseRotation).
If not what are my other options?
Back to top
Thomas Partsch
Guest





PostPosted: Mon Mar 05, 2007 2:34 am    Post subject: Re: Positioning and Transforming Reply with quote



vm.benjamin (AT) gmail (DOT) com schrieb:
Quote:
Is there anyway to add more than one Shape3D object to a
TransformGroup and Position them.

You can add as many Shapes as you want to a TransformGroup. But with
that single TransformGroup they are all positioned and rotated the same
way. To have them positioned differently, you have to use a
TransformGroup for each shape to set its individual position. To rotate
all shapes with the mouse behavior, you can then use one TransformGroup
to which you have to add those shape-TransformGroups.

Hope thats what you wanted to know.

- Thomas
Back to top
Display posts from previous:   
Post new topic   Reply to topic    AppletTalk.com Forum Index -> 3D Graphics API's for Java All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2006 phpBB Group
SEO toolkit © 2004-2006 webmedic.