Re: [osg-users] Setting view matrix seems to lag behind on frame

2015-12-01 Thread Sebastian Messerschmidt
Hi Robert, Thanks for filling in on the details. Cheers Sebastian Hi Sebastian, On 1 December 2015 at 16:12, Sebastian Messerschmidt > wrote: Sorry for answering my own question: The reason- of course- is threading. When setting the threading

Re: [osg-users] Setting view matrix seems to lag behind on frame

2015-12-01 Thread Robert Osfield
Hi Sebastian, On 1 December 2015 at 16:12, Sebastian Messerschmidt < sebastian.messerschm...@gmx.de> wrote: > Sorry for answering my own question: > > The reason- of course- is threading. When setting the threading model to > single-threaded the correct matrix is used in the frame. > I just had

Re: [osg-users] Setting view matrix seems to lag behind on frame

2015-12-01 Thread Sebastian Messerschmidt
Sorry for answering my own question: The reason- of course- is threading. When setting the threading model to single-threaded the correct matrix is used in the frame. Cheers Sebastian Hi Robert, I've attached a small example, where I try to set the view matrix in a way, the camera always fa

[osg-users] Setting view matrix seems to lag behind on frame

2015-12-01 Thread Sebastian Messerschmidt
Hi Robert, I've attached a small example, where I try to set the view matrix in a way, the camera always faces a certain direction. Unfortunately it seems, the view matrix I supply is applied one frame too late. (The camera should always face the geometry, so there should be a cross made of