GLPlot.jl
GLPlot.jl copied to clipboard
Oculus Rift support
Sorry this has taken so long, but I've finally managed to carve some time out to work on the Rift API. I think I have all the pieces in place. Could you post a short snippet that basically renders the view point for the two eyes to a texture each inside a render loop? We can integrate all the fancy features to adjust the camera position based on tracking etc. later.
Awesome! I'm on it
okay here you go: https://gist.github.com/f92c1b9513b085808d53.git This is a first simple test file, hope it includes everything you need!
Thanks. Looking at the Oculus SDK, I need two textures (one for each eye). I'll try to play with it to make that work, but you might be quicker.
Never mind. Figured it out.
Yeah I think, it just needs one texture right? I seems to work both ways, but one texture seems to be easier to me.
You can pass it either two textures or one texture and two viewports.
Well, it's doing something: