Skip to main content
Up and Coming
April 8, 2014

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.
    This topic has been closed for replies.

    2 replies

    Up and Coming
    April 11, 2014
    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.
    Scott Vandonkelaar Zero Latency - Inversion VR
    VRexAuthor
    Up and Coming
    April 12, 2014
    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.
    Jesse Kirberger