View Single Post
  #1  
Old 09-23-2013, 02:35 PM
jacky jacky is offline
Member
 
Join Date: Jun 2011
Posts: 13
Oculus HMD's setViewport() doesn't work

Hi all,

Do anybody find the <sensor>.setViewport() method doesn't work?

I want to display a video with resolution 1280*480. But the resolution of the Oculus HMD is 1280*800. So I want to display the video from the 160 pixels in the vertical direction by setting <sensor>.setViewport([0,160,1280,480]). But this setting doesn't work. Do anybody know how to use this method or how to show 480 vertical pixels instead of 800 vertical pixels in the Oculus HMD?

Many thanks.
Reply With Quote