Results 1 to 2 of 2

Thread: Driver bug?

  1. #1
    Senior Member Regular Contributor
    Join Date
    Apr 2001
    Posts
    102

    Driver bug?

    if I call:

    glEnable(GL_BLEND);
    glBlendFunc(GL_SRC_ALPHA, GL_ONE_MINUS_SRC_ALPHA);
    glEnable(GL_POINT_SMOOTH);
    glPointSize(10.0f);
    glBegin(GL_LINES);
    glVertex2i(0,0);
    glVertex2i(640,480);
    glEnd();
    glBegin(GL_POINTS);
    glVertex2i(320,240);
    glEnd();
    glBegin(GL_LINES);
    glVertex2i(0,480);
    glVertex2i(640,0);
    glEnd();

    Only the line from (0,0) to (640,480) and the center point gets drawn, the last line call doesnt. It works if I dont call GL_POINT_SMOOTH.

    Sounds like a Voodoo3 driver bug to me.

  2. #2
    Senior Member Regular Contributor
    Join Date
    Jul 2001
    Posts
    352

    Re: Driver bug?

    try replacing 640 by 639.

    (I guess your voodoo driver might have an "optimization" so that lines having both extremities outside the screen aren't drawn... the first line is drawn because it has an extremity inside the screen : (0,0) )

    Another solution : split your line in 2 :
    1 line from 640,0 to 320,240
    1 line from 320,240 to 0,480

    Of course, I can't be sure it will work, I haven't ever played with 3dfx hardware.

    And the fact that it works fine without GL_POINT_SMOOTH lets to my theory very few chances to be true ...

Similar Threads

  1. Convert 32bit Driver or Fix OpenGL Driver Issue?
    By GelBlok in forum OpenGL: Drivers
    Replies: 0
    Last Post: 06-26-2018, 08:12 PM
  2. Replies: 10
    Last Post: 07-15-2014, 01:57 AM
  3. does opengl use the OS video driver or is it a video driver?
    By jean-bobby in forum OpenGL: Basic Coding
    Replies: 5
    Last Post: 08-24-2004, 08:19 AM
  4. nVidia OpenGL driver: Driver component sizes mis-match
    By in forum OpenGL: User Software
    Replies: 1
    Last Post: 06-15-2003, 10:20 AM
  5. How can I make a driver the default driver?
    By in forum OpenGL: User Software
    Replies: 0
    Last Post: 06-12-2000, 10:53 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