Close

Connection to a real monitor

A project log for Arduino Minecraft

Making a Minecraft clone that runs on the Teensy 4.1 in the Arduino environment.

dylan-brophyDylan Brophy 08/27/2024 at 21:390 Comments

I managed to get it to work with a monitor using my #RA8875 VGA card, and it is working rather well:

I'm getting around 20-30 FPS, depending on where I point the camera.  With the RA8875, I can use 8-bit color, so the colors look a lot better than have previously been shown on this project.  The cost, is that there is no longer any transparency, but this isn't noticeable yet.  It took me a bit to get the new color system working, so the above picture is taken after I fixed the color issues, but the video below does not have them fixed yet.  It was related to how the color data is saved on the SD card to make it easier to load.

The second half of the video largely just describes how the rendering engine works - if you follow this project, then you probably already know it. The main thing I've done is port my #NTIOS (Arduino OS) RA8875 driver to the Arduino Minecraft codebase - I'm not using NTIOS for this project because I need to keep resource consumption to an absolute minimum for this limited hardware.

Discussions