summaryrefslogtreecommitdiff
AgeCommit message (Expand)Author
2022-04-15Fix vec3::reflect. Add tests for vec3::reflect and vec3::is_zero.Keuin
2022-04-15Remove unused macros.Keuin
2022-04-15Fix indirect inclusion.Keuin
2022-04-15Fix bad inclusion cause code not compiling.Keuin
2022-04-15Code Refactor:Keuin
2022-04-15Add vec3::is_zero and vec3::reflect. (not tested)Keuin
2022-04-14Make hitlist<T> no longer a generic class (but hitlist::color<T>(...) is now ...Keuin
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-14Delete default constructor of random_uv_gen.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-14Remove viewport8b and basic_viewport8b.Keuin
2022-04-14Use flexible intermediate color depth when rendering.Keuin
2022-04-14Add pixel and bitmap color depth conversion.Keuin
2022-04-13Global diffuse lighting. (gamma not corrected)Keuin
2022-04-13Threaded antialiasing.Keuin
2022-04-13Remove const qualifier to gain move semantic.Keuin
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
2022-04-12Refactor: move hitlist, object, sphere, viewport into single files.Keuin
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
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 vec3::mod2.Keuin
2022-04-12Add comments.Keuin
2022-04-12Add bitmap::print for printing ASCII text.Keuin
2022-04-12Optimize sphere hit calculation.Keuin
2022-04-12Inline util methods.Keuin
2022-04-12Improve comments.Keuin
2022-04-12Make object::hit provides hit time t.Keuin
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 stre...Keuin
2022-04-12Add basic object hit rendering.Keuin
2022-04-11Decouple viewport size and generated image size.Keuin
2022-04-11Implement ray3, timer and a simple viewport scanner.Keuin
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 vecto...Keuin