1#!F-adobe-helvetica-medium-r-normal--18* 2#!N 3#!N #!Rfacenor FaceNormals #!N #!N Category #!N #!N 4 #!Lcatren,dxall760 h Rendering #!EL #!N #!N Function #!N #!N Computes face normals for flat 5shading. #!N #!N Syntax #!CForestGreen #!N #!F-adobe-courier-bold-r-normal--18* #!F-adobe-times-bold-r-normal--18* normals #!EF = 6FaceNormals( #!F-adobe-times-bold-r-normal--18* surface #!EF ); #!EF #!N #!N #!EC #!N #!N 7Inputs #!T,1,91,276,461,646 #!F-adobe-times-medium-r-normal--14* #!F-adobe-times-bold-r-normal--18* #!N TAB Name TAB Type TAB Default 8TAB Description #!EF #!N TAB surface TAB geometry field TAB none 9TAB surface on which to compute face #!N TAB - TAB 10- TAB - TAB normals #!N TAB - TAB - TAB 11- TAB #!EF #!N #!N Outputs #!T,1,161,321,646 #!F-adobe-times-medium-r-normal--14* #!F-adobe-times-bold-r-normal--18* #!N TAB 12Name TAB Type TAB Description #!EF #!N TAB normals TAB field 13TAB the surface with face normals #!N TAB - TAB - 14TAB #!EF #!N #!N Functional Details #!N #!N This module computes 15face normals for a surface. A "normals" component is necessary to 16produce shading when an object is rendered. In contrast to the 17output of the Normals module, the normals produced by this module 18are always connection dependent rather than position dependent. Therefore, when they 19are rendered, the result is faceted shading. #!N #!N When this 20module is used, any colors that reside at vertices are averaged 21for each face at the time of rendering, resulting in a 22single color for each face. #!N #!N The FaceNormals module assumes 23that the triangles or quads have consistent point orderings (i.e., so 24that the directions of the face normals will be consistent throughout 25the mesh). #!N #!N The Shade module can also be used 26to compute normals for shading. #!N #!N Components #!N #!N Creates 27a "normals" component that is dependent on connections. All other components 28are propagated to the output. #!N #!N Example Visual Program #!CForestGreen 29#!N #!N #!F-adobe-courier-bold-r-normal--18* #!N Thunder_cellcentered.net #!N SIMPLE/FaceNormals.net #!EF #!N #!N #!EC 30#!N #!N See Also #!N #!N #!Lisosurf,dxall881 h Isosurface #!EL , #!Lnormals,dxall897 h Normals #!EL , #!Lshade,dxall942 h Shade #!EL 31#!N #!N #!N #!F-adobe-times-medium-i-normal--18* Next Topic #!EF #!N #!N #!Lfilesel,dxall848 h FileSelector #!EL #!N 32 #!F-adobe-times-medium-i-normal--18* #!N 33