News for hackers. Stuff that matters.
Re:Donut math: how donut.c works by jheriko on Monday September 18, 2023 @03:13AM (#37553232)
reminds me of stuff i based in basic when i was a kid

made me laugh to see "no raytracing", then immediate use of the perspective projection which is intersecting points and a plane along a ray lol...

Re:Donut math: how donut.c works by waveBidder on Monday September 18, 2023 @04:26AM (#37553655)
it's boutique hand-derived ray tracing! very different
Re:Donut math: how donut.c works by ggambetta on Monday September 18, 2023 @04:44AM (#37553751)
Deriving the perspective projection equations involves intersecting a ray and the projection plane, but this doesn't magically turn a rasterizer into a raytracer.