PDA

View Full Version : Anitalias and NVidia Quadro



pcs
02-15-2001, 06:36 AM
I tried to get antialiased lines on my Elsa Gloria II qith Nvidia Quadro

I enabled antialiasing within the driver config.
And included the following lines in my code which drwas some lines

glEnable(GL_POINT_SMOOTH);
glEnable(GL_LINE_SMOOTH);
glHint(GL_POINT_SMOOTH_HINT,GL_NICEST);
glHint(GL_LINE_SMOOTH_HINT,GL_NICEST);

but the only result was , that the lines were drawn with a bigger width ( than with out this 4 lines of code) but still aliased!

so does someone has an idea waht a have to do additionaly?

best regards

pcs

Serge K
02-15-2001, 08:44 AM
glBlendFunc( GL_SRC_ALPHA, GL_ONE_MINUS_SRC_ALPHA );
glEnable( GL_BLEND );