How can I draw 2d lines faster?
about a million lines
can it be finished in 2 seconds?
So I’m guessing GL’s lines are not good enough?
Ok if that’s the case then (and this is not opengl) why not use Bresenham’s algorithm and plot the pixels yourself? Linky: http://www.cs.helsinki.fi/group/goa/mallinnus/lines/bresenh.html
& http://www.answers.com/topic/bresenham-s-line-algorithm
-SirKnight
the lines have different widths and styles
oh,it’s very difficult.