I need to identify the sharp edges (i.e. polygons which create edges with sharp angles by taking dot product of normals) and store the coordinates of their vertices. Could anyone help me with this please…
Do you know any example available on the Web?
If I remember correctly: Have a look at the sources of the smooth.exe demo (not the redbook example) in the GLUT samples. It loads Alias|Wavefront .obj files and autogenerates normals based on a crease angle you can provide on the command line.
The necessary calculations to find sharp edges must be in there.