Timmy,

Use code like this:

Transform3D T3D = new Transform3D();
Vector3f translate = new Vector3f();
TransformGroup vpTrans =
simpleU.getViewingPlatform().getViewPlatformTransform();
T3D.rotY(angle);
translate.set(x,y,z);
T3D.setTranslation(translate);
vpTrans.setTransform(T3D);

- John Wright
Starfire Research

Timmy Tong wrote:
>
> Hi Everyone,
>
> I am now doing a project in about 3D Visualization of financial data. I need
> to plot a three axis graph. I can't see the z-axis because the view point is
> parallel to the positive z-axis. So I need to look at it at different angle.
> I use a simpleUniverse class, is there any method to translate the
> viewplatform? Is there any sample code?
>
> Thank you very much.
>
> Regards,
>
> Timmy
>
> ===========================================================================
> 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".

Reply via email to