> How about t3d.set(new Vector3d(-10.0, -10.0, -10.0))?
It doesn't work. What does work is this:
t3d.lookAt(new Point3d(5,5,20), new Point3d(0,0,0), new Vector3d(0,1,0));
t3d.invert();
vp.getViewPlatformTransform().setTransform(t3d);
The trick is to use INVERT function!
Thanks to you all.
On Sun, 14 Dec 2003 23:01:58 +0100, Ondrej Rohlik
<[EMAIL PROTECTED]> wrote:
I can't use setNominalViewingTransform() as I want to set up the "eye" to
point [10,10,10] and let it look to the origin [0,0,0].
If I use t3d.set(new Vector3d(-3.0, -4.0, 5.0)); command instead of
t3d.set(new Vector3d(3.
Dear all!
After the whole afternoon and evening of experiments, reading Java3D API
documentation and tutorial I decided to ask a (trivial?) question.
I have set of objects (ColorCubes) close to the origin of coordinate system.
I can't use setNominalViewingTransform() as I want to set up the "eye