xelatihy / yocto-gl

Yocto/GL: Tiny C++ Libraries for Data-Driven Physically-based Graphics

Home Page:https://xelatihy.github.io/yocto-gl

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

CPU raytracing optimization

xelatihy opened this issue · comments

Consider optimization found in madmann bvh.

  • box intersection code
  • sorted walk, instead of ray direction flags
  • understand leaf exploration code
  • use preprocessor for performance comparison
  • consider binned sah build

Initial tests suggest little improvements over the current version. More tests are required though.