Hey!
At the moment I�m operating in a coordinatesystem with range 100 000 to 400
000, and I want to scale this down to the range 1 to 10. At the moment I�m
using the "setScale(double scale)" method in the Transform3D class, but I
can not se any difference before and after using the method. After I have
scaled the coordinates down I still want to keep a god stereoeffeect. Are
there any tips available?

Here is some of my code:

    Transform3D scaleT = new Transform3D ();
    Transform3D scaleR = new Transform3D();

    scaleT.setScale (new Vector3d (1d, 1d, 2d));
    scaleR.setScale(30); //30? 100? 1000?
    scaleT.mul(scaleR);

    scale = new TransformGroup ();
    TransformGroup scale2 = new TransformGroup(scaleT);

    BranchGroup bg = new BranchGroup ();
    bg.setCapability(bg.ALLOW_CHILDREN_READ);

    bg.addChild (scale);
    scale.addChild(scale2);
    super.addBranchGraph (bg);



Todda/Norway
_________________________________________________________________________
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.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".

Reply via email to