Currently, the Oculus mirror window is rendered in stereo mode, showing both left and right eye views. To change this and render in mono use the following code. It can be added to the postInit function of the vizconnect file or directly in the script that adds the Oculus if you're not using vizconnect:
Code:
import vizact
import vizfx.postprocess
monoWindow = viz.addWindow(size=(1,1), pos=(0,1), scene=viz.addScene())
monoQuad = viz.addTexQuad(parent=viz.ORTHO, scene=monoWindow)
monoQuad.setBoxTransform(viz.BOX_ENABLED)
monoQuad.setTexQuadDisplayMode(viz.TEXQUAD_FILL)
texture = vizfx.postprocess.getEffectManager().getColorTexture()
def UpdateTexture():
monoQuad.texture(texture)
vizact.onupdate(0, UpdateTexture)
viz.window.setFullscreenMonitor(2)
viz.window.setFullscreen(True)