TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Triangle Rasterization in Practice

32 pointsby nochover 5 years ago

4 comments

ggambettaover 5 years ago
A simpler, dirtier, much quicker approach (with essentially three divisions <i>per triangle</i>): <a href="https:&#x2F;&#x2F;gabrielgambetta.com&#x2F;computer-graphics-from-scratch&#x2F;filled-triangles.html" rel="nofollow">https:&#x2F;&#x2F;gabrielgambetta.com&#x2F;computer-graphics-from-scratch&#x2F;f...</a>
评论 #21736381 未加载
sillysaurusxover 5 years ago
I <i>love</i> rasterization. It&#x27;s such a cool algorithm. Everyone should write a software rasterizer! Why bother? Because it&#x27;s heckin&#x27; cool, mate. But beyond that, it will also give you a much deeper understanding of a modern graphics pipeline (just in time for it to be replaced by AI rendering within the next decade).<p>I used Chris Hecker&#x27;s 5-part series to learn how to do rasterization: <a href="http:&#x2F;&#x2F;www.chrishecker.com&#x2F;Miscellaneous_Technical_Articles" rel="nofollow">http:&#x2F;&#x2F;www.chrishecker.com&#x2F;Miscellaneous_Technical_Articles</a><p>He walks you through the math and the code simultaneously, which is deliciously rare. Usually you get one or the other, but having both is delightful.
hatsunearuover 5 years ago
<a href="https:&#x2F;&#x2F;github.com&#x2F;ssloy&#x2F;tinyrenderer&#x2F;wiki" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;ssloy&#x2F;tinyrenderer&#x2F;wiki</a><p>This tutorial is super good for making a simple rasterizing renderer.<p><a href="https:&#x2F;&#x2F;github.com&#x2F;hatsunearu&#x2F;tinyrendere-rs" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;hatsunearu&#x2F;tinyrendere-rs</a><p>I implemented some of it in rust!
emikulicover 5 years ago
2013.