Skip to content

Version 1.2

Choose a tag to compare

@LandonTheCoder LandonTheCoder released this 04 Oct 20:29
· 68 commits to main since this release
v1.2
c69d054

This release most notably adds JPEG support (via libjpeg). (It also has untested code for libturbojpeg 3, but that code is not activated in this release.)

Some other changes:

  • It adds a bitmap::write_to_file() function which determines which writer to use based on a file type argument.
  • It makes minor changes to PNG support (like setting DPI explicitly and avoiding a signed-unsigned comparison).
  • Implement the "-" option (which selects standard output)
  • Uncomment the line in raytracer.c++ setting the "samples per pixel" setting. I had it disabled so I could test faster, but I forgot to do it before I released version 1.1. This setting raises image quality at the cost of longer runtime.

I still need to test this code on Windows, though.