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..
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....
0
Comments
Unfortunately I don't use DarkBASIC, but I'm sure some people will find it handy.