summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* added a toon shader.rodri2023-12-161-2/+19
|
* got stuck and skipped to Lesson 6: Shaders for the software renderer.rodri2023-12-162-273/+225
| | | | | | i was unable to find a fix for the rendering artifacts i was getting and decided to skip to a later chapter, with a new architecture based on actual shaders, that made things easier to understand. right after the move i spotted the problem (and others that showed up) and was finally able to fix them. it's working now!
* Lesson 5 prelude: Gouraud shading (not fully working.)rodri2023-12-131-15/+54
| | | | | the normals from the file don't seem to be well formed, maybe the order is wrong or the indices.
* add the option to visualize normals.rodri2023-11-191-9/+38
|
* put all the transformations in a single matrix.rodri2023-11-181-4/+1
|
* implemented perspective projection and a new rendering procedure (flag2).rodri2023-11-181-16/+255
|
* correct zfb color rendering.rodri2023-11-151-3/+3
|
* got rid of unused code. implemented memsetd for double sized filling.rodri2023-11-141-23/+14
|
* show the rendering as it happens, with the option of visualizing the z-buffer.rodri2023-11-141-19/+70
|
* add some shaping function experiments.rodri2023-11-121-16/+65
|
* remove unnecessary cbuf2 variable.rodri2023-11-121-5/+2
|
* add mk rule to pull dependencies (libobj for now).rodri2023-11-121-0/+5
|
* correct rgb to rgba conversion.rodri2023-11-121-1/+1
|
* added texture mapping.rodri2023-11-122-28/+98
|
* Lesson 2: Hidden faces removal (z-buffer)rodri2023-11-121-72/+33
|
* Lesson 1: Triangle rasterization and back-face culling—Flat shading renderrodri2023-11-111-7/+25
|
* adapted to the new libobj element format.rodri2023-11-111-39/+57
| | | | now african_head.obj doesn't fail to parse, and we will use those texture indices soon.
* add support for OBJ models (triangles only).rodri2023-11-114-26/+6643
| | | | also put a guard on the filltriangle slopes to avoid division by zero.
* parallelize shader execution.rodri2023-11-101-19/+85
|
* correct the fb's rframe and use another Memimage for fragments.rodri2023-11-101-15/+13
|
* experiments with triangle and circle shaders.rodri2023-11-101-4/+38
|
* track nanosec.c and fix some things.rodri2023-11-092-10/+117
|
* Lesson 1: Triangle rasterization and back-face culling—Triangle shaderrodri2023-11-092-11/+73
|
* cleanup.rodri2023-11-091-7/+6
|
* Lesson 1: Triangle rasterization and back-face culling—First attemptrodri2023-11-091-10/+69
|
* Lesson 1: Triangle rasterization and back-face culling—Preparationrodri2023-11-091-2/+13
|
* Lesson 0: Bresenham's Line Drawing Algorithm—Fifth attemptrodri2023-11-091-10/+10
|
* Lesson 0: Bresenham's Line Drawing Algorithm—Third attemptrodri2023-11-092-26/+40
|
* Lesson 0: Bresenham's Line Drawing Algorithm—First attemptrodri2022-06-222-0/+246