Enable rendering with crop (#1295)

This commit is contained in:
Matthew Tancik authored and GitHub committed 2023-01-26 14:22:43 -08:00
1 parent f0c102ca58
commit b5031dd814
5 files changed
+162 -54

No files matched your search

+1 -1
View File
@@ -314,7 +314,7 @@ class Cameras(TensorDataclass):
distortion_params_delta: Optional[TensorType["num_rays":..., 6]] = None,
keep_shape: Optional[bool] = None,
disable_distortion: bool = False,
aabb_box: SceneBox = None,
aabb_box: Optional[SceneBox] = None,
) -> RayBundle:
"""Generates rays for the given camera indices.