pt-three-ways icon indicating copy to clipboard operation
pt-three-ways copied to clipboard

Path tracing, done three ways

Results 7 pt-three-ways issues
Sort by recently updated
recently updated
newest added

When building with clang, the `Unpredictable::any` workaround will still cause multiple branches, playing havoc with the branch predictor. Clang has a way to define a branch as being [unpredictable](https://clang.llvm.org/docs/LanguageExtensions.html#builtin-unpredictable) and...

You had the exact same calculation for rPerpendicular and rParallel. (I asked you about my own ray tracer on Twitter earlier in the week, hope this helps you as well.)

by computing v dot product only if necessary. This increases suzanne performance by roughly 20% on my machine

Not an issue but here my results. A bit more consistent as opposed to what you mentioned in the talk. Intel(R) Core(TM) i7-7700HQ CPU @ 2.80GHz (governor performance) Linux 5.1.11-300.fc30.x86_64...

I very much liked the talk. I would be really interested in how these three techniques would compare performance-wise, if a bounding volume hierarchy, like a k-d tree were to...