Forum Discussion
philipro
11 years agoHonored Guest
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 ;)
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
- VrallyProtegeI 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 - philiproHonored GuestThank you, I will look into it :)
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
- 4 months ago