mirror of
https://github.com/nerfstudio-project/nerfstudio.git
synced 2026-11-20 22:56:03 +08:00
Add time controls to viewer (#1764)
This commit is contained in:
1 parent
ea14152ae6
commit
b7fd273638
15 files changed
+280
-15
No files matched your search
@@ -155,7 +155,7 @@ class RenderStateMachine(threading.Thread):
|
||||
cy=intrinsics_matrix[1, 2],
|
||||
camera_type=camera_type,
|
||||
camera_to_worlds=camera_to_world[None, ...],
|
||||
times=torch.tensor([0.0]),
|
||||
times=torch.tensor([self.viewer.control_panel.time], dtype=torch.float32),
|
||||
)
|
||||
camera = camera.to(self.viewer.get_model().device)
|
||||
|
||||
|
||||
Reference in new issue
Block a user