Hey team! I've been working on the 3D engine that will be used for KRR and the software to help develop it. It's not completely optimized or finished, but I wanted to share my progress and see if I could get any advice. Firstly, the layering is extremely buggy. I'm currently sorting by every triangle centroid's (center's) distance to the camera (painter's algorithm), but this doesn't seem to do the job very well. You can see how triangles don't layer correctly when the camera is at certain angles. The engine doesn't yet support anything but triangles, and coloration is very limited, but I will add stamping and lines soon. Another problem I have is that of z clipping. I know how to z clip lines using percentages, but that of triangles is much more complicated. Anyone know how to fix these things? :D
All is by me. You may use scripts from this with credit.