Month: September 2012

Puwang – a 5 day work

Hi, how’s everyone doing? So this was a different week for me. It’s been a long time that I had the chance to work on a small prototype or a...

How to take screenshots in opengl

So here’s some quick code to save a screenshot of your OpenGL game in a TGA file.   bool save_screenshot(string filename, int w, int h) { //This prevents the images...