dilevin / computer-graphics-ray-tracing

Computer Graphics Assignment about Ray Tracing
1 stars 5 forks source link

A3: Long time to ray-trace mirror.json? #18

Open EKarton opened 4 years ago

EKarton commented 4 years ago

Hi Professor David, I am currently trying to run the ray tracer for max. 2 recursive calls on the test case mirror.json on the CDF machines and even after 15 minutes it was not able to terminate. However, when I ran sphere-and-plane.json on my local machine, it took less than 30 seconds to finish. I've also compiled it with compiler optimizations.

Do you know if it is expected to run a long time for the test case mirror.json?

Thank you!

rarora7777 commented 4 years ago

Neither should take that long. Just to offer a comparative perspective, our reference solution runs sphere-and-plane in ~1s, and mirror in ~20s on a Release build.

Make sure you're actually running your release build, and that you're using the Release version of the hw2 library.

EKarton commented 4 years ago

Oh I see, thank you!