pertbanking / led-cube

The code, schematics, and PCBs for an 8x8x8 LED cube.
2 stars 1 forks source link

Visualizer cube -- Bare bones #1

Open pertbanking opened 5 years ago

pertbanking commented 5 years ago

The visualizer code I just uploaded to the visualizer branch corresponds to this video:

https://www.youtube.com/watch?v=exQ43PFWJBU&t=9s

He's already created the 3D layout for us, so all we have to do is specialize it. His code is somewhat easy to understand, so I think it would be best to use it.

First, pull the code I made in the visualizer branch: git pull origin visualizer. Then, build and run the program: cd build && cmake .. && make && ../visualizer (assuming you have all of the dependencies, which I think you should).

Try to figure out how to create a (static) 8x8x8 matrix of cubes that will represent the LED cube. If you do that, it will make it a lot easier for me to come behind you and make them "light up." ;)

pertbanking commented 5 years ago

Creating the class is going to be harder than I thought because of OpenGL. Still looking around at our options, but I think we need to forsake the code that I copied from the website. I'll work on it more tonight.