diff options
author | Kartik Agaram <vc@akkartik.com> | 2020-10-04 23:12:21 -0700 |
---|---|---|
committer | Kartik Agaram <vc@akkartik.com> | 2020-10-04 23:12:21 -0700 |
commit | cdff5d73ceaa269bc1d262d6f7b6fdda794de56b (patch) | |
tree | f8c24e29b471fd9e020aa954e94d3d1882051bcc /402time.mu | |
parent | 00af72ccb0d342feda053191793678e41548ee72 (diff) | |
download | mu-cdff5d73ceaa269bc1d262d6f7b6fdda794de56b.tar.gz |
6952 - raytracing: much better
The image is now visually indistinguishable from the baseline, though the file isn't quite bit-for-bit correct. I found 3 bugs: a) I forgot to normalize the ray. After creating a helper to "automatically" do it for me, it turns out said helper requires manually using. b) I forgot to multiply by t at one place. c) vec3-length was half-written. For the umpteenth time, the bugs were all in the last place I looked. I was worried about spending a lot of time transcribing `main` without any feedback, but that turned out to be perfect.
Diffstat (limited to '402time.mu')
0 files changed, 0 insertions, 0 deletions