Part of the Khronos Group
OpenGL.org

The Industry's Foundation for High Performance Graphics

from games to virtual reality, mobile phones to supercomputers

Results 1 to 3 of 3

Thread: Identify sharp edges

  1. #1
    Intern Contributor
    Join Date
    Mar 2000
    Location
    England
    Posts
    57

    Identify sharp edges

    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

  2. #2
    Junior Member Regular Contributor
    Join Date
    Aug 2000
    Posts
    179

    Re: Identify sharp edges

    I'm handling the same problem, can some one explain how I find sharp edges ?

    Tnks
    Best regards

    Kurt

  3. #3
    Senior Member OpenGL Guru Relic's Avatar
    Join Date
    Apr 2000
    Posts
    2,527

    Re: Identify sharp edges

    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.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •