Hi,
Try this:
        Transform3D t = new Transform3D();
        t.set(0.3, new Vector3d(0.0, -1.5, -0.4));
where means "set(scale,position(x,y,z))".

If doesn't works try this:
        Scene s = null;
        ...
        Vector3f translate = new Vector3f();
        Transform3D T3D = new Transform3D();

        translate.set( 0.0f, -0.3f, -0.9f);
        T3D.setTranslation(translate);

        TransformGroup centerObjTG = new TransformGroup(T3D);
        centerObjTG.addChild(s.getSceneGroup());

        objrootBG.addChild(centerObjTG);

I hope this help you.
Rgds, TGG


>From: Manu Juyal <[EMAIL PROTECTED]>
>Reply-To: Discussion list for Java 3D API <[EMAIL PROTECTED]>
>To: [EMAIL PROTECTED]
>Subject: [JAVA3D] My drawing is appearing offscreen
>Date: Tue, 25 Sep 2001 16:59:20 -0700
>
>Hi!
>The figure I am drawing in Java3D is not appearing on the screen. After
>checking I found out that It is being drawn outside the screen. Also the
>origin of the coordinates is in the center of the screen.
>Is there anyway can I have my drawing fit in to the screen? eg by  changing
>scale or scope of the screen
>
>Also how can I have the origin appear at the bottom left of the screen
>instead of at the center?
>Any help will be highly appreciated.
>
>thanks,
>Manu
>
>===========================================================================
>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".


_________________________________________________________________
Downloaden Sie MSN Explorer kostenlos unter http://explorer.msn.de/intl.asp

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