AVR 3D Engine
Uploader Comments (thomaspfeiferDotNet)
Top Comments
-
How about this one:
sX = (X+Xt-vX/Z+Zt-vZ)+(srX/2)
sY = (Y+Yt-vY/Z+Zt-vZ)+(SrY/2)
where sX/sY is the 2D positions (screenX/Y) X/Y/Z = 3D positions Xt/Yt/Zt = Translations (Ofsets) of the coordinates given in 3D vX/vY/vZ = the positions of the camera in 3D srX/srY = the resolution of the screen in X/Y
This works for me most of the times , though some variables needs to be modified with very small steps :3
-
This was done with an Atmega8? Woah! here I was thinking I'd need to convert to 32 bit processors. If Atmega8 can do this SWEET AS.
All Comments (32)
-
wow Did you use 8 bit MCU?
-
@pret83 I'd definitely recommend Atmel's line of microcontrollers. They come with a lot more peipherals such as ADC, Serial, etc... and are much easier to program and work with than PIC. As a high-level hobbyist, I definitely find the AVR series to be a good bang for my buck. The costs still add up quickly, but that would occur for any other microcontroller platform as well.
Hope this helps.
-
It would be great if you could make a English translation of the page. Google Transalte sucks :(
-
haha lol I'm happy if I could display numbers on a dotmatrix, but then i saw this *uff*
-
что сложного то? =D
-
who put that pyramid in there!!!!????
-
It's like a little cpu, it costs around 6 dollars. This microcontroller is clocked at 16Mhz. A CPU in a normal computer has around 3Ghz, means 3000Mhz.
Hi, respect. What kind of LCD is this? I have a 128x128 LCD from Nokia phone, but where can I find datasheet for it? Which is better Atmel or PIC?
pret83 3 years ago
See the link in the description of this video.
thomaspfeiferDotNet 3 years ago
are you deleting previous frame completely before sending the next one..?
as in blanking off the screen completely?
i have been trying to do so..but it introduces lots of flickering there...
anjanarafta 3 years ago
yes, the frame will is deleted and the new frame is drawn... fast...
thomaspfeiferDotNet 3 years ago
@thomaspfeiferDotNet You should use double buffering though but I don't know how hard it is to implement in this. Double buffering uses all the frames with useful information thus no flickering.
avatarelite 1 year ago
@avatarelite Did you notice, that the Micrcontroller i've used has only 8 KByte RAM? That's not even sufficient for a single frame ;-)
thomaspfeiferDotNet 1 year ago