Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

The batching that Disney is doing is a very recent direction and not something that is common - PBRT serves as a straight forward reference implementation.

You are right though that it would be fascinating to see the speed difference. My guess is that it would be substantial.

Even compiling PBRT with Intel C++ instead of Microsoft's C++ compiler gives a %30 - %50 speedup, likely due to reordering instructions for better memory coherency on a granular level (batching rays would give better memory coherency on a very broad level).



It would be interesting to see PBRT re-written with C++ 11/14 idioms, and look at how that affects the execution speed as well.


That's also true, PBRT uses a lot of virtual functions.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: