karansher / computer-graphics-ray-tracing

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

Faulty Fudge Factor #38

Open MicheleMassa802 opened 1 year ago

MicheleMassa802 commented 1 year ago

I get what seems to be the fudge factor shadow error shown in lecture (img 1), but I only get it for the object (img2), not for the surface unlike the sample image from the lectures. When I increase my fudge factor to ~1 (when it should be more around 1e-4 - 1e-9 from what I heard from the TA), I start getting the objects rendered nicely but my shadows are obviously affected by this too (get much smaller). Has this happened to anyone, I have poked with fudge factors and my shadow casting for so long, but I can't seem to get it right? badball Ball