I have a program that runs a simulation, and leaves me with some data. Now I want to view that data graphically, by producing a flowfield. This basically means I'll have to make a picture of tons of small, different colored rectangles.
But I've only done simple graphical things in Java before, using the swing and AWT packages. What is the equivalent for C++? I've poked around a bit and found OpenGL, but is this overkill? Is this what I want? I don't need to do anything fancy like 3D or even changing pictures, just display.
Thanks!
Edit: I should mention, because it seems to be OS dependent sometimes: I'd prefer this to work for Linux or Mac OSX (which is Unix, if that makes a difference against Linux).
You'll want to use a nice graphics library instead of using OpenGL directly.
There's a number of libraries to choose from. SFML is a good one: http://www.sfml-dev.org/
There are some tutorials on the site to get you started.
You could in theory, but I get the feeling writing a program that would output files compatible with what Galik suggested would suit your needs better...
What Galik suggested seems cool, but a quick look at the description and gallery seems to tell me that this isn't really what I need. I really need to use data to draw a simple picture made of colored rectangles, using some data my program produces.