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

Sebastian Messerschmidt sebastian.messerschmidt at gmx.de
Tue Dec 1 08:12:45 PST 2015


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 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 blue and a green line)
>
> Is there something wrong with the way I supply the view matrix?
>
> Cheers
> Sebastian
>
>
> _______________________________________________
> osg-users mailing list
> osg-users at lists.openscenegraph.org
> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openscenegraph.org/pipermail/osg-users-openscenegraph.org/attachments/20151201/8ef02d59/attachment-0002.htm>


More information about the osg-users mailing list