This is an attempt to make an open-source hardware-accelerated 3D graphics pipeline for N64 homebrew games, for use in conjunction with libdragon.
Most of the pipeline is currently on the CPU, with the RDP being used to draw triangles. I expect to eventually move much of the processing to the RSP in order to boost performance.
tri3d can be built using the libdragon toolchain by running make
. ARM9's fork of bass is used to assemble the microcode and must be available on the system path.
The contents of the lib
folder are copied from PeterLemon's N64 assembly demos. ucode.asm
is also based on code from that repository.
The graphics_printf
function is copied from sp1187's n64triangle.