shithub: libgraphics

Download patch

ref: 93217b6b2c2e5eecc7fe0f412fe2a7d0aa4b4a3c
parent: d81d522be3d645ff7c433669b22d3ca809749ee4
author: rodri <rgl@antares-labs.eu>
date: Mon Jun 23 13:31:53 EDT 2025

TODO: fix typo and add new task

--- a/TODO.md
+++ b/TODO.md
@@ -1,7 +1,7 @@
 - [ ] Scene description format
 - [ ] Make a better Viewport interface
 - [ ] Make the camera just another Entity (?)
-- [ ] Implement shadows (hard, soft, CCS?)
+- [ ] Implement shadows (hard, soft, CSM?)
 - [ ] Implement mip-mapping (read about pixel shader derivatives)
 	- I added gradients for incremental rasterization, could they be used for this?
 - [ ] Try to compress the raster before doing a loadimage(2)
@@ -15,6 +15,11 @@
 	  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.
+- [ ] Create an internal Vertex type
+	- I want to get rid of the Vertex.(Vertexattrs|mtl|tangent)
+	  properties, as they are only used during rasterization.
+	  This will affect the Primitive as well, so it will probably
+	  require an internal Primitive type.
 - [ ] 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.
--