summaryrefslogtreecommitdiff
path: root/main.c
Commit message (Collapse)AuthorAgeFilesLines
* remove unnecessary cbuf2 variable.rodri2023-11-121-5/+2
|
* correct rgb to rgba conversion.rodri2023-11-121-1/+1
|
* added texture mapping.rodri2023-11-121-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-111-26/+132
| | | | 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-091-10/+8
|
* Lesson 1: Triangle rasterization and back-face culling—Triangle shaderrodri2023-11-091-11/+72
|
* 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-091-9/+39
|
* Lesson 0: Bresenham's Line Drawing Algorithm—First attemptrodri2022-06-221-0/+222