An unfinished raytracer/pathtracer/bidirectional pathtracer
Find a file
Bruno BELANYI 3b5410aef9 library: render: scene: add hemisphere sampling
This method takes a given normal, and computes a random ray in the
unit-hemisphere described by that normal.

We use cosine-weighted importance sampling because it leads to better
convergence and is a nice micro-optimisation (from four trigonometric
operations to only two).
2020-03-25 00:12:05 +01:00
beevee beevee: bvh: use Intersected trait for objects 2020-03-24 21:55:51 +01:00
pathtracer library: render: scene: add hemisphere sampling 2020-03-25 00:12:05 +01:00
.gitignore project: add Cargo project files 2020-03-08 16:22:44 +01:00
.gitlab-ci.yml project: use non-nightly image by default in CI 2020-03-16 16:36:13 +01:00
.rustfmt.toml project: add default formatting configuration 2020-03-08 17:27:30 +01:00
Cargo.toml beevee: add library to workspace 2020-03-24 21:47:14 +01:00