Problems with Drawing Diagonal lines

BlitzMax Forums/BlitzMax Programming/Problems with Drawing Diagonal lines

gameshastra(Posted 2007) [#1]
Hi,

I have a problem while drawing diagonal lines, it looks like very thin. But when i draw a horizontal line or vertical line its thick. I tried setting the line width but still the difference is there. I am using DrawLine() command to draw lines.


GfK(Posted 2007) [#2]
Its the nature of pixels, I'm afraid. Not much you can do about it.


Brucey(Posted 2007) [#3]
Aspect Ratio :-)

Pixels on a screen aren't always square.


gameshastra(Posted 2007) [#4]
k thank u...any other idea to solve that problem......


jkrankie(Posted 2007) [#5]
glEnable(GL_LINE_SMOOTH)
glHint(GL_LINE_SMOOTH,GL_NICEST)

Cheers
Charlie


gameshastra(Posted 2007) [#6]
thanks a lot jkrankie


Grey Alien(Posted 2007) [#7]
DX version of those GL commands anyone?