summaryrefslogtreecommitdiff
path: root/hitlist.h
AgeCommit message (Collapse)Author
2022-04-15Remove unused macros.Keuin
2022-04-15Code Refactor:Keuin
- Add material class. - Move diffuse routine into separate material classes.
2022-04-14Make hitlist<T> no longer a generic class (but hitlist::color<T>(...) is now ↵Keuin
a generic member function).
2022-04-14Move decay accumulation to ray3<T>.Keuin
2022-04-14Implement Lambertian Reflection and Hemispherical Reflection.Keuin
2022-04-14Fix shadow acne problem.Keuin
2022-04-13Global diffuse lighting. (gamma not corrected)Keuin
Some operations on pixel<T>. Make ray3 support copy semantic. Fix vec3 operands does not filter out vec3-vec3 as parameters. random_uv_gen generating random unit vectors.
2022-04-13Generalize hitlist and basic_viewport. (HDR in the future)Keuin
2022-04-12Refactor: move hitlist, object, sphere, viewport into single files.Keuin
Add bias_ctx for setting sub-pixel sampling bias.