mirror of
https://github.com/graphdeco-inria/gaussian-splatting
synced 2024-11-22 00:08:02 +00:00
fix depth file path for synthetic scenes
This commit is contained in:
parent
9375aa7664
commit
a2a91d9093
@ -262,7 +262,7 @@ def readCamerasFromTransforms(path, transformsfile, depths_folder, white_backgro
|
||||
FovY = fovy
|
||||
FovX = fovx
|
||||
|
||||
depth_path = os.path.join(depths_folder, f"{image_name}_depth_0002.png") if depths_folder != "" else ""
|
||||
depth_path = os.path.join(depths_folder, f"{image_name}.png") if depths_folder != "" else ""
|
||||
|
||||
cam_infos.append(CameraInfo(uid=idx, R=R, T=T, FovY=FovY, FovX=FovX,
|
||||
image_path=image_path, image_name=image_name,
|
||||
|
Loading…
Reference in New Issue
Block a user