AgonConsole8 / agon-vdp

Official Firmware for the Agon Console8: ESP32 VDP
MIT License
43 stars 17 forks source link

Pingo - 3D graphics based on VDU commands #215

Open TurboVega opened 6 months ago

TurboVega commented 6 months ago

This change uses the VDP buffer system as storage for controlling data used to produce 3D graphics via the Pingo library. The only bitmap format supported is the 4-bytes-per-pixel format, because that's what Pingo uses. Also, most computations on the VDP end are done using floating-point, so parameters such as positions and angles must be scaled in order to be sent to the VDP via VDU commands. The VDP subsequently converts them back into floating-point values.