Results 1 to 3 of 3

Thread: Find an edge shared by two specific triangles

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

    Find an edge shared by two specific triangles

    Hi...

    How could I flag visible or not an edge shared by two specific triangles?

    Does it depends on the structure of my objects...

    I have a simple structure: object[3][x]

    Many thanks

  2. #2
    Senior Member Regular Contributor
    Join Date
    Feb 2000
    Location
    milano, italy
    Posts
    282

    Re: Find an edge shared by two specific triangles

    autoedgeing... there is something about into foley/van dam computer graphics PnP.

    basically you have to make a edge list, each node should have references to the faces it uses.
    make a cycle and check the dot product between the two normals of the faces: if it is > than a threshold value, make it visible or invisible.

    Dolo/\/\ightY
    Dolo/\/\ightY

  3. #3
    Member Contributor
    Join Date
    Mar 2000
    Location
    England
    Posts
    57

    Re: Find an edge shared by two specific triangles

    Thanks for the answer...

    How do I do an edge list?

    Many thanks

Similar Threads

  1. Multisampling with triangles sharing the edge
    By debinair in forum OpenGL: Basic Coding
    Replies: 1
    Last Post: 04-20-2015, 06:16 PM
  2. Find edge of window given a Z
    By Mctittles in forum OpenGL: Basic Coding
    Replies: 2
    Last Post: 07-24-2011, 04:22 PM
  3. Replies: 6
    Last Post: 05-30-2005, 01:46 PM
  4. find specific (hex)number of a model
    By nofx in forum OpenGL: Basic Coding
    Replies: 6
    Last Post: 03-29-2005, 04:59 AM
  5. How to find the two adjacent faces of an edge?
    By Nico in forum OpenGL: Advanced Coding
    Replies: 7
    Last Post: 05-24-2000, 11:27 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