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:

opengl

as can see, normals directional vectors perpendicular face. used in lighting calculations can correct shading displayed when have directional lighting.


Comments

Popular posts from this blog

java - Jmockit String final length method mocking Issue -

asp.net - Razor Page Hosted on IIS 6 Fails Every Morning -

c++ - wxwidget compiling on windows command prompt -