
Mathematics for 3D game programming and computer graphics
by Eric Lengyel · first published 2002
9mentions
6recommended by
9HN commenters
2011–2026first – last mentioned
67% recommend22% neutral11% critical
Why HN recommends it
Covers the core math behind 3D graphics and games, including a review of vectors and matrices. It is complete and useful as a reference, and well suited to graphics, game, or physics programmers.
Summarised by Claude from recommending comments
3d graphics programming
Affiliate links. As an Amazon Associate I earn from qualifying purchases.







…Graphics: Principles and Practice will look fine on your desk. "Real Time Rendering" by Moller/Haines and "Physically Based Rendering" by Pharr are excellent. "Game Engine Architecture" by Gregory and "Mathematics for 3D Game Programming and Computer Graphics" by Lengyel will probably prove very useful and relevant to you as well. Online resources, the free https://learnopengl.com/ and the $10 http://graphicscodex.com/ are both fantastic. Make sure to read…
on “Ask HN: What are the best books on modern computer graphics?” ↗This book: Mathematics for 3D Game Programming and Computer Graphics, Third Edition (http://www.amazon.com/Mathematics-Programming-Computer-Graph...) Is pretty good and complete. The first chapter is a review of vector and matrices and the rest of the book is pretty solid.…
on “Ten things to achieve when starting 3D programming” ↗- The BASIC book that came with my TI-83+ calculator All the essentials of programming - The C Programming Language The book to start getting serious - Mathematics for 3D Game Programming & Computer Graphics The book that finally helped me understand the university math I had never managed to grasp
on “Ask HN: Name 3-5 books that had the most impact on your career and knowledge?” ↗He's also the author of "Mathematics for 3D Game Programming and Computer Graphics", which is a nice book that covers a lot of the fundamental topics and is a useful book to have in your library for reference if you do any 3d graphics, game or physics programming. It doesn't go too…
on “Slug: GPU-Centered Font Rendering and Text Layout Library” ↗…Games for Graphics and Game Development; https://www.gamemath.com/ (free to read online) [2]: Essential Mathematics for Games and Interactive Applications; https://www.essentialmath.com/book.htm [3]: Mathematics for 3D Game Programming and Computer Graphics; https://www.mathfor3dgameprogramming.com/
on “Ask HN: Math books that made you significantly better at math?” ↗Essential Mathematics for Games and Interactive Applications, and Mathematics for 3D Game Programming and Computer Graphics.
on “Linear Algebra Done Right – Sheldon Axler” ↗Fail article...no you don't have to know all these things... Mathematics for 3D Game Programming and Computer Graphics??? OMG!! Thats totally not what everyone should know, thats a very "narrow" field of software engineering that it's suitable for those who really like it...jesus just don't read it.
on “What every computer science major should know (2011)” ↗…do it yourself, the modern version that I think comes closest is Lengyel's Foundation of Game Engine Development series [0]. To me this series looks to be a rewrite and extension of his earlier book "Mathematics for 3D Game Programming and Computer Graphics". The first book covers the mathematics needed, the second is on Rendering and is when it starts to get into real graphics applications. Third and Fourth are slated to be Models/Materials and Physics…
on “Black Art of 3D Game Programming (1995)” ↗Thanks a bunch. I purchased a book "Mathematics for 3D game programming & computer graphics" so figured they are pretty similar. But it is still very good material so I'll take it as reference.
on “What to Learn to Be a Graphics Programmer” ↗