summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2022-04-12Improve comments.Keuin
2022-04-12Make object::hit provides hit time t.Keuin
Visualize normal vector at hit point. Add pixel<T>::from_normalized(const vec3d&) for visualizing normal vector.
2022-04-12Add comments in class ray3.Keuin
2022-04-12Add DEBUG macro for future usage.Keuin
2022-04-12Bugfix: fixpoint on ray is calculated incorrectly, causing objects being ↵Keuin
stretched.
2022-04-12Add basic object hit rendering.Keuin
Add NOPRINT environ switch. Add demo sphere rendering.
2022-04-11Decouple viewport size and generated image size.Keuin
Use cli parameters to control simple_scanner.
2022-04-11Implement ray3, timer and a simple viewport scanner.Keuin
Fix bitmap wrong pixel sequence. Remove default constructor of bitmap. Add pixel mixture method.
2022-04-11Implement vec3::zero().Keuin
2022-04-11Fix vec.h multiple inclusion.Keuin
2022-04-11Implement vec3 scalar and vector product, product by a scalar, get unit ↵Keuin
vector and print to ostream. Fix wrong vec3 norm implementation.
2022-04-11Implement bitmap and PPM serialization (with a demo program).Keuin
2022-04-11Test vec3 minus and cross product. Fix missing const qualifier in overloaded ↵Keuin
operators.
2022-04-11Add specialized eq for vec3l equality.Keuin
2022-04-11Create LICENSEKeuin
Licensed under GPLv3.
2022-04-11Basic 3d vector operations. Testing with GoogleTest.Keuin