Hello

On Sunday 22 February 2004 19:57, you wrote:
> think I asked soemthing like this before but wasn't able to find a
> solution....

Where is always the hard way
(the BranchGroup BG contains everything to be shown (the model), SU is the
simpleuniverse):

BranchGroup BA2 = new BranchGroup();
double scale = 2;

TransformGroup TG = new TransformGroup();
Transform3D TR3D = new Transform3D();
TR3D.setScale(scale);        //or is it "TR3D.set(scale)" ?
TG.setTransform (TR3D);
TG.addChild (BA);
BA2.addChild (TG);
//BA2.compile();
SU.addBranchGraph(BA2);

Setting the scale > 1 will make everything bigger, < 1 will make it smaller.
It's not clean, it's not fast, it's not the way you're suposed to do things,
but it works.

cu

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