Re: [JAVA3D] 'Jitter' when using a tethered ViewPlatform

2003-02-21 Thread Joerg 'Herkules' Plewe
Wow, so my first guess hit bullets eye! *proud* > > 2) Setting the view platform transform in preRender() may be problematic. > > I've confirmed that this is the problem. > > Even though you're updating all your objects and the view platform in > the same Renderer thread (through the preRender())

Re: [JAVA3D] 'Jitter' when using a tethered ViewPlatform

2003-02-20 Thread Mark Hood
> Date: Thu, 20 Feb 2003 16:33:37 -0800 > From: Mark Hood <[EMAIL PROTECTED]> > > 2) Setting the view platform transform in preRender() may be problematic. I've confirmed that this is the problem. Even though you're updating all your objects and the view platform in the same Renderer thre

Re: [JAVA3D] 'Jitter' when using a tethered ViewPlatform

2003-02-20 Thread Mark Hood
Other things that might be affecting you: 1) Is there any possibility that the object transform is being updated after setting the view platform transform? 2) Setting the view platform transform in preRender() may be problematic. The Java 3D 1.3 architecture doesn't make many claims about

Re: [JAVA3D] 'Jitter' when using a tethered ViewPlatform

2003-02-20 Thread Mark Hood
> Date: Thu, 20 Feb 2003 15:29:24 -0800 > From: Mark Hood <[EMAIL PROTECTED]> > > Date: Thu, 20 Feb 2003 03:53:09 -0700 > > From: Joost Verschuren <[EMAIL PROTECTED]> > > t3d.invert(); > > tg_vp_rot.setTransform(t3d); > > > > trans.set(0.0,0.0,0.0); > > t3dtr

Re: [JAVA3D] 'Jitter' when using a tethered ViewPlatform

2003-02-20 Thread Mark Hood
> Date: Thu, 20 Feb 2003 03:53:09 -0700 > From: Joost Verschuren <[EMAIL PROTECTED]> > > > >It's difficult to suggest a solution without seeing the code. > > I have extracted some fragments of the code and included it at the end of > this message. Some of the code could use some optimizatio

Re: [JAVA3D] 'Jitter' when using a tethered ViewPlatform

2003-02-20 Thread Joost Verschuren
On Wed, 19 Feb 2003 18:45:51 -0800, Mark Hood <[EMAIL PROTECTED]> wrote: >> Date: Wed, 19 Feb 2003 03:26:03 -0700 >> From: Joost Verschuren <[EMAIL PROTECTED]> >> >> Updating the position and orientation of the target object and >> viewplatform is done in the preRender() callback function.

Re: [JAVA3D] 'Jitter' when using a tethered ViewPlatform

2003-02-19 Thread Mark Hood
> Date: Wed, 19 Feb 2003 03:26:03 -0700 > From: Joost Verschuren <[EMAIL PROTECTED]> > > 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 transfor

Re: [JAVA3D] jitter when using a tethered ViewPlatform

2003-02-19 Thread Herkules
Joost Verschuren wrote: >Thanks for your quick answer, but I already mentioned that I tried placing the viewplatform in a transformgroup beneath the target object (which is IMHO probably the 'cleanest' solution). This still gave problems. I'm sorry, obviously I did not read thoroughly enough. >A

[JAVA3D] 'jitter when using a tethered ViewPlatform'

2003-02-19 Thread Joost Verschuren
Joerg, Thanks for your quick answer, but I already mentioned that I tried placing the viewplatform in a transformgroup beneath the target object (which is IMHO probably the 'cleanest' solution). This still gave problems. I had to rewrite a lot of code, so maybe I forgot something. I will take a

[JAVA3D] 'Jitter' when using a tethered ViewPlatform

2003-02-19 Thread Joost Verschuren
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 t