Oculus Rift with Small Basic!
Published Feb 12 2019 04:27 PM 798 Views
Microsoft
First published on MSDN on Oct 22, 2015

Authored by Ed Price


Today's blog post is a Featured Forum Thread and comes from today's guest blogger:

Zock77




Enjoy:

====================================

Hey Guys!

For those of you who have heard of, or own an Oculus Rift, I have found some cool applications for it in Small basic.

The Oculus has two eyepieces, which means you can give the illusion of depth if you make two duplicate objects (one in each eyepiece) and move them closer together and farther apart.

That probably doesn't make much sense, so I shall reiterate.

Here is a picture of what the Oculus looks like from the screens point of view:



So by moving the objects closer together, you make your self go further cross eyed, telling your brain that the object is closer to you. It creates an amazing illusion.

Here is a quick program I wrote that works beautifully with the Oculus (import it into Small Basic).

  • KRH756


And here's the program online, but you should import it into Small Basic and get it on the Oculus Rift to get the experience:



The faster moving balls are closer together, which gives the illusion that they are closer to you.



So what I'm wondering is if an extension could be made by someone more savvy than me for this. It would have to clone the graphics window, place the clone 505 pixels to the right, and then move each object closer to each other based on the Z index.

Just some thoughts.

Thanks!!

- Zock77



==============================



So there you go! The gauntlet is thrown down for anyone to make an Oculus Rift extension! I call "not it", but I have to share this with you guys, because this is awesome!

Drop a comment back to Zock on the featured thread:



Small and Basically yours,

- Ninja Ed





Version history
Last update:
‎Feb 12 2019 04:27 PM
Updated by: