Direct mode - game window on monitor stays black
Hi,
I have my own game engine that uses a java passthrough library to talk to the SDK. Whenever I use the Rift the main game window stays black while the Rift works perfectly fine. What is the best way to send graphics data to both the Rift and the default OpenGL window? Is there a property in the SDK for it or is there a way to disconnect the rift from hijacking the screen, draw to it and then reconnect the rift (without it slowing down the rendering)? While it would be great to draw only one of the FBO's that are sent to the rift I'd be fine with it just mirroring what the Rift sees as well.
Mike
EDIT: I was doubting if this post should be here or in "Other Engine Integrations", please move it if you want to.
I have my own game engine that uses a java passthrough library to talk to the SDK. Whenever I use the Rift the main game window stays black while the Rift works perfectly fine. What is the best way to send graphics data to both the Rift and the default OpenGL window? Is there a property in the SDK for it or is there a way to disconnect the rift from hijacking the screen, draw to it and then reconnect the rift (without it slowing down the rendering)? While it would be great to draw only one of the FBO's that are sent to the rift I'd be fine with it just mirroring what the Rift sees as well.
Mike
EDIT: I was doubting if this post should be here or in "Other Engine Integrations", please move it if you want to.
