I have several small spheres, red and blue, around (0, 0, 0).  When
I
start my app, I set the viewing platform to be at (0, 0, 25).  I see the
spheres.

I coded a behavior to zoom in on the spheres by changing the viewplatform
location from (0, 0, 25) to (0, 0, 24).

As soon as I type the key to invoke is zoom behavior, I loose sight of all
the
spheres.

In my behavior I use

      vEye.set(x, y, z);
      vCenter.set(0.0, 0.0, 0.0);
      vUp.set(0.0, 1.0, 0.0);

      T3D.lookAt(vEye, vCenter, vUp);

      targetTG.setTransform(T3D);

to change the view platform's location and orientation.
x = 0, y = 0, z = +24.

And looking at (0,0,0), I should see the red and blue spheres.

targetTG was obtained by
   SU.getViewingPlatform().getViewPlatformTransform();

Now, the real strange thing is....

If I set the Eye to (x, y, -z) I *do* see the spheres, but they are all very
dark gray.
But they do appear.

Does anyone see what's wrong here?  Does anyone have an example of using
lookAt()?

Bob Gray

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