Hello everyone
I’ve got problem with antialiased lines thicker than 1.0. When I modify line’s width over 1.0 antialiasing stops working corectly. Do you know what could be reason of it??
best regards
Marcin
Hello everyone
I’ve got problem with antialiased lines thicker than 1.0. When I modify line’s width over 1.0 antialiasing stops working corectly. Do you know what could be reason of it??
best regards
Marcin
I assume glLineWidth() with values >1.0 has no effect?
Do a readback on the min and max values of supported line width with glGetFloatv()
on GL_ALIASED_LINE_WIDTH_RANGE (supported since OpenGL 1.2 I think) and GL_SMOOTH_LINE_WIDTH_RANGE (constant formerly known as GL_LINE_WIDTH_RANGE ).
You may also check the GL_SMOOTH_LINE_WIDTH_GRANULARITY aka. GL_LINE_WIDTH_GRANULARITY.
The minimum requirements for line width is 1.0 for min and max. May well be that your hardware doesn’t support antialiased line widths >1.0.