So I've seen several forum posts about the Rift functioning on the Raspberry Pi.
So now I'm wondering if its possible to get a 360 video with head tracking watchable on the pi.
The pi has H.264 support, so ideally I'd make the video in that codec, send it over, then make a program with headtracking support?
I feel like I'm simplifying it too much, new to linux and coding. I greatly appreciate any help anyone can give me.
Rift Pi
-
- Petrif-Eyed
- Posts: 2708
- Joined: Sat Sep 01, 2012 10:47 pm
Re: Rift Pi
I packed six skybox videos into one 1080P video. I use the video player source code in the RasPi SDK for fluid playback, then intercept each frame with frambuffer overlaid on skybox array. Code not finished yet (one of many works in progress)...Vissari8 wrote:So I've seen several forum posts about the Rift functioning on the Raspberry Pi.
So now I'm wondering if its possible to get a 360 video with head tracking watchable on the pi.
The pi has H.264 support, so ideally I'd make the video in that codec, send it over, then make a program with headtracking support?
I feel like I'm simplifying it too much, new to linux and coding. I greatly appreciate any help anyone can give me.
I use signal11 hidapi for rift tracker data, and for razer hydra data. My tracker code requires accurate calibration, so simplification needed...
This work is licensed under a Creative Commons Attribution-ShareAlike 3.0 Unported License.
-
- One Eyed Hopeful
- Posts: 2
- Joined: Wed May 14, 2014 11:36 am
Re: Rift Pi
So if I'm understanding this right,
hiadpi (hid.c over hid-lidusb.c i'm assuming) lets the video player source code view the tracking data?
And where do you get the skybox array?
hiadpi (hid.c over hid-lidusb.c i'm assuming) lets the video player source code view the tracking data?
And where do you get the skybox array?
-
- Petrif-Eyed
- Posts: 2708
- Joined: Sat Sep 01, 2012 10:47 pm
Re: Rift Pi
There is a skybox demo. You can link hidapi.c to it. I allocated a static array, and I use that memory as a framebuffer where the video decoder sticks each frame for the head-tracked skybox demo. I warp by reflecting off overlapping spheres in my skybox shader.Vissari8 wrote:So if I'm understanding this right,
hiadpi (hid.c over hid-lidusb.c i'm assuming) lets the video player source code view the tracking data?
And where do you get the skybox array?
This work is licensed under a Creative Commons Attribution-ShareAlike 3.0 Unported License.