Cover of Graphics gems

Graphics gems

by Andrew S. Glassner · first published 1990

29mentions
15recommended by
26HN commenters
2010–2026first – last mentioned

58% recommend38% neutral4% critical

Why HN recommends it

Short, self-contained chapters on practical graphics tricks and algorithms, such as quaternions, fast square root and rational approximation. Suits graphics and game programmers who like dipping into a reference.

Summarised by Claude from recommending comments

Affiliate links. As an Amazon Associate I earn from qualifying purchases.

Mentions per year

40 2007: 0 mentions2008: 0 mentions2009: 0 mentions2010: 3 mentions2011: 0 mentions2012: 0 mentions2013: 3 mentions2014: 1 mention2015: 4 mentions2016: 1 mention2017: 1 mention2018: 3 mentions2019: 2 mentions2020: 1 mention2021: 2 mentions2022: 2 mentions2023: 4 mentions2024: 1 mention2025: 0 mentions2026: 1 mention200720172026

What Hacker News says

  • salgernon · Jul 7, 2019 · Recommends

    Look for the original Graphics Gems I and II books (circa 1991) https://www.glassner.com/portfolio/graphics-gems/

    on “Show HN: Old School Graphics Algorithms” ↗
  • salgernon · Aug 22, 2017 · Recommends

    Back in the 90s there was a series of books "Graphics Gems" that was a great resource in learning these tricks. Most people are further removed from drawing directly into a frame buffer today, https://www.amazon.com/Graphics-Gems-Andrew-S-Glassner/dp/01...

    on “Why is this C++ code faster than my hand-written assembly (2016)” ↗
  • fsloth · Aug 18, 2018 · Recommends

    As a sidenote that "someone" is Andrew Glassner [0] :) - i.e. the editor of the venerable Graphics Gems series and much else. The books you refer to are here https://www.glassner.com/portfolio/deep-learning-from-basics... As another examples Google's Filament PBR renderer has beautiful documentation written…

    on “Ask HN: What software should I use to write a textbook?” ↗
  • gjkood · Mar 8, 2020 · Recommends

    …interested in networking, any of the classic "TCP/IP Illustrated Vols I/II/III", W. Richard Stevens, [3] contain a ton of C code to implement components of TCP/IP. If you are interested in Graphics, then "Graphics Gems", Andrew Glassner [4] is a good source. "An Introduction to GCC", Brian Gough, [5] to understand the tooling and its various bells and whistles. My learning swimming by jumping into the deep end of…

    on “Ask HN: How do I learn C properly?” ↗
  • tobinfricke · Jan 23, 2023 · Recommends

    …https://en.wikipedia.org/wiki/Alan_W._Paeth And his original web page that I linked to, now via archive.org: https://web.archive.org/web/20050228223159/http://people.ouc... If you liked this trick, check out Alan Paeth's "Graphics Gems" series of books. Kudos and thanks to the OCF at UC Berkeley which has hosted my web page there for more than a quarter century with just about zero maintenance on my part. And thanks for the trip down…

    on “Rotation of Sprites Using Three Shears” ↗
  • bboreham · Jan 28, 2021 · Recommends

    I would submit that the “Graphics Gems” series of books does document a lot of rendering techniques in their historical context. They were written to be current for practitioners at the time, but the connections are drawn. Similarly Michael…

    on “Let's Not Dumb Down the History of Computer Science (2014)” ↗
  • qbasic_forever · Jul 15, 2022 · Recommends

    Track down the Graphics Gems series of books, it's what most of the game devs back in that era used to get tricks like fast square root, etc. https://www.realtimerendering.com/resources/GraphicsGems/

    on “How Duke Nukem II’s parallax scrolling worked” ↗
  • GuiA · Jan 4, 2015 · Recommends

    …(these books are from the early 2000s) and 2) some of the content can be found online for free. They're still good resources to have on your shelves IMO. In the same vein, I recommend the GPU Gems and Graphics Gems for realtime graphics programming. --- "Programming Game AI by Example" by Buckland is a great, hands on, practical approach to game programming. It is not academic or theoretical by any means, but…

    on “The Game AI Programmer's Bookshelf” ↗
  • madmadwiz · Aug 17, 2010 · Recommends

    …different algorithms. So learning only a few most common is simply PERFECT! 2). For all the "hard-times" buy a handbook with things that you think you might need in future (for me it's whole series of Graphics Gems :) 3). To get some grip on what you missed - try the MIT Video Courses. They have an "Introduction to Computer Science". The course is very cool and easy to follow, and should cover some of your gaps.…

    on “Ask HN: What if I missed the good stuff in my undergraduate education?” ↗
  • a_e_k · Sep 22, 2013 · Recommends

    You're welcome! Scratchapixel was new to me, so thanks for that link. PBRT (which you already have) is definitely a favorite. You also cited Graphics Gems IV but I enjoy dipping into all of them. Other suggestions: * http://tog.acm.org/resources/RTNews/html/ (Somewhat dead, but the archives are great) * http://ompf2.com/ (Active, lots of ray tracing…

    on “Deciphering the Business Card Raytracer” ↗
  • CamperBob2 · Mar 22, 2015 · Recommends

    …precisely as possible with a ratio of two integers that are, themselves, as small as possible. I was writing code to program an RF synthesizer chip the other day and found myself going back to an old Graphics Gems chapter by Ken Shoemake, after discarding three or four newer implementations of rational approximation solvers that I wasn't happy with for various reasons. Ken's application was for intersection testing…

    on “What’s So Great about Continued Fractions?” ↗
  • Animats · Aug 27, 2015 · Recommends

    …what a 4x4 matrix multiply can do, you have most of the key ideas. You need that to use OpenGL effectively. Actually, you only need about 10% of each of those areas of math, but you do need that 10%. "Graphics Gems" has some good background. (Physics engines, though... I used to work on that, and struggled through two-volume books on nonlinear differential equations.)

    on “Pixar in a Box – Khan Academy” ↗
  • derjames · Aug 15, 2022 · Recommends

    Ken Shoemake also has an article in Graphics Gems IV. Section III.1 page 175. Theory and Sample program included. This is the only thing I needed to read to understand quaternions.

    on “Quaternions: A Practical Guide” ↗
  • rogerallen · May 6, 2023 · Recommends

    There is a nice article providing more information about gamma in Graphics Gems 3 Chapter 24, available at https://developer.nvidia.com/gpugems/gpugems3/part-iv-image-...

    on “Linearly interpolating pixels that are in a gamma encoded color space” ↗
  • wizzerking · Dec 10, 2023 · Recommends

    …https://www.nvidia.com/en-us/drivers/gpu-gems-home/ Free Computer Books https://freecomputerbooks.com/ Other free book sites https://freecomputerbooks.com/otherBooks.html Some computer & Machine Learning Free Books Creative Commons License Graphics Gems Series Use ayour favorite search engine https://www.intechopen.com/

    on “Ask HN: Learn Graphics Programming, Recommendations?” ↗

Keyboard shortcuts

/
Focus search
j / k
Next / previous book
Enter
Open focused book
Esc
Close / go back
g h
Go to Home
g t
Go to Top all-time
g m
Go to Most recommended
g r
Go to Rising
g f
Go to For You
?
Show this help