Skip to content

Commit

Permalink
easyvolcap: bug fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
dendenxu committed Apr 5, 2024
1 parent 8d889d9 commit 121dffd
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions easyvolcap/runners/volumetric_video_viewer.py
Original file line number Diff line number Diff line change
Expand Up @@ -457,6 +457,7 @@ def draw_camera_gui(self, batch: dotdict = dotdict(), output: dotdict = dotdict(
if self.acc_time >= frame_time:
self.acc_time = 0
self.camera.t = (self.camera.t + 1 / self.dataset.frame_range) % 1
self.camera.t = int(self.camera.t / (1 / self.dataset.frame_range)) * self.dataset.frame_range
else:
self.camera.t = (self.camera.t + self.playing_speed) % 1

Expand Down

0 comments on commit 121dffd

Please sign in to comment.