Duplicating screens
1 Attachment(s)
Hi guys,
I work with the HMD Oculus Rift and a second Display (Monitor). What I want is that the HMD shows the virtual reality and the second Monitor as well. But when using the Oculus Rift system, Vizard splits the Screen in the middle in two pictures (for the left and right eye, see uploaded picture). Now the problem, if I simply just duplicate the monitors via Windows the second Monitor also shows the split screen modus (like the Oculus Rift). So is there a chance that the HMD shows the virtual reality in the split screen mode and the extended monitor as a usual non split screen mode? Thanks a lot for helping, Patrick ----- Code: import viz import vizact import oculus import vizshape import vizcam hmd = oculus.Rift() sensor = hmd.getSensor() viz.link(hmd.getSensor(), viz.MainView) viz.go() scene = viz.addChild('dojo.osgb') viz.move([0,-1,-5]) ---- |
One way to do this would be to let Vizard's application window span the entire width of the oculus and your external monitor. Then you can have 2 sub-windows but have one cover the width of the oculus and the next cover the width of the external monitor. If your monitor is not the same resolution as the oculus, you'll need to figure out exactly how to size and position your sub windows. You Also need to take into consideration where the external monitor is relative to the oculus e.g. left or right. The following example works on an Oculus running at 1080 with another monitor to the right of it at the same resolution.
Code:
import viz Masaki |
The code I use does the same trick but handles different resolutions automatically:
Code:
class Extend: It does assume that the secondary monitor is on the right side of the primary. |
All times are GMT -7. The time now is 10:23 AM. |
Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Copyright 2002-2023 WorldViz LLC