A seriously newbie question I’m afraid! I’m wanting to use OpenGL as a fast was to plot some 2D graphics. Essentially, I have an iterative statistical algorithm (MCMC for anyone who’s interested) that plays around with some spatial data. As part of the debug, I’d like to be able to visualise exactly how the algorithm is playing with the spatial aspect, and so I thought that following it with a map that is constantly updated would be a neat solution.
Trouble is, this algorithm already has its own event loop - where bits of spatial data get chosen, worked upon, and stored in an iterative sense. For each iteration, the map needs updating. Now, is there an easy way to use OpenGL with this? I’m guessing that GLUT is out because it has its own mainEventLoop? Could anyone suggest a suitable Linux API for me to get started with?