3d - What is the normal of a face? -
i told normal of face 'a vector perpendicular face' still don't when trying draw 3d shapes. give me clearer explanation, or (even better) diagram? chunk of code confuses me call glnormal3f(x, y, z)
.
a quick google , can find tutorial, includes following diagram:
as can see, normals directional vectors perpendicular face. used in lighting calculations can correct shading displayed when have directional lighting.
Comments
Post a Comment