Link to home
Start Free TrialLog in
Avatar of skamal021899
skamal021899

asked on

Drawing lines with OpenGL

I want to draw a simple plain 2D line between two points in a window with VC++ in windows 95. There's no need for anything fancy... but the only requirement is that it has to be very fast and I mean fast. I have tried windows API and the result is moderate. I was wondering if OpenGL can do the same in a faster speed. I would appreciate if someone gives me the source code to draw 2D lines with openGL. I would prefer not using matrices, it eould be better if the line can be crawn by providing two points or by providing only one point and drawing the line form the current position.
Also, can anyone suggest any better method of performing the task?

(A rather long question, isn't it?)
ASKER CERTIFIED SOLUTION
Avatar of guga
guga

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial