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())
> 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
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
> 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
> 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
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.
> 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
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
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
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
10 matches
Mail list logo