Great Info About How To Draw Line In Opengl
![Born To Code!: Interactive Line Drawing In Opengl](http://makble.com/images/capture0857.jpg)
Fig line drawing in opengl element.
How to draw line in opengl. Given the coordinates of two points, you can directly call the api to draw the line. Like | comment| share | subscribecolor code: How to draw a line using opengl programme.
Can you tell me a simple program that can draw a line between two points. The parameter here specifies to draw a straight line. C how to draw one line on top of another in opengl , java opengl draw line with points stack overflow , is it possible to draw lines and.
Using the programmable pipeline to draw a line is slightly more involved. In this tutorial you will learn how to draw a line with c programming.so, if you learn something from it then please like share and comment on this video. Info draw line 3d opengl with video tutorial.
Void line ( double x1, double y1, double x2, double y2, //coordinates of the line float w, //width/thickness of the line in pixel float cr, float cg, float cb, //rgb color components.