Results 1 to 2 of 2

Thread: line thickness

  1. #1
    Guest

    line thickness

    can the thickness of a line be defined...so that, for example, a thick line could be draw instead of a rectangle?

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

    Re: line thickness

    glLineWidth(), dude.
    Implementations must support a minimum and maximum width of 1.0. Some lamers do exactly that.
    You can query the min and max width and the width granularity for aliased and antialiased lines. Antialiased widths with GL_LINE_WIDTH_RANGE, GL_LINE_WIDTH_GRANULARITY, look in newer specs for the aliased.

Similar Threads

  1. Line stipple and line thickness
    By imported_JoshKlint in forum OpenGL: General
    Replies: 4
    Last Post: 10-01-2013, 03:40 PM
  2. Line thickness
    By DFoozee in forum OpenGL: GLSL
    Replies: 3
    Last Post: 11-23-2012, 02:56 PM
  3. Point & Line thickness?
    By gator in forum OpenGL: Basic Coding
    Replies: 2
    Last Post: 05-28-2005, 02:36 PM
  4. Thickness
    By ^DaNiEl^ in forum OpenGL: Advanced Coding
    Replies: 5
    Last Post: 10-08-2004, 10:20 AM
  5. thickness
    By Rajveer in forum OpenGL: Basic Coding
    Replies: 7
    Last Post: 04-20-2002, 10:52 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