Skip to content

grantsadie/Raytracing-non-RT

Repository files navigation

Raytracing non-RT

For the different diffuse methods, the random_in_unit_sphere uses any point in a sphere around the normal unit vector point.

Unit sphere diffuse

The random_unit_vector diffuse method uses points ON the sphere surface (unit vector). This way, we get points with direction closer to the normal.

Unit vector diffuse

The random_in_hemisphere will only use points pointing in the same hemisphere as the normal, or in other words, rejecting all points that are over 90 degrees in difference from the normal.

Unit vector diffuse

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published