Pt Three Ways Save

Path tracing, done three ways

Project README

Path tracing, done three ways

Some code sketchings for an idea I have to do a presentation on the effects of different coding styles on design and performance. It's a trivial path tracer (an extended homage to smallpt.cpp) implemented three different ways. It's not meant to be complete, or correct. Or even performant in a traditional sense (at the time of writing it has no bounding volume hierarchy acceleration).

"Ways" of implementing the code:

  1. Traditional OO with interfaces and virtual calls
  2. Functional style using std::variant, optional, ranges
  3. Data-oriented design
Open Source Agenda is not affiliated with "Pt Three Ways" Project. README Source: mattgodbolt/pt-three-ways
Stars
190
Open Issues
7
Last Commit
3 years ago
License
MIT

Open Source Agenda Badge

Open Source Agenda Rating