Eclipse + MinGW + gtkmm

Hurrah! Last night, I was able to set up Eclipse with CDT, have it recog­nize my MinGW (with GCC 4, thanks to (these unsta­ble MinGW builds) tool­chain, and build gtkmm (the C++ inter­face for GTK+) programs through make. This was all so I could do my Computer Graph­ics project on my Windows machine instead of Linux. Not that I have any gripe with Linux, only that my Linux box has no display connected to it, forc­ing me to use it by remote desk­top­ping.

Building gtkmm application on Windows using Eclipse CDT + MinGW

The image shown above is my entry for the first project in the Graph­ics course, which is to create a program that can repre­sent points/edges in space in a 4×n (homoge­nous coor­di­nates) matrix, and apply vari­ous trans­for­ma­tions (rotate, scale, trans­late) to that matrix through matrix multi­pli­ca­tion against a 4×4 trans­for­ma­tion matrix. The list of edges should then be drawn to an image file or displayed onscreen.

Project 1: retardedtranforms

The end result is that you can put a bunch of coor­di­nates in and rotate them around to see how 3D they are. 😀

Octa

Anyways, I don’t think I was supposed to use C++, Windows, gtkmm, or cairomm for my project, but then I doubt anyone will complain. After all, I believe that the output of it is prob­a­bly better than the refer­ence output in the project specs.

Project output:
script2 script3

Refer­ence output:
refscript2 refscript3