Commit graph

12 commits

Author SHA1 Message Date
Aaron Mueller
c2572da067 Start implementing the connection between LEDCube lib and editor 2011-12-28 09:43:29 +01:00
Aaron Mueller
68a5c1a851 Refactor the datatypes to the GTK ones (for compability) 2011-12-27 18:48:15 +01:00
Aaron Mueller
bda0d37e4b Remove some unused signals and prettyfy the rendering 2011-12-22 01:07:43 +01:00
Aaron Mueller
e95b066044 Make The LEDs clickable 2011-12-21 22:58:57 +01:00
Aaron Mueller
998d0e3e15 Add movement and fix some compile bugs 2011-12-21 21:04:58 +01:00
Aaron Mueller
b92b8953a6 Fix a display issue with the wires 2011-12-10 00:50:28 +01:00
Aaron Mueller
37608b6b24 First working GTK + GL window 2011-12-10 00:50:28 +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
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