line smoothing question!
hi!
i am a newbie at openGL, and want to say: thanks for this great
web site.
now i've modified lesson 2, to write some text and to move lines etc.
unfortunately, i am not able to get linesmooting work for me.
also i am not able to adjust the line width.
below there is the small part of my visual basic code drawing the lines.
please help me, whats wrong? my lines are not smooth, they are some kind of little stairs ...;-)
glBegin bmLines
glLineWidth 20
glEnable glcLineSmooth
glHint htLineSmoothHint, hmNicest
glVertex2d 0, 0 ' Top
glVertex2d -1#, -1# ' Bottom Left
glVertex2d 0, 0
glVertex2d 1, -2#
glEnd
thank you very much in advance and best regards from vienna !
hans g.
Edited by - shg on January 24, 2001 8:03:05 AM
January 24, 2001 09:09 AM
I know there is a limit on how big a line can be for smoothing to work, but I don''t think you went over it. Make the lines thinner and see if that helps. If not, bang up the rez.
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement