Hey Ben...
try the inverse....
here is some code that worked for me...
Transform3D myviewer = new Transform3D();
viewTransformGroup.getTransform(myviewer);
myviewer.lookAt(eye, center, up);
myviewer.invert(myviewer);
viewTransformGroup.setTransform(myviewer);
hope this helps,
-Mark
--- Benjamin Ashpole <[EMAIL PROTECTED]> wrote:
> Hi everyone, newbie question here, the following
> snippet does not cause me to get a view from that
> eye coordinate of the origin with up being parallel
> to the positive Y axis. Instead it makes me look
> just the other way. Could someone please show me
> how to set the view to such?
>
>
> Transform3D translate = new Transform3D();
> translate.lookAt(new Point3d(-8,3,0), // eye
> new Point3d(0,0,0), // center
> new Vector3d(0,1,0)); // up
>
>
simpleU.getViewingPlatform().getViewPlatformTransform().setTransform(translate);
>
>
> Thanks,
> Ben
>
>
__________________________________________________
Do You Yahoo!?
Yahoo! Photos - 35mm Quality Prints, Now Get 15 Free!
http://photos.yahoo.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".