Query: s3d_pep_polygon_normals
OS: debian
Section: 3
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
S3D_PEP_POLYGON_NORM(3) s3d Manual S3D_PEP_POLYGON_NORM(3)NAMEs3d_pep_polygon_normals - add normals to polygonSYNOPSIS#include <s3d.h> int s3d_pep_polygon_normals(int object, const float *nbuf, uint16_t n);DESCRIPTIONAdds normal information to polygons, giving each vertex of a polygon a normal information. With this, you can achieve smoothed edge effects. nbuf should contain n * 9 float values, for each vertex a normal vector (x,y,z), and you have 3 vertices for each Polygon so that makes 9 float values per Polygon in total. Don't worry if you don't use this, it's kind of hard to calculate and the server will always use some proper normal values (same for every vertex, calculated by the plane which is defined by the 3 points of the polygon.AUTHORSimon Wunderlich Author of s3d s3d S3D_PEP_POLYGON_NORM(3)
Related Man Pages |
---|
polygon3d_f(3alleg4) - opendarwin |
polygon3d_f(3alleg4) - osx |
polygon3d(3alleg4) - osx |
polygon3d(3alleg4) - php |
polygon3d_f(3alleg4) - redhat |
Similar Topics in the Unix Linux Community |
---|
awk or sed - Convert 2 lines to 1 line |
Introduction |
A (ksh) Library For and From UNIX.com |
New UNIX and Linux History Sections |