[osg-users] [3rdParty/maybe OSG general] osgoculusviewer and View matrix
Trajce Nikolov NICK
trajce.nikolov.nick at gmail.com
Wed Mar 1 15:22:00 PST 2017
Hi all,
in my app that is extension of osgoculusviewer I am using the ViewMatrix to
compute some shader stuff. In one View (no slaves) setup it works ok, with
the slaves it doesn't. Long story and debug, but I nailed it down to the
ViewMatrix that is causing me issues.
In my debug of the osgoculusviewer I have changed the left/right RTT
cameras to osg::Camera::ABSOLUTE_RF to control my ViewMatrix by myself and
simply m_cameraRTTLeft->setViewMatrixAsLookAt(...) is buggy. This RTT
camera is slave camera.
Anyone with some help, those who knows this project? The above is enough to
reproduce
Cheers and thanks a bunch as always!
Nick
p.s. Bjorn?
--
trajce nikolov nick
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openscenegraph.org/pipermail/osg-users-openscenegraph.org/attachments/20170302/f3dbd2b4/attachment-0002.htm>
More information about the osg-users
mailing list