PDA

View Full Version : Oculus DK2 image warping


ichitaka
07-24-2015, 09:17 AM
Hello everybody!

Currently i'm working on a project where i'm using the oculus rift dk2 with a ppt x4 tracking system. All implemented in vizard 5.

My implementation of the rift sadly causes some kind of image warping and i don't know what kind of setting it is that i had set wrong. Here some screenshots(head was turned on second image to shop the difference):
http://imgur.com/a/EV0Wm

My code for the rift implementation is:
if enable_oculus:
viz.go()
import oculus
viz.setOption('viz.glFinish',1)
viz.mouse.setVisible(False)
hmd = oculus.Rift(window=viz.MainWindow, autoDetectMonitor=True)
sensor = hmd.getSensor()
viz.window.setFullscreen(True)
if enable_ppt:
init_ppt()
else:
link = viz.link(sensor, viz.MainView)
else:
viz.go()
viz.window.setFullscreen(True)
viz.mouse.setVisible(False)

Jeff
07-24-2015, 12:02 PM
It's not clear to me what the image warping you're referring to is. What version of the Oculus SDK are you using? Are you running in Direct HMD or Extend HMD to desktop mode? Does this also occur with the oculusExample.py script included with Vizard?