1 - Clipping
2 - Ray Tracing
3 - Translucency (subsurface scattering)
4 - Shadows
5 - Checkerboard Floor
I will make a swiss cheese in our ray tracer. I will be making a block of cheese and aim to have the translucency of the slice of cheese shown in the 2 left images.
First triangle for the cheese prism:
Second triangle for the cheese prism:
Third triangle for the cheese prism (bug: third triangle is colored the same, but there's a shadow casted over it):
Full shape of the cheese.
Fixed weird shading shown from previous day. ("bug" is caused by the ordering of the vertices being wrong). Matched each triangle to the same color.