Skip to content
This repository has been archived by the owner on Feb 1, 2025. It is now read-only.

Commit

Permalink
Small modification, prepare to test against pbrt-v3
Browse files Browse the repository at this point in the history
  • Loading branch information
Enigmatisms committed Mar 22, 2023
1 parent 82da1ff commit 6dcc227
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
*.png
*.jpg
*.ini
*.data

Expand Down
2 changes: 1 addition & 1 deletion renderer/bdpt.py
Original file line number Diff line number Diff line change
Expand Up @@ -347,7 +347,7 @@ def connect_path(self, i: int, j: int, sid: int, tid: int, decomp: int):
weight = 1.0
result = le * weight
if result.max() == 0.: ret_time = 0.
return le * weight, raster_p, ret_time
return result, raster_p, ret_time

@ti.func
def update_endpoint(self, cam_end: ti.template(), lit_end: ti.template(), i: int, j: int, idx_t: int, idx_s: int):
Expand Down

0 comments on commit 6dcc227

Please sign in to comment.