Gamestudio Links
Zorro Links
Newest Posts
Help with plotting multiple ZigZag
by degenerate_762. 04/30/24 23:23
M1 Oversampling
by 11honza11. 04/30/24 08:16
Trading Journey
by howardR. 04/28/24 09:55
Zorro Trader GPT
by TipmyPip. 04/27/24 13:50
Data from CSV not parsed correctly
by jcl. 04/26/24 11:18
Why Zorro supports up to 72 cores?
by jcl. 04/26/24 11:09
AUM Magazine
Latest Screens
The Bible Game
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Who's Online Now
4 registered members (AndrewAMD, 7th_zorro, VoroneTZ, Quad), 901 guests, and 0 spiders.
Key: Admin, Global Mod, Mod
Newest Members
firatv, wandaluciaia, Mega_Rod, EternallyCurious, howardR
19050 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