Revert the canvas size to the one from the chapter

This commit is contained in:
Godzil
2020-02-20 16:20:20 +00:00
parent daef0c078f
commit d4fae2dbe2
4 changed files with 22 additions and 1 deletions

View File

@@ -4,3 +4,24 @@ DoRayMe
======= =======
A Quick and dirty raytracer. A Quick and dirty raytracer.
This raytracer is made following the book "[The Ray Tracer Challenge](https://pragprog.com/book/jbtracer/the-ray-tracer-challenge)" by Jamis Buck.
It is writen in C++ with no STL and use [LodePNG](https://github.com/lvandeve/lodepng) to output PNG file.
Examples outputs
----------------
From chapter 05:
![Chapter 5 rendering test](output/ch05_test.png)
From Chapter 06:
![Chapter 6 rendering test](output/ch06_test.png)
From Chapter 07:
![Chapter 7 rendering test](output/ch07_test.png)

BIN
output/ch5_test.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 273 B

BIN
output/ch6_test.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.4 KiB

BIN
output/ch7_test.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 80 KiB