Home
Categories
Coilguns
AVR Projects
Gumstix Projects
PIC Projects
Tutorials
The Forum
Contact Me

If you like this
site please

page counter

3D Vector Graphics

I came across this site and I though I would try it out with a dsPIC33FJ128GP710. Luckily there was a source code. After just a little modifications I had a 3-D cube rotating on my GLCD. Later I changed the code so I could input many different pictures, all I needed was six pieces of information.
  1. The data file.
  2. X coordinates
  3. Y coordinates
  4. Z coordinates
  5. Starting points of lines
  6. Ending points of lines

The data file has two parts, the first is how many points there are in the object and the second is how many lines there are. The X,Y, and Z coordinates are just that, they are the coordinates of each point. The starting and ending points of the lines are what points to connect.

The source code is written for the dsPIC33FJ128GP710 on a LV24-33 devolvement board made by MikroE. Pots 3 and 4 can replace the joy stick on pins RB8 and RB12.
The source code is here.