Search Unity

Live Webcam Feed Depth Map

Discussion in 'Editor & General Support' started by jessekirbs, Apr 8, 2014.

  1. jessekirbs

    jessekirbs

    Joined:
    Apr 4, 2014
    Posts:
    16
    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 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.
     
unityunity