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.
I was trying to make a box with planes, but I discovered that the position of the plane is always at the center of the screen, the only thing that changes the plane is the position of the light, making it brighter when light is far.
This is the map and I will attach some images of the bug:
A 0.5 255,255,255
L 0,2,0 0.2 255,255,255
C 0,0,0 0,0,1 60
pl 0,-10,0 0,1,0 255,255,0
I was trying to make a box with planes, but I discovered that the position of the plane is always at the center of the screen, the only thing that changes the plane is the position of the light, making it brighter when light is far.
This is the map and I will attach some images of the bug: