Results 1 to 2 of 2

Thread: Black border

  1. #1
    Junior Member Newbie
    Join Date
    Apr 2000

    Black border

    I am working on an application where graphics symbols like circles and rectangles have to be overlayed over a texture. Sometimes depending on the color of the texture, these graphic symbols are not clearly visible.

    We have come up with a scheme to draw black border of 1 pixel width around these symbols(for example, inside and outside of rectangle) to make it stand out, depending on the texture background. How would this black bordering be implemented in OpenGL?

    R Gopal

  2. #2
    Senior Member Regular Contributor
    Join Date
    May 2001
    London UK

    Re: Black border

    It can be difficult to get OpenGL to draw a black border of 1 pixel width. For OpenGL would it be more natural to first draw a little bigger black symbol and then on top of that your symbol.

Similar Threads

  1. texture border = black mipmaps
    By remdul in forum OpenGL: Advanced Coding
    Replies: 4
    Last Post: 06-16-2008, 01:58 PM
  2. Blending and alpha - black border
    By fortikur in forum OpenGL: Basic Coding
    Replies: 3
    Last Post: 04-21-2005, 04:20 AM
  3. Black border on texture
    By kiichle in forum OpenGL: Basic Coding
    Replies: 2
    Last Post: 07-09-2004, 01:01 AM
  4. Black border
    By ragopal in forum OpenGL: Advanced Coding
    Replies: 2
    Last Post: 02-23-2001, 02:10 PM
  5. Black border in OpenGL window
    By Kilam Malik in forum OpenGL: User Software
    Replies: 0
    Last Post: 08-23-2000, 04:01 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