Silly Error # 0: Not checking all necessary boundaries:
I forget what caused the speckled/noisy consistency. I think I was making normal t values negative, which later caused me to disregard them...
Success:
The slight distortion is correct because the eye is at (0,5,2). +Z is up.
Step Two: Hit a Box
Silly Error # 1: Checking wrong Axes-
Silly Error # 2: Adding negative signs to t value for the...fun of it.
Finally successful:
I chose to shade according to axis. Faces with a normal parallel to X got red, Y got green, and Z got blue.
I was worried that I was missing the sides, so I changed the eye position to (3,5,2). This verified I was getting all sides.
No comments:
Post a Comment