Hi Matti,
At 20:00 14.08.00 , you wrote:
> For some reason I get only blank image in compatibility mode if I try to
>reflect (mirror) y-axis like this:
>
> // relevant View setup code
> tf = new Transform3D();
> tf.setScale(new Vector3d(1,-1,1));
> view.setVpcToEc(tf);
OK, since nobody else has been able to help so far, I'll take a stab at it.
My guess is that your view already HAS a Transform set up, which your
setVpcToEc is replacing completely, with some of the previous magic
gone.
What I would try in your place is to get a hold of the original Transform3D
using View.getViewPlatform().getTransform()
(or something like that, I'm quoting from a leaky memory), which will give
you an array of Transform3Ds (usually only one) which you can then use
as the basis for your new Transform.
I hope this is enough to give you a start. 3D geometry hurts my head so
I'm not willing to go deeper into detail :)
-Carl-
===========================================================================
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".