dilevin / computer-graphics-ray-casting

Computer Graphics Assignment about Ray Casting
2 stars 6 forks source link

Bunny is very slow to run #75

Closed Anesthez closed 5 hours ago

Anesthez commented 5 hours ago

I implemented the triangle intersection by solving the matrix according to lecture notes, but when I run bunny.json it is extremely slow. It takes over 30 minutes to run for my mac. Does anyone have same issue?

dilevin commented 5 hours ago

Make sure you compile your code in release mode (so in linux do "cmake .. -DCMAKE_BUILD_TYPE=Release" then recompile via the make file. This can make a huge performance difference.

Anesthez commented 5 hours ago

thank you, solved