Is there a reason why w_i is pointed outwards away from the surface as opposed to pointed towards the surface — is it just so that the equation is easier to understand/comprehend? I thought w_i, being the incoming ray, should be pointed towards the incident surface
fywu85
wi and wo are simply the two distinct equal-length outward-pointing vectors along the path of a reflected light. The point of the left diagram is to show that a perfect reflection will satisfy wo=−wi+2(wi⋅n⃗)n⃗. I can see why this could be confusion since lights would travel in the direction of wi and −wo (or −wi and wo).
jenzou
To emilyzhong, fywu85: I believe wi points outwards away from the surface so that cosθ is equal to the dot product between wi and n⃗. If it pointed towards the surface, then we can get the same result by replacing wi with −wi.
Is there a reason why w_i is pointed outwards away from the surface as opposed to pointed towards the surface — is it just so that the equation is easier to understand/comprehend? I thought w_i, being the incoming ray, should be pointed towards the incident surface
wi and wo are simply the two distinct equal-length outward-pointing vectors along the path of a reflected light. The point of the left diagram is to show that a perfect reflection will satisfy wo=−wi+2(wi⋅n⃗)n⃗. I can see why this could be confusion since lights would travel in the direction of wi and −wo (or −wi and wo).
To emilyzhong, fywu85: I believe wi points outwards away from the surface so that cosθ is equal to the dot product between wi and n⃗. If it pointed towards the surface, then we can get the same result by replacing wi with −wi.