Gamestudio Links
Zorro Links
Newest Posts
Zorro version 3.0 prerelease!
by jcl. 02/12/26 14:05
MarginCost discrepancy?
by jcl. 02/12/26 14:02
Hedge on FXCM, 4 or 5?
by qin. 02/11/26 14:12
CMC MT4 CFD vs FX Active - what's better?
by mayarik. 02/11/26 11:00
print a "still alive" log
by qin. 02/10/26 12:16
AUM Magazine
Latest Screens
Dorifto samurai
Shadow 2
Rocker`s Revenge
Stug 3 Stormartillery
Who's Online Now
1 registered members (TipmyPip), 7,787 guests, and 5 spiders.
Key: Admin, Global Mod, Mod
Newest Members
ApprenticeInMuc, PatrickH90, USER0328, Sfrdragon, mayarik
19198 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 | 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