metrics and render file

This commit is contained in:
Ethan Weber committed 2023-06-10 18:17:28 +00:00
1 parent 12fbbfdd37
commit b03e9beccd
2 files changed
+14 -20

No files matched your search

+2 -1
View File
@@ -377,7 +377,8 @@ class RenderTrajectory:
assert_never(self.traj)
# check if visibility is a desired output. if not, disable it for fast rendering
if "visibility" not in self.rendered_output_names:
turn_off_visibility = not any("visibility" in output_name for output_name in self.rendered_output_names)
if turn_off_visibility:
pipeline.model.visibility_field = None
_render_trajectory_video(