Click here to Skip to main content
15,889,857 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
please tell how to draw 2d and 3d bar charts in opengl using DDA line algorithm....
Posted
Comments
[no name] 1-Nov-14 9:21am    
Why not Google and Show first some effort from your side?
e.g.
https://engineersview.wordpress.com/2013/06/12/dda-line-drawing-algorithm-using-opengl-and-c/[^]

1 solution

in opengl you must draw everything from the scratch. Begin by dividing all your drawing stuff into lines and/or textures.

I found a nice tutorial which is in Java, but the OpenGL code should look similer. Thats why it is called "Open" GL.

click: JOGL (Java OpenGL) Tutorial
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900