Hi,

In an application I need a tethered viewplatform (a camera attached to an
object moving in space; the target object should always be in the center of the 
screen).
Updating the position and orientation of the target object and viewplatform is done in 
the preRender() callback function. First the transform group of the target object is 
updated. Then the transformgroup of the viewplatform is calculated from the 
transformgroup of the target object.
Most of the time this will work but sometimes the view flickers. It looks
like the viewplatform transform is one frame behind the target transform for
a frame. The next frame the camera seems to target the object OK.

Does anybody have an idea what happens here?

A few remarks:
-I know I should have attached a viewplatform to the transformgroup of the
target object but unfortunately this is how I got the code (someone else
wrote it). Anyway, even after trying this the problem still remains.
-I've tested the application on a few machines. On some platforms the
problem occurs, on others it doesn't (maybe a driver issue?).
 Gives problems:
    Dell dual P II 400MHz, geForce 2 MX, RedHat Linux 6.1, j2sdk1.4.1 beta
(Blackdown), java3d 1.3 FCS (Blackdown)
    SGI Onyx (4 processors), IRIX 6.5, j2sdk1.3, java3d 1.2.1

 No problem:
    1.8GHz P IV, geForce 3 ti200, W2000, j2sdk 1.4.1_01 (Sun), java3d 1.3
FCS (Sun)
    1.8GHz P IV, geForce 3 ti200, Mandrake Linux 9.0, j2sdk 1.4.1 beta
(Blackdown), javajava3d 1.3 FCS (Blackdown)
    Dell latitude P III 650 MHz, ATI M1, W2000 , j2sdk 1.4.1_01 (Sun),
java3d 1.3 beta 2 (Sun)
    (a few other W2000 machines)

Thanks in advance,
Joost Verschuren

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