Describe normalization transformation in computer graphics
Answers
Answered by
0
Normalization operation makes a given vector unit length.
This is very useful and effective (processing-wise) for subsequent operations.
e.g. A dot B = |A||B|cos(angle)
So if your normals are already unit-length then cosine of the angle between A and B is simply its dot product. This operation is done many, many times for shading.
Another quick example, you can displace a certain set of vertices along their normals by a scale-factor. If the normals are unit-length then the scalar value for scale-factor is the displacement amount itself.
This is very useful and effective (processing-wise) for subsequent operations.
e.g. A dot B = |A||B|cos(angle)
So if your normals are already unit-length then cosine of the angle between A and B is simply its dot product. This operation is done many, many times for shading.
Another quick example, you can displace a certain set of vertices along their normals by a scale-factor. If the normals are unit-length then the scalar value for scale-factor is the displacement amount itself.
Similar questions