Commit graph

8 commits

Author SHA1 Message Date
Aaron Mueller
37608b6b24 First working GTK + GL window 2011-12-10 00:50:28 +01:00
Aaron Mueller
c10808004c Start implementing the GUI for the 3D-LED-Cube 2011-11-08 22:32:09 +01:00
Aaron Mueller
2694d9988f Implement the LED voltage switch.
LEDs can now be switched on or off with the mouse. The current
state of the LEd cube is saved in a array which can be easily
printed out to STDOUT.
2011-10-31 00:25:07 +01:00
Aaron Mueller
37e885f02e Add the picking feature.
We can now select a LED on the screen and get the index of the LED.
To get the right index, we use the color picking technique mentioned
in the OpenGL RedBook. This works suprisingly pretty well (and fast!).
2011-10-30 23:55:53 +01:00
Aaron Mueller
b2d11488fa Strip the resulting binary to redurce some space 2011-10-30 23:42:46 +01:00
Aaron Mueller
5335603b15 Correct some lighting and make real LED models. 2011-10-23 21:43:54 +02:00
Aaron Mueller
dc6b4346ce Fix the "zoom" problem and add some wires in between. 2011-10-20 20:28:00 +02:00
Aaron Mueller
1b468b8c22 Start implementing a 3D GUI to configure the cube.
The idea is to use OpenGL and some simple C code to display a 3D cube.
With the mouse you can define which LED should be on or off on a
particular frame. With this technique, you can define whole sequences of
frames to form animations.
2011-10-19 01:10:15 +02:00