Go Down

Topic: wrote a 3D display code for SSD1306 oled12864 (Read 805 times) previous topic - next topic


Apr 12, 2016, 05:35 pm Last Edit: Apr 12, 2016, 05:45 pm by SylvanYZY
I'm curious if anybody have written the same thing before. Displaying 3d sketch doesn't cost too much, the SSD1306 is a SPI interface oled driver allows very quick refresh rate
wiring it as follows:
SCK - 13
DC - 9
CS - 12 //or to vcc
RST - 10
in this sketch you need a potentiometer on A0 to adjust the camera angle, the tank itself also spins.

the SSD1306 library I used is not written by me and the author is unknown

The sketch uses some fundamental geometry principles. rotate vertices by quaternion, then projection them onto screen. the object struct consists of vertices and edges

hope this will help




There is similar code here which I have used in the past.
nice, well done though, I think my code are easier to understand and easier to modify with different models

Go Up