Skip to content

Commit

Permalink
fix viewdir in baking
Browse files Browse the repository at this point in the history
  • Loading branch information
ashawkey committed Apr 13, 2023
1 parent 64972ad commit 4446801
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion nerf/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -653,7 +653,7 @@ def save_baking(self, loader, save_path=None):
'grid_height': LS,
'grid_depth': LS,
'slice_depth': 1,
'worldspace_T_opengl': [[-1, 0, 0, 0], [0, 0, 1, 0], [0, 1, 0, 0], [0, 0, 0, 1]],
'worldspace_T_opengl': [[1, 0, 0, 0], [0, 1, 0, 0], [0, 0, 1, 0], [0, 0, 0, 1]],
'min_x': -bound,
'min_y': -bound,
'min_z': -bound,
Expand Down

0 comments on commit 4446801

Please sign in to comment.