summaryrefslogtreecommitdiff
path: root/main_simple_scanner.cpp
AgeCommit message (Collapse)Author
2022-04-16Add dielectric material. (glass ball)Keuin
2022-04-15Print notice if assertion is disabled.Keuin
2022-04-15Add fuzzy reflective material.Keuin
2022-04-15Smaller font size.Keuin
2022-04-15Add scene for reflective material.Keuin
2022-04-15Move diffusive into material_diffusive. Add material_reflective.h.Keuin
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-14Add text_policy for bitmap::print, supporting auto newline.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-13Use basic_viewport8b if antialiasing is not enabled.Keuin
2022-04-13Antialiasing. (not parallelized)Keuin
2022-04-13Simplify bias_ctx's constructor.Keuin
2022-04-13Generalize hitlist and basic_viewport. (HDR in the future)Keuin
2022-04-13Rename viewport to basic_viewport.Keuin
Extract interface viewport.
2022-04-12Refactor: move hitlist, object, sphere, viewport into single files.Keuin
Add bias_ctx for setting sub-pixel sampling bias.
2022-04-12Refactor: Separate hitlist out from viewport.Keuin
2022-04-12Bugfix: caption won't print if the image is too small.Keuin
2022-04-12Caption printing is configurable as a cli parameter.Keuin
2022-04-12Bugfix: object hit priority is incorrect.Keuin
Replace unique_ptr with shared_ptr.
2022-04-12Add range restriction support in object::hit.Keuin
2022-04-12Bugfix: output image is upside down.Keuin
2022-04-12Add the earth. (now we've found a bug)Keuin
2022-04-12Replace dot with mod2.Keuin
2022-04-12Add comments.Keuin
2022-04-12Optimize sphere hit calculation.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-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.