ssloy/tinyraytracer

Can't get right render image.

0xEclair opened this issue · 2 comments

Used the corresponding code in wiki page, but got wrong picture.
Step 1:

image

Step 4:
image

(Also step 2 got a strange picture.)
IDE: visual studio community 2019 16.10.2(/std:c++latest)
CPU: r5 5600x

I have no idea about it. Thank you very much!

Thank you for your response!
Solved the problem by setting ofstream mode.