Computer Graphics from Scratch

ibobev 24 points 4 comments November 17, 2026
www.gabrielgambetta.com · View on Hacker News

Discussion Highlights (3 comments)

AlexeyBrin

This is a great tutorial. I also bought the book published by No Starch Press.

vivzkestrel

- a few major questions from a guy who is absolutely not familiar with this subject - is x axies increasing towards right, y axis towards top, z axis into the screen ? - are there other alignments for x,y,z? - does every object have coordinates defined in the -1 to 1 range? - what is local coordinate system compared to world coordinate system and does it also stick to -1 to 1 range? let us say I have a 3d Cube 5 units think, what does the local coordinate system for this look like and if I wanted to place it at 0,0,0 what do we do? multply local x world space in matrix form?

kbruner

I don't see clipping in homogeneous space, which seems like a big omission. Can't beat good old Foley/van Dam - "Computer Graphics Principals & Practice" for stuff like this.

Semantic search powered by Rivestack pgvector
13,334 stories · 126,150 chunks indexed