karansher / computer-graphics-ray-tracing

Computer Graphics Assignment about Ray Tracing
0 stars 0 forks source link

Choosing epsilon for shadow ray implementation #4

Open casseyshao opened 2 years ago

casseyshao commented 2 years ago

Hi I saw in the textbook that it mentioned choosing a small positive constant epsilon for shadow ray implementation. I was wondering how we know what is an appropriate value for epsilon?

Screen Shot 2022-09-28 at 3 00 09 PM
casseyshao commented 2 years ago

Is there a way to determine the value that is not trial and error?

Ming-Yeung-Alfred-Meng commented 2 years ago

I guess it depends on how close the objects in your scene are.