sadanwawa / oglsuperbible5

Automatically exported from code.google.com/p/oglsuperbible5
0 stars 0 forks source link

glLineWidth() hardware implementation limit #30

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Compile and run Primitives program from Chapter 3 or Objects program from 
Chapter 4

What is the expected output? What do you see instead?
Lines are not drawn and blended over filled polygon rendering.

What version of the product are you using? On what operating system?
SVN Revision 193
Ubuntu Linux 10.10 64-bit
VGA compatible controller: ATI Technologies Inc RV770 [Radeon HD 4870]
OpenGL version string: 3.3.10834 Compatibility Profile Context

Please provide any additional information below.
I found that the hardware implementations of glLineWidth() may set a maximum 
line width for antialiased lines. For my particular card this limit is 2 for 
lines with GL_LINE_SMOOTH enabled. Lowering the line width or commenting out 
line 91 allows me to properly see the wireframe effect for these programs.

Original issue reported on code.google.com by Kenneth....@gmail.com on 27 Jun 2011 at 4:50

GoogleCodeExporter commented 9 years ago
Also something I found unusual, I could render the lines when commenting out 
the lines to draw the filled polygons.

Original comment by Kenneth....@gmail.com on 27 Jun 2011 at 4:59