View Single Post
  #1  
Old 11-13-2014, 01:50 PM
mshukun mshukun is offline
Member
 
Join Date: Jan 2013
Posts: 32
Oculus Rift DK1 setZoom

My apologies for the posting the same question, but I would very much appreciate any of your inputs regarding the Oculus setZoom function. I was using "setZoom" function without any problem using the Vizard 5 Beta, but after installing official Vizard 5, the setZoom function is no longer working. I am using the setZoom function in 360 panorama environment.

Thank you in advance.

Code:
import viz
import oculus

viz.setMultiSample(4)
viz.fov(60)
viz.go(viz.FULLSCREEN)

hmd = oculus.Rift()
viz.link(hmd.getSensor(), viz.MainView)

# I tested various numbers for hmd.setZoom(), but it is not working... 
hmd.setZoom = (1.5)

env = viz.addEnvironmentMap('C:/Program Files/WorldViz/Vizard5/resources/townhall_L.jpg')
sky = viz.addCustomNode('skydome.dlc')
sky.texture(env)
Reply With Quote