Forum Discussion

🚨 This forum is archived and read-only. To submit a forum post, please visit our new Developer Forum. 🚨
philipro's avatar
philipro
Honored Guest
11 years ago

Streaming 2x webcams to dk2

Hello, I am new to Oculus development. I want to stream video from two webcams to the oculus (DK2). I found some examples where people have modified the OculusWorldDemo to display a camera feed. However, this was for DK1, and I am having problems porting the code to DK2.

Is anyone doing something similar/knowing someone who does something similar? Would be of much help do discuss the topic with someone a little bit more experienced than me ;)

2 Replies

  • I have done it, but with professional USB3 cameras. My code is available on my github account. But I have done the integration with OpenSceneGraph, a high level layer built on top of OpenGL. So it may not be what you are looking for.

    In principle what I am doing is capturing the image from the camera, apply it as a texture to a screen aligned quad (one for each eye) and then render the image out with Oculus distortion along with my augmented reality 3D geometry.

    For a more detailed description I recommend reading the blog post from British researcher William Steptoe. He have used webcameras and described his process in a multi part blog:
    http://willsteptoe.com/post/66968953089/ar-rift-part-1