Work in Progress

Another display driver

6

McPepic 2023-03-01 22:03 (Edited)

Inspired by point cloud viewers on the site, I want to make a lightweight renderer to view 3D models on LowRes (and hopefully make an actual game with them).

If you have any ideas on improving performance, it would be much appreciated!

This all relies on pre calculated addresses and masks based on pixel positions, as well as a sub program that pokes an address based on a bit mask.

(See “SUB POKEMASK” in the program)

Update: Started work on 3D


SP4CEBAR 2023-03-02 14:01

I'm curious: if you use wait VBL, what is the CPU percentage?


McPepic 2023-03-02 15:36

@SP4CEBAR
Obviously it depends on the size of the triangle, but it takes multiple frames to draw a triangle, so the CPU is maxed out.


SP4CEBAR 2023-03-02 22:11

Right, playable triangle-based 3D games will definitely be hard to make in NX


Log in to reply.