Closed emartinez-dev closed 11 months ago
I have created a scene with a yellow floor and it's working on your plane branch @Juan-aga , here it is!
This is the .rt file:
A 0.1 255,255,255
L -5,7,5 0.5 255,255,255
C 0,0,0 0,0,1 120
pl 0,-0.0001,0 0,1,0 255,255,0
Implement the plane object, including intersection calculations and shading, to render planar surfaces in the scene.
Plane (pl):
pl <x,y,z coordinates> <3D normalized normal vector> <R,G,B colors>