Given two vectors of the same dimension, each component of the vector is multiplied and then added to create a scalar value.
Relationship between Vector innerdot product and Rrigonometric
Scalar projection
The distance (size) from the starting point to the projected point.
∴
In here,
$$\hat{r}=\frac r{|r|}$$
Vector projection
Thevectorfrom the starting pointto the projected point.
projected to
It means that has the length from onto the direction perpendicular to , and finding a vector that has the same direction as .
: is represented the vector that onto the direction perpendicular to .
: variable
∴
Lambertian reflection
When a light source emits direct sunlight toward an object, the intensity of the light reflected on the surface of the light is proportional to the cos(θ) function of the angle between the two vectors.
: Vector in the direction the surface is facing
: Vector from surface to light source