summaryrefslogtreecommitdiff
path: root/bitmap.h
AgeCommit message (Collapse)Author
2022-12-24Make it compile with MSVC.HEADmasterKeuin
2022-04-15Make ray3::decay_ distinguishable between different color channels.Keuin
2022-04-14Add text_policy for bitmap::print, supporting auto newline.Keuin
2022-04-14Specialize pixel::gamma2 for small values.Keuin
2022-04-14Add gamma2 correction.Keuin
2022-04-14Use flexible intermediate color depth when rendering.Keuin
Note: further debugging is needed. The output image quality won't be improved when using 16bit/32bit internal color depth.
2022-04-14Add pixel and bitmap color depth conversion.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-13Remove const qualifier to gain move semantic.Keuin
2022-04-13Antialiasing. (not parallelized)Keuin
2022-04-12Add bitmap::print for printing ASCII text.Keuin
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-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 bitmap and PPM serialization (with a demo program).Keuin