Forum Discussion

🚨 This forum is archived and read-only. To submit a forum post, please visit our new Developer Forum. 🚨
VRex's avatar
VRex
Protege
12 years ago

Live Webcam Depth Map

Hey guys,

I have a live webcam feed that is being displayed on a plane in my Unity project using the AV Pro Live Camera asset (creates a texture that uses the webcam's feed). My question is this: If the webcam is displaying a black and white image, is it possible to use this live webcam feed as a depth map on the geometry that is being textured with the cam's feed? I want the geometry that is displaying the camera's feed to have varying depths within VR depending on what image is on the webcam.

If anyone could point me in the right direction or tell me if it's even possible, I would really appreciate it. Also, if you have an idea of how to get this to work, I would be willing to pay for someone to get me a working demo. Thanks in advance.

2 Replies

Replies have been turned off for this discussion
  • I'm not 100% sure what you mean, but webcams do not provide any depth information. For that you would need to use a Kinect, or something to that effect.
  • It's a little hard to explain exactly what I mean, but a depth map essentially takes a greyscale map (black being lowest, white being highest) and applies it to geometry to create 3D geometry. I was wondering if anything like this was possible in Unity.