mirror of
https://github.com/nerfstudio-project/nerfstudio.git
synced 2026-11-12 10:55:57 +08:00
Record3D Bugfix: Removing Pose OpenGL Conversion (#521)
* added rescale factor. * merge and remove opengl conversion. * quick fix.
This commit is contained in:
1 parent
cb056f1dfe
commit
f885aba702
1 file changed
-3
@@ -105,9 +105,6 @@ class Record3D(DataParser):
|
||||
# convert to Tensors
|
||||
poses = torch.from_numpy(poses[:, :3, :4])
|
||||
|
||||
# convert OpenGL to OpenCV coordinate system
|
||||
poses = poses @ torch.diag(torch.tensor([1.0, -1.0, -1.0, 1.0]))
|
||||
|
||||
poses = camera_utils.auto_orient_poses(pose_utils.to4x4(poses), method=self.config.orientation_method)[
|
||||
:, :3, :4
|
||||
]
|
||||
|
||||
Reference in new issue
Block a user