Normaalit
Normaalit are vectors perpendicular to a surface at a given point, used to describe the orientation of that surface. In three-dimensional geometry and computer graphics, a surface normal defines the direction perpendicular to the tangent plane and is essential for calculations involving lighting, shading, and interaction with the surface. Normals are typically expressed as three-component vectors (x, y, z).
For a polygonal surface such as a triangle with vertices p1, p2, p3, the face normal can
Normals have several properties: they are perpendicular to the surface at the point, their direction is not
Applications include shading models such as Lambertian and Phong, where normals determine how light interacts with