PDA

View Full Version : Identify sharp edges



Nico
03-06-2000, 03:05 AM
Hi...

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?

Many thanks

Nicolas Bussard

KurtCob
04-24-2001, 01:25 AM
I'm handling the same problem, can some one explain how I find sharp edges ?

Tnks
Best regards

Kurt

Relic
04-24-2001, 01:37 AM
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.