Projects
View on GitHub
mattgodbolt/pt-three-ways
About
Path tracing, done three ways
Design & MediaMeasured star growth
- in 24h
- 0
- in 7 days
- 0
- in 15 days
- +1
- in 1 month
- Collecting history
Net star changes over overlapping periods, not daily totals. Missing measurements are left blank. Stars measure attention, not software quality.
README.md
OriginalPath 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:
- Traditional OO with interfaces and virtual calls
- Functional style using std::variant, optional, ranges
- Data-oriented design
Explore related projects
Loading…