Subscribe to the MicroZine Newsletter and collect your free microcontroller Ebooks, download project code and more...
by Justin Rajewski
I recently came accros this page and thought I had to try that. Luckily for me Pyrofer has the source code that he used, thanks a lot, after just a few changes I had a 3D cube rotating on my GLCD. It was not enough for me though. I changed his main runtine so I can display any object I want, all I need are 6 "files", the data file, x coordinates, y coordinates, z coordinates, and two files for the lines.
The data file consists of two parts, the first is how many points there are in the object and the second it how many lines there are.
The x,y,and z files are the coordinatesfor the points.
The line files are the start and end points for each line.
After I had the code I decided to make a more advanced ship. I based the design off the N64 Star Fox game's Awing.
Now I have added an analog stick to control the ship and also have free rotating, as you can see in the video.
If Jason Wright is reading this I would send you the source code (as requested) but I have no idea where to send it to.