File tree 1 file changed +2
-2
lines changed
include/neural-graphics-primitives
1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -285,7 +285,7 @@ inline __host__ __device__ Ray pixel_to_ray(
285
285
};
286
286
head_pos *= dataset_scale;
287
287
head_pos += shift;
288
- dir -= shift / parallax_shift.z (); // we could use focus_z here in the denominator. for now, we pack m_scale in here.
288
+ dir -= shift / parallax_shift.z (); // we could use focus_z here in the denominator. for now, we pack m_scale in here.
289
289
}
290
290
else if (camera_mode == ECameraMode::Environment){
291
291
// Camera convention: XYZ <-> Right Down Front
@@ -321,7 +321,7 @@ inline __host__ __device__ Ray pixel_to_ray(
321
321
dir.head <2 >() += read_image<2 >(distortion_data, distortion_resolution, uv);
322
322
}
323
323
head_pos += shift;
324
- dir -= shift / parallax_shift.z (); // we could use focus_z here in the denominator. for now, we pack m_scale in here.
324
+ dir -= shift / parallax_shift.z (); // we could use focus_z here in the denominator. for now, we pack m_scale in here.
325
325
}
326
326
327
327
dir = camera_matrix.block <3 , 3 >(0 , 0 ) * dir;
You can’t perform that action at this time.
0 commit comments