/ Forums
New To The Forum? Click Here To Read The How To Guide. -- Developers Click Here.

DarkBASIC - Oculus Rift integration

faizalskifaizalski Posts: 8
edited April 2014 in PC Development
Heya rifters,

After a few stabs and tinkerings on the ol programming bench. I've managed to create a little plugin that would enable anyone with DarkBASIC to integrate OR into their existing project. The files together with the demo source is included in the attachment below.

Haven't test much on other machine though aside from my dev pc. So not to sure on the performance claims here.
I will of course try to tweak it more to perfection where possible..

40h3.jpg

Dont expect this to be full blown awesome eyecandy in the demo though. Its just a proof of capability. Pretty much it should take care of all the Oculus Rift needs to function.


Some keys to press in the demo:

UP and DOWN key for movement. Moving towards where you are looking at via rift.

- Scale Oculus scope
q to reduce the x scale value
w to increase the x scale value
a to reduce the y scale value
s to increase the y scale value

- Lens offset
z to reduce the left lens offset value
x to increase the left lens offset value
c to reduce the right lens offset value
v to increase the right lens offset value

- Eye offset
- to reduce the left eye offset value
+ to increase the left eye offset value
[ to reduce the right eye offset value
] to increase the right eye offset value



Happy coding....

Comments

  • cyberealitycybereality Posts: 19,218 Oculus Staff
    Nice job.

    Unfortunately I don't use DarkBASIC, but I'm sure some people will find it handy.
  • CrypticCryptic Posts: 3
    Good job! I hope that people get use out of this. I will look into DarkBasic now :)
  • ChaossChaoss Posts: 274
    heh I remember using DarkBASIC back in 2001, I upgraded to the professional edition in '04, I can't believe it's still around and that people still use it with the likes of UE4 and Unity around
Sign In or Register to comment.