Skip to content

Version 1.3.6

Choose a tag to compare

@LandonTheCoder LandonTheCoder released this 24 Oct 17:15
· 19 commits to main since this release
v1.3.6
92cf7cb

This release optimizes the bitmap::write_as_bmp_btt() method so that each line of the image is buffered before write. In the gradient-test program, it made BMP images write about 5ms faster. It also makes the raytracer delete the file when exiting due to a Ctrl-C press instead of leaving an empty file.

Other changes:

  • The quirks code is rewritten in C++, and now contains line printer functions
  • If a command-line argument has already been converted, it will return the same result created before instead of having a duplicate copy (which wastes memory).
  • The argument parser was refactored so that the case-insensitive "string ends with" code is implemented as a method.
  • In the multithreaded renderer, the thread creation code was rewritten in a slightly cleaner way by requesting the vector create them in-place instead of having a creation call on our side.