Proper way to render for Oculus Rift

Post Reply
Kajos
Cross Eyed!
Posts: 117
Joined: Sun Aug 05, 2012 4:19 pm

Proper way to render for Oculus Rift

Post by Kajos »

I know this is a little bit early, but I already wanted to set up a little game/engine, and maybe, just maybe try it out at Gamescom, if that's possible (I have no idea, and it's quite a blunt plan :) ).
Anyway, I would like to know how to render properly for the Oculus Rift.

I have confusion about this and was wondering if someone knows the answer:
- Would rendering at 90 degree FOV be enough? If not, what is the difference (in laymens terms)
- Or do I need to warp with a frament shader/vertex shader as well? Will warping with a fragment shader cause loss in quality (that's what I would presume)?

Major thanks.

User avatar
brantlew
Petrif-Eyed
Posts: 2220
Joined: Sat Sep 17, 2011 9:23 pm
Location: Menlo Park, CA

Re: Proper way to render for Oculus Rift

Post by brantlew »

This is an easy one to answer. Here's an open source implementation..

http://www.mtbs3d.com/phpBB/viewtopic.php?f=138&t=15086

Kajos
Cross Eyed!
Posts: 117
Joined: Sun Aug 05, 2012 4:19 pm

Re: Proper way to render for Oculus Rift

Post by Kajos »

Thanks! Gonna look into it

Kajos
Cross Eyed!
Posts: 117
Joined: Sun Aug 05, 2012 4:19 pm

Re: Proper way to render for Oculus Rift

Post by Kajos »

Okay, so I looked at the sample you gave, which is quite nice. I have still have a question though: do I need to adjust the barrel warping? As I render with a 90 degree fov and I take it the barrel warp was designed for lesser fov. Is this the case?

Post Reply

Return to “Oculus VR”