Gl Graph is a basic C++ program to display and work with large set of data.
To look into large amount of data, humans better understand graph or image and this need is not a new one.
However there are tools like gnuplot or matlab that acheive this task with one major drawback : speed.
Speed is required when resizing, moving, rotating, selecting , letting the user focused on the data. Gl Graph is based on OpenGl. OpenGl is a well-known 3D hardware accelerated graphic library that lets you draw your data fast.
To acheive the speed it claims and get the fastest result, GlGraph use the best the OpenGl API available :
- Vertex Array ( OpenGl 1.1 )
- Vertex Buffer Object(GL_ARB_vertex_buffer_object or Opengl 1.5 )
- Vertex Array Object (GL_ARB_vertex_array_object or Opengl 3.0)
Gl Graph depends on X or Glut for window management. It's designed to easily read data from text file with adaptative format.Gl Graph : Curve
Let's draw a curve defined by x = cos(5*t)*sin(t), y=cos(5*t)*cos(t)).
Let's draw a surface defined by z= sin((x*x))*cos((y*y)). Vectex Shader and Pixel Shader are used here to generate the chessboard effect.