ggambetta

Joined 13 years ago

Karma
6,992
Submissions
1,192
Member since
Aug 12
Member of Technical Staff at prometheus.ai. Ex-Google, ex-Synthesia, ex-Improbable. Author of "Computer Graphics from Scratch" (http://gabrielgambetta.com/computer-graphics-from-scratch). Used to run a game development studio and teach Computer Graphics in university. Tech website: http://gabrielgambetta.com

Actor / filmmaker: http://gabrielgambetta.biz

View on Hacker News

Recent submissions

Comment · 11 days ago
I love that, though! The same approved theme and pose, say the annunciation, painted by so many people over so many centuries lets you compare styles and trace their evolution much more directly than if they were painting random stuff. It's like watching different martial artists executing the same kata.
Comment · 1 month ago
Comment · 1 month ago
I hope a similar document surfaces about Monkey Island (or even MI2).
Comment · 1 month ago
Not a pirate but a Spanish speaker.

Interestingly,

He's a doctor [in general] -> el es médico

He's the ship's doctor [this specific ship] -> el es el médico del barco

He's a ship doctor [generally works in ships] -> el es médico de barco

Comment · 1 month ago
Can't wait for the movie. I grew up on Roadrunner cartoons (among others, most notably Top Cat and Scooby Doo), and some of my earliest childhood drawings are elaborate diagrams of traps to catch the Roadrunner, with detailed if implausible Rube Goldberg mechanics. The Coyote might have nudged me towards engineering, not even joking.
Comment · 2 months ago
Hence DiRT or whatever they call it these days
Comment · 3 months ago
My book tries to be as accessible as possible; a high schooler with little to no knowledge of linear algebra should be able to understand all of it. So in every case I've chosen simplicity (code and/or conceptually) over performance, but without sacrificing correctness. Not always an easy balancing act!

I would not recommend anyone to write a production rasterizer using the algorithms in my book. This website seems more performance-focused (Bresenham is the obvious choice to draw lines, for example).

Specifically about clipping, you can ignore all the planes except the near plane, and everything will be fine. You'll try to draw more pixels outside the canvas but that's just slow, not problematic. The near plane does protect you from divisions by zero and from points with negative Z, which project upside down and mess things up.

Comment · 3 months ago
Thanks for saying that :) Have you built something based on that idea? I still haven't, but I'm thinking on throwing some Claude at it for the most mechanical parts.
Comment · 3 months ago
Comment · 3 months ago
Yes, and that actually sharpens my previous conclusions.
Comment · 3 months ago
That's the unlock!
Comment · 3 months ago
So it's not a one-word theory, it's a theory with a one-word name... shocking. What a clickbait title!
Comment · 3 months ago
They used to be called "Sales Engineers". They still are, but they used to, too.
Comment · 3 months ago
I'm pretty sure I submitted this idea to the internal "file a patent" drive they were doing like 15 years ago. It was rejected. I thought it was either stupid or too obvious and they were already doing it...
Comment · 4 months ago
For me it was "There’s a clean exception to all of this, and it flips the entire logic." and "here’s the reframe". That's Claude-speak.

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton