My output for the sphere and plane image is really strange, I would assume the problem is with my viewing ray, but I followed the formula from the slides so I'm not sure what I could be doing wrong.
edit: nvm, flipped i and j, and v needs to be multiplied by -1 since we're starting at the top left:,)
My output for the sphere and plane image is really strange, I would assume the problem is with my viewing ray, but I followed the formula from the slides so I'm not sure what I could be doing wrong. edit: nvm, flipped i and j, and v needs to be multiplied by -1 since we're starting at the top left:,)