Yes, you can do this in SRWorks now. Please try the following steps:
[in Attached Pic 1]
1. Place a quad under "[ViveSR]->DaulCamera(head)->TrackedCamera(Left)->Anchor(Left)" (As a sibling to ImagePlane-left, and also, check the layer is still "Default")
2. Make the quad local position=(0,0,2), scale=(4.57, 3.42, 1). (I believe that is what you mentioned "does not have the same proportion")
3. Use CameraDepthMaskMaterial, Color Write to "None" (Set to "All" for visualization)
[in Attached Pic 2]
4. When running with enabling depth processing, check the toggle box "Update Depth Material"
5. You can try to toggle some other settings in the blue squares
Use Depth Image to Occlude Virtual Objects in Unity
in VIVE SRWorks SDK
Posted
Hi pablocael,
Yes, you can do this in SRWorks now. Please try the following steps:
[in Attached Pic 1]
1. Place a quad under "[ViveSR]->DaulCamera(head)->TrackedCamera(Left)->Anchor(Left)" (As a sibling to ImagePlane-left, and also, check the layer is still "Default")
2. Make the quad local position=(0,0,2), scale=(4.57, 3.42, 1). (I believe that is what you mentioned "does not have the same proportion")
3. Use CameraDepthMaskMaterial, Color Write to "None" (Set to "All" for visualization)
[in Attached Pic 2]
4. When running with enabling depth processing, check the toggle box "Update Depth Material"
5. You can try to toggle some other settings in the blue squares
6. There you go :smileyhappy: !
Cheers