OpenGL photo fun!
I haven’t programmed any OpenGL since college, but this blog post which I stumbled across from planet GNOME caught my eye. It’s a (relatively) simple C program that makes use of GLSL to perform some fun image transforms a la Apple’s Photobooth software. GLSL (or any other shader language) didn’t exist when I studied OpenGL, so this code was very educational to look through. After trying to run it, I discovered that I needed to use a 512x512 jpg image for this to work. Other sizes or B&W images didn’t work. The code built without any problem after installing glut/glu/glew and freeimage. Hopefully I’ll have time to mess around with this some more. Anyway, here are the results.




And the original:

I love it. Very fun!
I love it. Very fun!
I don’t remember birthing twins…..