emartinez-dev / miniRT

This project is an introduction to the beautiful world of Raytracing. Once completed you will be able to render simple Computer-Generated-Images and you will never be afraid of implementing mathematical formulas again.
The Unlicense
2 stars 0 forks source link

BUG: Tabs in .rt file are causing crashes and segfaults #21

Closed emartinez-dev closed 1 year ago

emartinez-dev commented 1 year ago

This scene does not take the ambient light ratio because it has a tab before the brightness:

C   0,0,40   0,0,-1  30
L  -2.25,30,-11.83  0.9  213,240,149
A   0.6 213,240,149