I want to start working on a 2-D & 3-D graphs lib. from where i should start? how to make all 3 axes ? can i get any source code, if anybody already worked on the same type of things? I have knowledge of OpenGL & VC++
Thanx :Pors
[This message has been edited by porsgl (edited 03-12-2002).]
I guess you are talking about 2D & 3D bar and pie chart graph’s, I have see some examples around on making 3D graph’s. Do a search on this web site, there was a post on a main page a few week’s back on it.
Or is it graph’s of mathmatics plot’s you want to do?
Let me know which, the bar’s and pie charts are very easy to do. I will go into more detail if that is the case.
Originally posted by porsgl:
[b]I want to start working on a 2-D & 3-D graphs lib. from where i should start? how to make all 3 axes ? can i get any source code, if anybody already worked on the same type of things? I have knowledge of OpenGL & VC++
Thanx :Pors
[This message has been edited by porsgl (edited 03-12-2002).][/b]
I have a few theories in my head (forgive me if they are obvious). The axis are simply a set of GL_LINES. The plots are lines points or surfaces. You’ll have to write a parser or something to convert an equation into a plotting function but that should be simple. Then all you’ll have to do is handle I/O and your Viewing transformations.