[osg-users] Oculus + external view

Riccardo Corsi riccardo.corsi at kairos3d.it
Wed Jan 20 04:16:24 PST 2016


Hi Björn and all,

at the moment the setup created by the osgOculusViewer is to blit the
Oculus mirror texture in the viewer window on screen.

I'd like to have the screen win to show a different result, from a third
non-distorted camera.

As a first test, I've tried to comment out the blit instruction (here
<https://github.com/bjornblissing/osgoculusviewer/blob/master/src/oculusdevice.cpp#L772>)
and re-enable the main camera graphics context, but it doesn't work:
screen view is ok, but the Oculus is blank.

Is there a simple way to test the scenario I'm after?

Thanks,
Ricky
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openscenegraph.org/pipermail/osg-users-openscenegraph.org/attachments/20160120/e6aeeade/attachment.htm>


More information about the osg-users mailing list