Results 1 to 4 of 4

Thread: Smooth lines with width = 0.5

  1. #1
    Senior Member Frequent Contributor
    Join Date
    Dec 2005
    Location
    Italy
    Posts
    659

    Smooth lines with width = 0.5

    Hi All,

    Looks like not all the hardwares support GL_LINE_SMOOTH with glLineWidth(0.5f). On some machine we see the line thinner than one pixel on others one pixel. Is there any technical reason for this ?

    Thanks,

    Alberto

  2. #2
    Senior Member OpenGL Guru
    Join Date
    Dec 2000
    Location
    Reutlingen, Germany
    Posts
    2,042

    Re: Smooth lines with width = 0.5

    Advanced Line Rendering is often disabled on mainstream GPUs, so that it can be advertised as a feature of high-end GPUs (such as nVidias Quadro cards and ATIs Firewhatever cards).

    Technically it is more difficult to do these things, so maybe some GPUs are actually not capable to do it, but sometimes it's simply done by the driver to convince you to buy more expensive cards.

    Jan.
    GLIM - Immediate Mode Emulation for GL3

  3. #3
    Senior Member Frequent Contributor arekkusu's Avatar
    Join Date
    Nov 2003
    Posts
    890

    Re: Smooth lines with width = 0.5

    See the implementation-specific limit GL_SMOOTH_LINE_WIDTH_RANGE.

  4. #4
    Senior Member Frequent Contributor
    Join Date
    Dec 2005
    Location
    Italy
    Posts
    659

    Re: Smooth lines with width = 0.5

    GL_SMOOTH_LINE_WIDTH_RANGE:

    We get 1-63 with ATI FireGL 7200 and 0.5-10 with OpenGL Software (Microsoft Implementation).

    Strange... I believed that ATI driver was more capable of the MS implementation....

    Thanks,

    Alberto

Similar Threads

  1. Non-smooth vertical movement of the horizontal lines
    By sinaxp19 in forum OpenGL: Basic Coding
    Replies: 0
    Last Post: 07-20-2015, 03:21 AM
  2. Drawing lines with changing width
    By esapir in forum OpenGL: Basic Coding
    Replies: 1
    Last Post: 04-20-2014, 11:48 AM
  3. Drawing smoothly connected lines with width
    By esapir in forum OpenGL: Basic Coding
    Replies: 2
    Last Post: 03-21-2014, 08:03 PM
  4. Smooth lines which aren't able to be made flat
    By newbie_graphic_programmer in forum OpenGL: Basic Coding
    Replies: 2
    Last Post: 05-28-2013, 12:03 PM
  5. trouble with smooth lines
    By Syriven in forum OpenGL: Basic Coding
    Replies: 1
    Last Post: 11-04-2011, 01:14 PM

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