Beta Phase: Square45 is currently in beta testing. Expect some features or content to be incomplete or missing.
45

Reflection

The law stating that when light strikes a surface, it bounces back according to the angle of incidence, as described by the law of reflection: \angle of incidence = \angle of reflection.
📜

The statement of the theorem

Let IR3\mathbf{I} \in \mathbb{R}^3 be the unit vector representing the incident ray, and let NR3\mathbf{N} \in \mathbb{R}^3 be the unit normal vector to the reflecting surface at the point of incidence. The reflected ray vector R\mathbf{R} is defined by the vector reflection formula:\n\nR=I2(IN)N\mathbf{R} = \mathbf{I} - 2 \left( \mathbf{I} \cdot \mathbf{N} \right) \mathbf{N}\n\nFurthermore, the condition for specular reflection requires that the angle θi\theta_i between I\mathbf{I} and N-\mathbf{N} (the direction into the surface) equals the angle θr\theta_r between R\mathbf{R} and N\mathbf{N} (the direction away from the surface). This is equivalent to the requirement that the component of I\mathbf{I} parallel to the surface is preserved, leading to the geometric constraint: RN=IN\mathbf{R} \cdot \mathbf{N} = -\mathbf{I} \cdot \mathbf{N}.
Source: Wikipedia