Results 1 to 4 of 4

Thread: A glLineWidth problem.

  1. #1
    Junior Member Newbie
    Join Date
    May 2001
    Posts
    21

    A glLineWidth problem.

    Hey.
    Why doesn't the glLineWidth procedure work on my lines? It does nothing but leaves the line-width to 1 pixel (I think), even though I type everything else.

    Anybody?

  2. #2
    Senior Member OpenGL Guru zed's Avatar
    Join Date
    Nov 2010
    Posts
    2,466

    Re: A glLineWidth problem.

    what card are u using
    check here http://www.gamedeveloper.org/delphi3d/hardware/ for valid line widths for your card

  3. #3
    Junior Member Newbie
    Join Date
    May 2001
    Location
    HK
    Posts
    5

    Re: A glLineWidth problem.

    did you embed the glLineWidth procedure call
    in glBegin() and glEnd(), if so, surely it
    won't work

  4. #4
    Junior Member Newbie
    Join Date
    May 2001
    Posts
    21

    Re: A glLineWidth problem.

    Well, suddenly it started working! I don't know why at all. But, there is now another problem: if i rotate the thick lines, they are drawn as parallelograms and not regular rectangles. Why? it looks stupid!

    anybody?

Similar Threads

  1. glLineWidth gives GL_INVALID_VALUE for widths > 1?
    By bsabiston in forum OpenGL: Basic Coding
    Replies: 3
    Last Post: 12-18-2012, 05:22 PM
  2. glLineWidth problems...
    By RegularKid in forum OpenGL ES
    Replies: 1
    Last Post: 07-16-2008, 09:59 PM
  3. Thick lines with glLineWidth()
    By devdept in forum OpenGL: Basic Coding
    Replies: 3
    Last Post: 01-12-2008, 12:58 AM
  4. I want glLineWidth with width > 1
    By gsmolarz in forum OpenGL ES
    Replies: 0
    Last Post: 10-17-2006, 08:31 AM
  5. glLineWidth - doesn't work !
    By in forum OpenGL: Basic Coding
    Replies: 10
    Last Post: 11-16-2001, 03:15 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