shithub: libgraphics

Download patch

ref: 2b79f113ed5279e60f4218c0da9b7e2d9e0a50ba
parent: 60cd00fd903bcc3ad1d3a0371f65a10ae5730ffb
author: rodri <rgl@antares-labs.eu>
date: Sun Jun 22 13:16:12 EDT 2025

update TODO

--- a/TODO.md
+++ b/TODO.md
@@ -9,6 +9,12 @@
 - [ ] Add wireframe rendering by a reasonable interface and method
 - [ ] Find out why the A-buffer takes so much memory (enough to run OOM on a 32GB term!)
 - [ ] Review the idea of using indexed properties for the vertices
+	- This has become a more pressing matter with 3dee/toobj (the
+	  Model to OBJ conversion tool) because its quite inefficient
+	  and generates very large .obj files with unnecessary
+	  redundancy: e.g., with a box, where instead of storing one
+	  normal per every face, we store the same normal on the six
+	  vertices (three per triangle) that make up the face.
 - [ ] See if prims can be ordered front-to-back before rasterizing (quick Z-buffer discard)
 	- It might be better to add it as a Camera.rendopts flag, for
 	  transparency rendering without the A-buffer.
--