PDA

View Full Version : antialiased lines and hp-ux



krol
11-06-2002, 05:33 AM
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

Relic
11-06-2002, 08:03 AM
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 http://www.opengl.org/discussion_boards/ubb/smile.gif).

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.