mirror of
https://github.com/nerfstudio-project/nerfstudio.git
synced 2026-11-17 05:14:15 +08:00
throttling rendering resolution (#256)
This commit is contained in:
1 parent
6281896e1d
commit
035c911574
1 file changed
+2
-1
@@ -312,8 +312,9 @@ class VisualizerState:
|
||||
if min_resolution:
|
||||
self.min_resolution = min_resolution
|
||||
|
||||
damped_upsacale_factor = 1 if self.res_upscale_factor < 8 else self.res_upscale_factor
|
||||
image_height = min(
|
||||
self.min_resolution * self.res_upscale_factor,
|
||||
self.min_resolution * damped_upsacale_factor,
|
||||
self.max_resolution,
|
||||
)
|
||||
intrinsics_matrix, camera_to_world_h = get_intrinsics_matrix_and_camera_to_world_h(
|
||||
|
||||
Reference in new issue
Block a user