Gamestudio Links
Zorro Links
Newest Posts
Free Live Data for Zorro with Paper Trading?
by AbrahamR. 05/18/24 05:41
Change chart colours
by 7th_zorro. 05/11/24 09:25
Data from CSV not parsed correctly
by dr_panther. 05/06/24 18:50
AUM Magazine
Latest Screens
The Bible Game
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Who's Online Now
2 registered members (AbrahamR, AndrewAMD), 1,278 guests, and 2 spiders.
Key: Admin, Global Mod, Mod
Newest Members
Hanky27, firatv, wandaluciaia, Mega_Rod, EternallyCurious
19051 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
Oculus Rift Integration #434502
12/19/13 17:13
12/19/13 17:13
Joined: Mar 2007
Posts: 197
Y
yorisimo Offline OP
Member
yorisimo  Offline OP
Member
Y

Joined: Mar 2007
Posts: 197
You can download my contribution at Acknex Unlimited. It demonstrates how to integrate Oculus Rift (VR Headset into your game, OculusVR ):
oculus.zip

Hope it's useful for someone. Because it queries data from the Oculus Rift to setup the distortion parameters, I don't think you will be able to see what it does without having an Oculus Rift connected.


Joris Lambrecht
My Contributions: Relative Rotation, Window Sizing
Re: Oculus Rift Integration [Re: yorisimo] #434512
12/19/13 21:23
12/19/13 21:23
Joined: Mar 2006
Posts: 1,993
Karlsruhe
PadMalcom Offline
Serious User
PadMalcom  Offline
Serious User

Joined: Mar 2006
Posts: 1,993
Karlsruhe
Nice, thank your for that one!

Re: Oculus Rift Integration [Re: yorisimo] #437907
03/01/14 00:22
03/01/14 00:22
Joined: Nov 2005
Posts: 66
Spokane, WA, USA
Vonman Offline
Junior Member
Vonman  Offline
Junior Member

Joined: Nov 2005
Posts: 66
Spokane, WA, USA
The main.exe for the demo worked BUT I cannot use the scripts because for some reason none of them ever call on oculus.dll.

I tryed putting the dll in my plugins folder and even in my project folder but with no luck.

Is there some script file that may be missing?

Re: Oculus Rift Integration [Re: Vonman] #437973
03/03/14 14:53
03/03/14 14:53
Joined: Mar 2007
Posts: 197
Y
yorisimo Offline OP
Member
yorisimo  Offline OP
Member
Y

Joined: Mar 2007
Posts: 197
initRift (used to obtain device properties) and readRift (used for head tracking) are the only dll functions. They are called by Oculus.c:
* initOR calls initRift
* getHeadTrackOR calls readRift

Oculus.c should be in the same folder as main.c (or your version of main.c), and Oculus.dll should be in the acknex plug-ins folder.


Joris Lambrecht
My Contributions: Relative Rotation, Window Sizing

Moderated by  aztec, Blink, HeelX 

Gamestudio download | chip programmers | Zorro platform | shop | Data Protection Policy

oP group Germany GmbH | Birkenstr. 25-27 | 63549 Ronneburg / Germany | info (at) opgroup.de

Powered by UBB.threads™ PHP Forum Software 7.7.1