Forum Discussion
rellissc
11 years agoHonored Guest
Oculus Headtracking Emulation
I was wondering if there is a way to simulate the types of input given by the oculus using mouse/keyboard.
The reason why I am asking is that I have 2 computers that I use regularly, one my desktop and one my laptop. I do a lot of development on my laptop since most of my free time is in between classes at school. For the moment, the majority of what I am doing doesnt require me to wear the rift itself to test, merely see the rendered result and any changes that motion of the camera might cause. (Im trying to get some HUD display things working properly) If there was a way to emulate the input of the oculus, I would be able to leave the rift at home, decreasing the chance of damaging/losing it.
I develop in Unity, if it makes a difference, but I figured something that emulated rift input would be useable no matter the development environment, since it is being run as a compiled executable.
Thanks!
The reason why I am asking is that I have 2 computers that I use regularly, one my desktop and one my laptop. I do a lot of development on my laptop since most of my free time is in between classes at school. For the moment, the majority of what I am doing doesnt require me to wear the rift itself to test, merely see the rendered result and any changes that motion of the camera might cause. (Im trying to get some HUD display things working properly) If there was a way to emulate the input of the oculus, I would be able to leave the rift at home, decreasing the chance of damaging/losing it.
I develop in Unity, if it makes a difference, but I figured something that emulated rift input would be useable no matter the development environment, since it is being run as a compiled executable.
Thanks!
6 Replies
- kwaverHonored GuestYeh i wanted an alternative for easy debugging rather than having to look through the rift all the time. I just wrote a simple camera manager which has references to the ovr camera as well as a standard first person camera. Hitting a designated key toggles between the two cameras and sets up the correct position and rotation.
You can do this by calling enabled=true etc on the actual cameras for the ovr cam. - EmuZeroHonored GuestYeah, I'm looking for something like this too, as I'm not always with my DK2.
It'd be awesome if you could track a wiimote or PS3 controller orientation too!
I'll try your idea for Unity. Does anyone have any idea for UE4 too? - mungewellHonored GuestI am using this:
https://github.com/yetifrisstlama/Foculus_Rift_Tracker_STM32F3DISCOVERY
Which makes a STM32F3 Discovery board ($15) to pretend to be the tracker in a rift.
Simon. - EmuZeroHonored Guest
"mungewell" wrote:
I am using this:
https://github.com/yetifrisstlama/Foculus_Rift_Tracker_STM32F3DISCOVERY
Which makes a STM32F3 Discovery board ($15) to pretend to be the tracker in a rift.
Simon.
That's interesting. Are you actually using that board, or did you manage to use that without any hardware? - mungewellHonored GuestI used this board in leiu of having a DK1 (or DK2... I wish, but too poor :( ) in order to get some development code working with Speed-Dreams (open source driving sim).
https://www.youtube.com/watch?feature=player_detailpage&v=ffoFpm5pfEM#t=154
The Dev board contains the ST-Link circuit which lets you program it via a standard USB cable.
I should state that it emulates the DK1 tracker, which may (or not) be similar to the DK2. Also the newer SDK also looks for the presence of the display part of the Rift, so you probably have to make an EEPROM dongle to fake the screen as well.
Simon - datenwolfHonored Guest
"mungewell" wrote:
so you probably have to make an EEPROM dongle to fake the screen as well.
I can help with that: For the annual CCC conference I made a bunch of these: https://events.ccc.de/congress/2013/wiki/Projects:VGA_EDID_Injector their purpose is to pretend to be some display device you've cloned beforehand. The project is open source, the schematics, board and firmware source code can be found here: https://github.com/datenwolf/vgaedidinjector
For this year conference I'm designing version 2, which will have DVI-I connectors on either side; however no conversion between analogue and digital; maybe I'll include that in version 3.
Quick Links
- Horizon Developer Support
- Quest User Forums
- Troubleshooting Forum for problems with a game or app
- Quest Support for problems with your device
Other Meta Support
Related Content
- 12 years ago
- 10 years ago
- 9 months ago
- 4 years ago
- 2 years ago