Results 1 to 3 of 3

Thread: identify sharp edges

  1. #1
    Member 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 Newbie
    Join Date
    Feb 2000
    Posts
    17

    Re: identify sharp edges

    Hi, Nico!

    I know one method that used in 3D Studio Max. May be it can be acceptable for you. When 3D Studio Max need to determine sharp and smooth edges of polygons (triangles) they determine angle between normals of such polygons. If angle between normals of two joint triangles is less that some control value (control angle) than such triangles create smooth edge between them, else edge is sharp. By default control angle is 30 degrees.
    So you can use dot product of two normalised normals and if value is less than 0.866 (for 30 degree angle) - edge is sharp, else it is smooth.

    Yours, Mad Max.

  3. #3
    Member Contributor
    Join Date
    Feb 2000
    Location
    France
    Posts
    55

    Re: identify sharp edges


Similar Threads

  1. Vertex Normals and Sharp Edges: How to Correct?
    By JCDClark in forum OpenGL: Basic Coding
    Replies: 2
    Last Post: 04-14-2012, 08:19 PM
  2. Less sharp edges technics
    By Rchr_3 in forum OpenGL: Basic Coding
    Replies: 0
    Last Post: 04-08-2002, 12:42 PM
  3. Identify sharp edges
    By Nico in forum OpenGL: Basic Coding
    Replies: 2
    Last Post: 04-24-2001, 02:37 AM
  4. Draw sharp edges
    By Nico in forum OpenGL: Basic Coding
    Replies: 3
    Last Post: 05-14-2000, 12:48 PM
  5. draw sharp edges
    By Nico in forum OpenGL: Advanced Coding
    Replies: 2
    Last Post: 05-12-2000, 05:34 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Proudly hosted by Digital Ocean