Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | patch a leak in rectclipline. fix a pixel-discarding logic statement. | rodri | 2024-10-05 | 1 | -2/+4 |
| | |||||
* | implement a parser for a model(6). get rid of the libobj dependency. | rodri | 2024-09-26 | 1 | -7/+0 |
| | |||||
* | remove unnecessary copying. profile individual stage procs. | rodri | 2024-09-07 | 1 | -0/+3 |
| | |||||
* | fix a double-free. add a generic value-swapping macro. | rodri | 2024-08-05 | 1 | -16/+4 |
| | |||||
* | make the depth buffer 32-bit. | rodri | 2024-08-04 | 1 | -1/+1 |
| | |||||
* | fix line interpolation during rasterization. | rodri | 2024-08-02 | 1 | -3/+31 |
| | | | | | | | vertex attributes were not being updated after clipping with their corresponding work rectangles, nor when reordering the points before rasterization, which caused serious artifacts. | ||||
* | fix the geometry glitches when moving things around. | rodri | 2024-07-13 | 1 | -10/+11 |
| | | | | | | | | | | it's possible for interactive programs to keep updating the geometry of the scene during rendering, which caused primitives to look deformed or shattered in the final image. to avoid this we take a snapshot of the current state of things (scene and camera), and render based on that copy. | ||||
* | small improvements. | rodri | 2024-07-12 | 1 | -25/+27 |
| | |||||
* | add cubemaps. | rodri | 2024-06-06 | 1 | -2/+1 |
| | |||||
* | fix line rasterization. | rodri | 2024-05-21 | 1 | -10/+25 |
| | |||||
* | clip: fix rectclipline. | rodri | 2024-05-03 | 1 | -7/+10 |
| | | | | | mixed up CLIP[TB] and the slope was being computed as an integer division, which caused artifacts. | ||||
* | clip: avoid division by zero. | rodri | 2024-05-03 | 1 | -2/+2 |
| | |||||
* | add a general primitive with support for points, lines and triangles. | rodri | 2024-05-03 | 1 | -0/+220 |
also got rid of the dependency on OBJ for the entire renderer, instead letting the user load a Model from any given OBJ. this modularity will allow for other formats to be used in the same way, relying on a single, internal representation for the entire pipeline. |