Results 1 to 2 of 2

Thread: Edges of Polygon

  1. #1

    Edges of Polygon

    How can we look the Edges of a polygon (in black color) and a color in this polygon ?

  2. #2
    Senior Member Frequent Contributor
    Join Date
    Aug 2000
    Cardiff University

    Re: Edges of Polygon

    draw it twice. One with GL_FILL and once with GL_LINE. Never tried it but does pixel offset work in this case? Otherwise sort out your own offset, be aware of z fighting in situations like this though.

Similar Threads

  1. antialiasing polygon edges
    By David Patte in forum OpenGL: Basic Coding
    Replies: 2
    Last Post: 05-16-2010, 01:31 PM
  2. polylines or polygon edges
    By gjsonke in forum COLLADA
    Replies: 1
    Last Post: 11-09-2007, 10:54 AM
  3. Polygon edges
    By c0de in forum OpenGL: Basic Coding
    Replies: 1
    Last Post: 04-19-2007, 03:42 PM
  4. Jagged Polygon Edges
    By jmikhael in forum OpenGL: Basic Coding
    Replies: 8
    Last Post: 07-22-2003, 09:44 AM
  5. antialiasing polygon edges
    By srikirti in forum OpenGL: Basic Coding
    Replies: 0
    Last Post: 11-28-2002, 12:38 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