Forum Discussion
VRex
12 years agoProtege
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.
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
- diablosv21Honored GuestI'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.
- VRexProtegeIt'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.
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
- 3 months ago
- 3 years agoAnonymous
- 2 months ago