Closed pranavrao145 closed 1 month ago
I had something similar and I increased my maximum recursion depth by 1 to fix this
So should we keep the max_depth as 10 or 11 in that case ?
Whichever works for you, I think. I have it at 11
I can confirm that setting it at 11 does in fact fix my problem. Thanks a lot @jennicao!
Awesome! Glad I could help :)
Hello,
When comparing the output
sphere-packing.json
with ImageMagick, I'm having a very very small difference between the expected output and mine. Below is the difference (red specks):I suspect the fudge factor but nothing I've tried has worked so far. To get the output above, I'm adding
1e-9 * n
to the origins of both the mirror ray and the shadow ray, and passing in1e-4
asmin_t
tofirst_hit
in both of these scenarios. Every change I've tried so far has made it stay either the same or made it much worse.Does anyone have any ideas on how I can fix this? Thanks in advance!