diff options
| author | ladevieq <ladevie.quentin@gmail.com> | 2021-08-01 16:48:27 +0200 |
|---|---|---|
| committer | ladevieq <ladevie.quentin@gmail.com> | 2021-08-01 16:48:27 +0200 |
| commit | 0dafba17af044532fa2f14c61176e7994336f56c (patch) | |
| tree | 076570f30f590b44e7e076ae497fddd18fd80ed9 /src/main.cpp | |
| parent | 17ccf3158443a245ceeabc49cd62f50129a8852d (diff) | |
Use SAH to generate BVH & fix ray triangle intersection
Diffstat (limited to 'src/main.cpp')
| -rw-r--r-- | src/main.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main.cpp b/src/main.cpp index 2634371..d0500e7 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -57,7 +57,7 @@ int main() { point3 position = { 13.0, 2.0, -3.0 }; point3 target = { 0.0, 0.0, 0.0 }; - auto v_fov = 20; + auto v_fov = 90; auto aperture = 0.1; auto focus_distance = 10; auto cam = camera(position, target, v_fov, (float)width / (float)height, aperture, focus_distance); |
