09-23-2024, 02:58 PM
No, you don't have to assign a normal vector to a plane. but to vertex. There must be the same number of normal vectors as there are vertices.
1 point vertex : xyz . this defines the position of the point
1 point normalvector : x'y'Z this determines the direction.
You don't have to worry about determining the direction of your skiing!!! opengl then calculates with linear interpolation when rendering, from the 3 normal vectors per pixel, where and how much light is needed on the surface.
1 point vertex : xyz . this defines the position of the point
1 point normalvector : x'y'Z this determines the direction.
You don't have to worry about determining the direction of your skiing!!! opengl then calculates with linear interpolation when rendering, from the 3 normal vectors per pixel, where and how much light is needed on the surface.