
As is said, this is an attempt to follow ssloy
's tinyrenderer course (older version here) but without stepping half a foot outside GNU bash & ANSI escape sequences. And as seen from the state of this repo - it's... not really going too well.
No vibe coding/AI that edit the codebase. This bad idea is 100% birth from a human, start to finish.
Once again, good question.
The "canvas" initialization and pixel drawing was handled by my bash-graphics
scripts. Basically it uses ANSI escape sequences to change the printing cursor's position and colors (foreground and background). It then prints a ▀
character, which with both the fg and bg being changeable represents 2 vertically stacked pixels.
git clone
this- Open terminal in root of project &
git submodule init
bash lesson<number>/<filename>.bash
- If it complains about the terminal being too small, hit Ctrl+- a whole bunch and try again.
-
obj
parser - Rest of course
- Rest of course, but 100% integer math
- o p t i m i z a t i o n s
- Bresenham’s line drawing
- Homework:
obj
wireframe rendering
- Homework:
- Triangle rasterization
- make it so where rendering big triangles don't seemingly crashes my Desktop
- Bug squashing
- Bug squashing
- Bug squashing
- Bug sq
- Barycentric coordinates
- Hidden faces removal
- Naive camera handling
- Better camera