Omnidirectional Stereo Update - Alignment and Compositing (#2217)

Update to omnidirectional stereo rendering (VR 360) to fix slight positional alignment to accurately composite with Blender objects. Modified documentation for ODS and the Blender add-on to include details on Blender camera settings to composite with the Nerfstudio ODS camera model.
This commit is contained in:
Cyrus Vachha authored and GitHub committed 2023-07-13 07:59:10 -07:00
1 parent cebe787bed
commit 554dec77f2
3 files changed
+13 -8

No files matched your search

+1 -2
View File
@@ -694,8 +694,7 @@ class Cameras(TensorDataclass):
# circle of ODS ray origins
ods_origins_circle = (
ods_cam_position
+ isRightEye * (vr_ipd / 2.0) * (ods_x_axis.repeat(c2w.shape[1], 1)) * (torch.cos(ods_theta))[:, None]
isRightEye * (vr_ipd / 2.0) * (ods_x_axis.repeat(c2w.shape[1], 1)) * (torch.cos(ods_theta))[:, None]
+ isRightEye * (vr_ipd / 2.0) * (ods_z_axis.repeat(c2w.shape[1], 1)) * (torch.sin(ods_theta))[:, None]
)