Real-Time Rendering Graphics Books Page

Listed here are upcoming, recent, and recommended graphics books, along with related online information. On our Resources page we list only books that are free for download. To sample the books: some books have "look inside" on Amazon, or have Google Books samples, which we link to as we find them. You can also look at Amazon's best-selling DirectX and OpenGL book lists. Other best-seller categories that sometimes yield fruit: Rendering & Ray Tracing, Game Programming.

Upcoming Books

Books that have not been released yet.

cover Game Engine Architecture, Second Edition, by Jason Gregory, A.K. Peters/CRC Press, August 2014. (Table of Contents)

Recent Books

These are newer relevant books that have come out in the past few years; we make no judgements on these.

cover Multithreading for Visual Effects Hardcover, by Martin Watt, Erwin Coumans, George ElKoura, Ronald Henderson, Manuel Kraemer, Jeff Lait, and James Reinders, CRC Press, July 2014 (table of contents).
cover GPU Pro5, edited by Wolfgang Engel et alia, A.K. Peters/CRC Press, June 2014 (table of contents and source code, some extended abstracts).
cover Real-Time 3D Rendering with DirectX and HLSL: A Practical Guide to Graphics Programming, by Paul Varcholik, Addison-Wesley, May 2014. (online Table of Contents and sample chapter, PDF version of same, forum and errata, dependency on FX Composer and Visual Studio, Google Books sample).
cover Interactive Computer Graphics with WebGL (Seventh Edition), by Edward Angel and Dave Shreiner, Addison-Wesley, March 2014 (more info, figures and source code).
cover OpenGL ES 3.0 Programming Guide, 2nd Edition, by Dan Ginsburg, Budirijanto Purnomo, Dave Shreiner, Aaftab Munshi, Addison-Wesley, March 2014 (book website, Google Books sample).
cover Direct3D Rendering Cookbook, by Justin Stenning, Packt Publishing, January 2014. (online Table of Contents and sample chapter, Google Books sample).
cover OpenGL 4.0 Shading Language Cookbook - Second Edition, by David Wolff, Packt Publishing, December 2013 (Table of Contents and sample chapter, Google Books sample, Githubbed code, Gamasutra review of First Edition).
cover Learning Three.js: The JavaScript 3D Library for WebGL, by Jos Dirksen, Packt Publishing, October 2013 (Table of Contents and samples, code, Google Books sample).
cover Learn OpenGL ES For Mobile Game and Graphics Development, by Prateek Mehta, Apress, August 2013 (book's website, with code, Google Books sample).
cover Computer Graphics: Principles and Practice, 3rd Edition, by John F. Hughes, Andries van Dam, Morgan McGuire, David F. Sklar, James D. Foley, Steven K. Feiner, and Kurt Akeley, Addison-Wesley, July 2013 (book's website, with samples and code, Google Books sample).
cover OpenGL SuperBible, Sixth Edition, by Graham Sellers, Richard S. Wright Jr., Nicholas Haemel, Addison-Wesley, July 2013 (source code, Google Books sample).
cover OpenGL ES 2 for Android: A Quick-Start Guide, by Kevin Brothaler, Pragmatic Programmers, July 2013 (Table of Contents and samples, blog).
cover WebGL Programming Guide: Interactive 3D Graphics Programming with WebGL, by Kouichi Matsuda, Rodger Lea, Addison-Wesley, July 2013 (book's website, PDF of table of contents and sample, Google Books sample).
cover The CUDA Handbook: A Comprehensive Guide to GPU Programming, by Nicholas Wilt, Addison-Wesley, June 2013 (book's website, Github code, Google Books sample).
cover GPU Pro4, edited by Wolfgang Engel et alia, A.K. Peters/CRC Press, April 2013 (table of contents and source code, some abstracts - scroll down, Google Books sample).
cover OpenGL Programming Guide: The Official Guide to Learning OpenGL, Versions 4.3, Eighth Edition, by Dave Shreiner, Bill Licea-Kane, and Graham Sellers, Addison-Wesley, March 2013.
cover The HDRI Handbook 2.0: High Dynamic Range Imaging for Photographers and CG Artists, by Christian Bloch, Rocky Nook, January 2013 (Table of Contents and sample).
cover WebGL: Up and Running, by Tony Parisi, O'Reilly, August 2012 (more info and sample, github code, Google Books sample).
cover Learning OpenGL ES for iOS: A Hands-on Guide to Modern 3D Graphics Programming, by Erik Buck, Addison-Wesley, August 2012 (sample code, Google Books sample).
cover OpenGL Insights, edited by Patrick Cozzi and Christophe Riccio, A.K. Peters, July 2012 (book website, Google Books sample).
cover Foundations of 3D Computer Graphics, by Steven J. Gortler, MIT Press, July 2012 (assignments and errata, Google Books sample).
cover WebGL Beginner's Guide, by Diego Cantor and Brandon Jones, Packt Publishing, June 2012 (more info, runnable code samples, Google Books sample).
cover Shadow Algorithms Data Miner, by Andrew Woo and Pierre Poulin, A.K. Peters, June 2012 (more info, Google Books sample).
cover Introduction to 3D Game Programming with DirectX 11, by Frank D. Luna, Jones & Bartlett, March 2012 (book website, with code).
cover GPU Pro3, edited by Wolfgang Engel et alia, A.K. Peters, February 2012 (more info and source code).
cover Pro OpenGL ES for iOS, by Mike Smithwick, Apress, December 2011 (book's website, with code, Google Books sample).
cover Graphics Shaders: Theory and Practice, Second Edition, by Mike Bailey and Steve Cunningham, A.K. Peters, November 2011 (more info, Google Books sample from first edition).
cover 3D Math Primer for Graphics and Game Development, 2nd Edition, by Fletcher Dunn and Ian Parberry, A.K. Peters, November 2011 (Powerpoint slide download and more, Google Books sample).
cover GPU Computing Gems: Jade Edition, edited by Wen-mei W. Hwu, Morgan Kaufmann, August 2011 (Google Books sample).
cover Real-Time Shadows, by Michael Wimmer, Ulf Assarsson, Elmar Eisemann, and Michael Schwartz, A.K.Peters/CRC Press, July 2011 (more info). Based on their course notes here (and vastly expanded). (Google Books sample).
cover Practical Rendering and Computation with Direct3D 11, by Jason Zink, Matt Pettineo, and Jack Hoxley, A.K.Peters/CRC Press, July 2011 (more info, Google Books sample).
cover 3D Engine Design for Virtual Globes, by Patrick Cozzi and Kevin Ring, A.K.Peters/CRC Press, June 2011 (sample chapters and related code, Google Books sample).
cover Mathematics for 3D Game Programming and Computer Graphics, Third Edition, Eric Lengyel, Course Technology PTR, June 2011 (more info). Google Books sample.
cover Game Development Tools, edited by Marwan Ansari, A.K.Peters/CRC Press, May 2011 (Google Books sample).
cover Beginning DirectX 11 Game Programming, by Allan Sherrod and Wendy Jones, Course Technology PTR, May 2011 (samples page, Google Books sample).
cover GPU Pro2, edited by Wolfgang Engel, A.K. Peters, February 2011 (more info; Google Books sample).
cover Game Engine Gems 2, edited by Eric Lengyel, A.K.Peters/CRC Press, February 2011 (more info; Google Books sample).
cover Advanced High Dynamic Range Imaging: Theory and Practice, by Francesco Banterle, Alessandro Artusi, Kurt Debattista, and Alan Chalmers, A.K.Peters/CRC Press, February 2011 (more info, including source code, Google Books sample).
cover GPU Computing Gems: Emerald Edition, edited by Wen-mei W. Hwu, Morgan Kaufmann, February 2011 (Google Books sample).
cover Computer Graphics with OpenGL, Fourth Edition, by Donald Hearn and M. Pauline Baker, Prentice Hall, November 2010 (more info and resources).
cover download for free Computer Vision: Algorithms and Applications, by Richard Szeliski, Springer, November 2010 (book website).
cover Geometry for Computer Graphics: Formulae, Examples and Proofs, by John Vince, Springer-Verlag, November 2010. Note that this is a softcover reissue of Vince's 2005 hardback book (Google Books sample).
cover Game Physics Pearls, edited by Gino van den Bergen and Dirk Gregorius, A.K. Peters, September 2010 (table of contents).
cover Polygon Mesh Processing, by Mario Botsch, Leif Kobbelt, Mark Pauly, Pierre Alliez, and Bruno Levy, A.K. Peters, August 2010 (Google Books sample).
cover Physically Based Rendering, Second Edition: from Theory to Implementation, by Matt Pharr and Greg Humphreys, Morgan Kaufmann, July 2010 (more info), Google Books sample).
cover GPU Pro: Advanced Rendering Techniques (was: ShaderX8), edited by Wolfgang Engel, A.K. Peters, July 2010, (more info).
cover High Dynamic Range Imaging, Second Edition: Acquisition, Display, and Image-Based Lighting, by Erik Reinhard et al., Morgan Kaufmann, June 2010 (Google Books sample).
cover iPhone 3D Programming: Developing Graphical Applications with OpenGL ES, Philip Rideout, O'Reilly Media, May 2010 (Google Books sample).
cover Light & Skin Interactions: Simulations for Computer Graphics Applications, Gladimir V. G. Baranoski and Aravind Krishnaswamy, Morgan Kaufmann, May 2010 (Google Books sample).
cover Game Programming Gems 8, edited by Adam Lake, Course Technology PTR, March 2010.
cover Video Game Optimization, Eric Preisz and Ben Garney, Course Technology PTR, March 2010.
cover Game Engine Gems, Volume One, edited by Eric Lengyel, Jones & Bartlett Publishers, March 2010 (more info). Google Books sample.
cover Temporal Coherence in Real-Time Rendering: Practical Approaches for Capitalizing on Temporal Coherence in the Domain of Real-Time Rendering, by Daniel Scherzer, VDM Verlag, February 2010. Download thesis (same information) for free.
cover Programming Massively Parallel Processors: A Hands-on Approach, by David B. Kirk and Wen-mei W. Hwu, February 2010.
cover Mathematics for Computer Graphics, 3rd Edition, by John Vince, Springer-Verlag, February 2010. Google Books sample.
cover Fundamentals of Computer Graphics, by Peter Shirley, Steve Marschner, et alia, A.K. Peters, July 2009. Google Books sample.
cover OpenGL Shading Language, Third Edition, by Randi J. Rost, Bill Licea-Kane, and others, Addison-Wesley, July 2009. More info, Google Books sample.
cover GPU-based Real-Time Solid Voxelization for Volume Graphics: Theory and Practice: Volume Modeling and Volumetric Collision Detection, by Duoduo Liao, VDM Verlag, July 2009.
cover Real-Time Cameras, by Mark Haigh-Hutchinson (and friends), April 2009.
cover read for free Programming Vertex, Geometry, and Pixel Shaders, Second Edition, by Wolfgang Engel, Jack Hoxley, Ralf Kornmann, Niko Suni, and Jason Zink, December 2008 (no publisher), read for free.
cover Computer Facial Animation, Second Edition, by Frederic I. Parke and Keith Waters, October 2008.
cover Real-Time Rendering, Third Edition, by Tomas Akenine-Möller, Eric Haines, and Naty Hoffman, July 2008 (book website, includes samples).
cover Best of Game Programming Gems, edited by Mark DeLoura, Charles River Media, June 2008 (note: does not include Game Programming Gems 7 or later).
cover Digital Modeling of Material Appearance, by Julie Dorsey, Holly Rushmeier, and François Sillion, December 2007 (more info).
cover GPU Gems 3, edited by Hubert Nguyen, August 2007, read for free.
cover Color Imaging: Fundamentals and Applications, by Erik Reinhard et al., August 2007.
cover Data Structures and Algorithms for Game Developers, by Allen Sherrod, May 2007 (more info).
cover Game Physics Engine Development, by Ian Millington, March 2007.
cover Real-time Volume Graphics, by Klaus Engel, Markus Hadwiger, Joe M. Kniss, Christof Rezk-Salama, and Daniel Weiskopf, July 2006. (book information page, SIGGRAPH 2004 course notes, Google Books sample)
cover read for free GPU Gems 2: Techniques for Graphics and Compute Intensive Programming, edited by Matt Pharr, March 2005, read for free.
cover read for free GPU Gems: Programming Techniques, Tips, and Tricks for Real-Time Graphics, edited by Randima Fernando, March 2004, read for free.
cover download for free ShaderX2: Shader Programming Tips and Tricks with DirectX 9.0, edited by Wolfgang Engel, Nov. 2003, download for free, also free code download and notes.
cover download for free ShaderX2: Introductions and Tutorials with DirectX 9.0, edited by Wolfgang Engel, Nov. 2003, download for free, also free code download and notes.
cover read for free The Cg Tutorial, by Randy Fernando and Mark J. Kilgard, March 2003, read for free.
cover download for free Direct3D ShaderX: Vertex and Pixel Shader Tips and Tricks, edited by Wolfgang Engel, June 2002, download for free, also free code download and notes.

Recommended Books

What follows is a list of some books we think are worthwhile for real-time rendering and computer graphics in general.

Introductory Texts

cover Interactive Computer Graphics with WebGL (Seventh Edition), by Edward Angel and Dave Shreiner, Addison-Wesley, March 2014 (more info, figures and source code).

This is not a book for learning WebGL or OpenGL. Rather, it uses WebGL to teach the fundamentals of computer graphics. A solid, modern text, and recommended as a precursor for our own book.

cover Computer Graphics with OpenGL, Fourth Edition, by Donald Hearn and M. Pauline Baker, Prentice Hall, November 2010.

A standard college text on the topic. Not focused on just real-time rendering, it covers the field of computer graphics in general. PowerPoint figures and source code are also available.

cover Computer Graphics Using OpenGL, Third Edition, by Francis S. Hill, Jr., Prentice Hall, December 2006.

Starting with 2D and moving to 3D, this book covers the basics of classical computer graphics, though with little coverage of modern interactive techniques. It covers the areas of model representation---polygonal meshes, splines, etc.---more than most texts. Note this book is now relatively old compared to others. Table of Contents available online.

cover Fundamentals of Computer Graphics, by Peter Shirley, Steve Marschner, et alia, A.K. Peters, July 2009.

This book has evolved from a 500-page book that Peter Shirley wrote by himself to a 800-page 3rd edition co-authored with Steve Marschner and with "guest chapters" by ten notable graphics professionals (full disclosure: including Naty Hoffman). Its focus is as a textbook of the theory and practice of computer graphics as a whole. One minor drawback is the use of color plates, though this reduces the price.

API Guides

cover OpenGL Programming Guide: The Official Guide to Learning OpenGL, Versions 4.1, Eighth Edition, Dave Shreiner, Bill Licea-Kane, Graham Sellers, Addison-Wesley, March 2013.

The Red Book, it's the standard guide for understanding OpenGL.

cover OpenGL SuperBible, Sixth Edition, by Graham Sellers, Richard S. Wright Jr., Nicholas Haemel, Addison-Wesley, July 2013 (source code and blog, Google Books sample).

If the Red Book fails you, this is the next place to go.

cover Graphics Shaders: Theory and Practice, Second Edition, by Mike Bailey and Steve Cunningham, A.K. Peters, November 2011 (more info, Google Books sample from first edition).

If you want to focus on GLSL shaders, this book comes well-recommended by a number of people.

cover OpenGL 4.0 Shading Language Cookbook - Second Edition, by David Wolff, Packt Publishing, December 2013 (Table of Contents and sample chapter, Google Books sample, Githubbed code, Gamasutra review of First Edition).

This one's been recommended to me, has a reasonable Gamasutra review, is in its second edition, and has good ratings. Giving it a skim, it looked reasonable.

cover Introduction to 3D Game Programming with DirectX 11, by Frank D. Luna, Jones & Bartlett, March 2012.

From a skim, this looks to be a comprehensive, well-illustrated book of how to do most common interactive rendering algorithms with DirectX 11. There's a good mix of text and code samples.

cover WebGL: Up and Running, by Tony Parisi, O'Reilly, August 2012 (more info and sample, github code). This is a good book if your goal is indeed to get something on the browser screen fast. It’s readable, and I appreciate his use of URLs to WebGL demos and resources and (properly credited) Wikimedia images. It focuses on the popular three.js library to insulate you from the OpenGL ES roots of WebGL and hide its raw API nature. Get the Kindle edition, it's cheaper and in color.
cover WebGL Beginner's Guide, by Diego Cantor and Brandon Jones, Packt Publishing, June 2012 (more info, runnable code samples). The authors deal with WebGL directly, adding only the glMatrix library on github to make matrix manipulation easier (this is about as minimal as you can get). This book walks through much of what WebGL does (essentially, the same as OpenGL, of course), giving lots of code examples and worthwhile illustrations. Some example programs are quite nice, with useful user interfaces allowing you to twiddle values and see the effect. The book deals with more advanced topics towards the end, such as how to render offscreen and sample the results (their example is for performing picking). There are a few minor problems with layout on my iPad (a few illustrations don’t fit and there’s an awkward scrolling interface that doesn’t quite work), and some occasional lapses in grammar, but overall the book is fine. Occasionally the authors will get distracted by side topics, like a full derivation of why you use the inverse transpose of the matrix for transforming normals, or explaining a shader that does simple ray tracing. In general, however, the book works through the key areas of the WebGL API and warns you of potential problems along the way. WebGL itself exposes you directly to vertex and fragment shaders, so if you are planning to do some serious work in this area, this book is perhaps a better choice that Parisi’s. Get the Kindle edition, it's much cheaper and in color.

Advanced Texts

cover Real-Time Rendering, Third Edition, by Tomas Akenine-Möller, Eric Haines, and Naty Hoffman, July 2008 (book website, includes samples).

We like it, but don't really think of it as an introductory textbook. I'd take this free course first.

cover read for free cover read for free cover GPU Gems, edited by Randima Fernando: read for free
GPU Gems 2, edited by Matthew Pharr: read for free
GPU Gems 3, edited by Hubert Nguyen: read for free
Addison-Wesley, 2004, 2005, 2007.

Excellent edited collections of articles on interactive graphics, in well-produced volumes. These books were edited by NVIDIA employees, so there is a high level of NVIDIA participation. Note that all articles are free on the web.

cover download for free cover download for free cover download for free cover cover cover cover cover
cover cover cover cover cover

The ShaderX series, and subsequent GPU Pro series, edited by Wolfgang Engel et al.

These books are also edited collections of articles dealing with new graphics techniques that use vertex and pixel shaders. Some are nuts and bolts practical, others are about new techniques in development. The ShaderX books collection website has links to resources for all these books. Note that the first three volumes are free for download; despite their age, they contain some valuable articles. For example, the two articles in ShaderX2: Tips & Tricks coauthored by Marwan Ansari have excellent information about post-processing effects.

cover Real-Time Collision Detection, by Christer Ericson, Morgan Kaufmann, 2005.

A book on collision detection techniques. Solid theory coupled with the author's own practical experience makes this book an excellent choice for practitioners in the field. In addition to describing a wide range of relevant algorithms, the author also discusses optimization, numerical precision, robustness, and other topics critical in creating a workable interactive system. See the author's web site for more information.

cover Video Game Optimization, by Eric Preisz and Ben Garney, Course Technology PTR, March 2010.

This book covers types of optimization, how to set and achieve goals, discussion of specific tools (VTune, PIX, PerfHUD, etc.), where bottlenecks can occur and how to test for them, and in-depth coverage of CPU and GPU issues. Graphics and engine performance are the focus, including multicore and networking optimization, plus a chapter on consoles and another on managed languages. It’s a worthwhile book for just about anyone interested in optimization. These guys are veteran experts in this field, and the book gives specific advice and practical tips in many areas. Full review here.

cover Geometric Tools for Computer Graphics, by Philip Schneider and David Eberly, Morgan Kaufmann, 2002.

An incredible volume focused on practical computational geometry. It includes a wide array of object/object intersection methods and other common algorithms. It also gives a solid grounding in much of the mathematics behind the methods. The book has a companion web site.

cover 3D Game Engine Design, Second Edition: A Practical Approach to Real-Time Computer Graphics, by David Eberly, Morgan Kaufmann, 2006.

A book dealing with a wide variety of real-time related topics, with solid theory and code. Somewhat math intensive at times, but we prefer this to hand-waving. This book offers the author's way of implementing various algorithms; do not expect a survey of techniques, but rather in-depth coverage of a particular solution. Pure gold, and the related web site is a (inter)national treasure. A related book is Eberly's 3D Game Engine Architecture: Engineering Real-Time Applications with Wild Magic, December 2004, which is about the WildMagic architecture used in 3D GED.

cover Game Engine Architecture, by Jason Gregory, A.K. Peters, July 2009.

NOTE: a second edition is due in August 2014, see the Upcoming Books at the top of this page.

This book is about just that, how to make a professional-grade game rendering system, from soup to nuts. Eberly's two books are the previous notable works in this area, but are quite different than this new volume. While they focus almost exclusively on algorithms, this book attempts to cover the whole task of developing an engine: what to use for source control, dealing with memory management and in-game profiling, input devices, SIMD, and many other practical topics. There is also algorithmic coverage of rendering, animation, collision detection and physics, among other areas. Naturally, the amount of information on each area is limited by page count (the book's a solid 860 pages), but in my brief skim it looks like most of the critical areas and concepts are touched on. You won't become an expert in any one area from this volume, but it looks like you'll have some reasonably deep understanding of the elements that go into making a game engine. Quite an impressive work, and I know of nothing else in this area that is so detailed.

cover cover cover cover cover cover cover cover cover

There are many books in the Game Programming Gems series:

Published by Charles River Media, 2000 through 2010.

A wide range of Graphics Gems-like articles (with which it is not affiliated), it has many articles on subjects relevant to real-time rendering. There are tidbits on intersection calculations, collision detection, LOD and progressive meshes, texture mapping effects, sprite effects, shadows, vertex and pixel shader tricks, and much more. There is also material on modelling, skinning, and animation. About a quarter or more of each book is on artificial intelligence and other topics, so the focus is not exclusively on computer graphics.

cover Advanced Graphics Programming Using OpenGL, by Tom McReynolds and David Blythe, Morgan Kaufmann, Feb. 2005: Google Books sample

This is a great collection of all sorts of tricks and techniques used in interactive rendering. It's a little dated but still has a huge amount of practical information inside. A very old version is available on the web; the book is considerably updated.

cover OpenGL Insights, edited by Patrick Cozzi and Christophe Riccio, A.K. Peters, July 2012 (more info). Sort of a ShaderX/GPU Pro book for OpenGL, though with a wider range of articles on new technologies, debugging and performance techniques, and other areas OpenGL than a strict focus on graphics algorithms per se.
cover Level of Detail for 3D Graphics, by David Luebke et al., Morgan Kaufmann, July 2002: Google Books sample

This book covers a wide range of topics in the area, by experts in the field. It discusses such aspects as mesh simplification, terrain rendering, and many algorithmic methods for accelerating image generation. The book has a companion web site. It is also available as part of Morgan Kaufmann's Rendering ebook Collection.

cover cover cover cover cover Graphics Gems, series editor Andrew Glassner, Academic Press, 1990 to 1995: web site

Old, but with useful algorithms and a code base that is maintained with bug fixes, so there's little code rot. A series of 5 books with a wide range of algorithms for all sorts of areas of computer graphics; visit the web site for a listing of articles, Amazon and Google Books excerpt links, and the latest code.

cover cover cover Jim Blinn's Corner: A Trip Down the Graphics Pipeline, 1996: look inside, Google Books sample
Jim Blinn's Corner: Dirty Pixels, 1998: look inside, Google Books sample
Jim Blinn's Corner: Notation, Notation, Notation, 2002: look inside, Google Books sample
  by Jim Blinn, Morgan Kaufmann.

A collection of columns from IEEE Computer Graphics and Applications, these talk about all sorts of nitty gritty details and algorithms not covered in other texts. Admittedly, most people will not need to implement software rendering algorithms, but there are still many useful tidbits here, as well as masterful tutorials on signal processing, alpha compositing, and other key topics.

Mathematics and Theory

cover Practical Linear Algebra: A Geometry Toolbox, by Gerald E. Farin and Dianne Hansford, A.K. Peters Ltd., 2004: Sample chapters, Google Books sample

A pleasant introduction to various elements of 2D and 3D analytical geometry and linear algebra. Numerous illustrations help build up an intuitive understanding of various procedures. Also, you have to love a book with a chapter called "Eigen Things".

cover Mathematics for 3D Game Programming and Computer Graphics, Third Edition, Eric Lengyel, Course Technology PTR, June 2011 (more info). Google Books sample of 2nd edition

This book gives the underpinnings of mathematics used in 3D interactive applications. A wide range of topics is covered: the rendering pipeline (in Chapter 0), transforms (of course), lighting and shading, billboarding, collision detection, curves and surfaces, plus physics, ray tracing, and more. It is not a book for beginners, but is the place to go if you want to understand exactly how and why various operations are performed.

cover Computational Geometry: Algorithms and Applications, 3rd Edition, by Mark deBerg, Otfried Cheong, Marc van Kreveld, and Mark Overmars, Springer Verlag, 2008: look inside, Google Books sample for 2nd Edition

An extensive book on computational geometry, with a focus on presenting algorithms that are useful. Well researched, well written, well referenced. No source code, but such code can usually be found elsewhere.

cover Computer Graphics: Principles and Practice, 3rd Edition, by John F. Hughes, Andries van Dam, Morgan McGuire, David F. Sklar, James D. Foley, Steven K. Feiner, and Kurt Akeley, July 2013 (book's website, with samples and code, Google Books sample).

A classic work, updated at last to a third edition. Comprehensive coverage of the field as a whole.

cover download for free Principles of Digital Image Synthesis, by Andrew S. Glassner, Morgan Kaufmann, 1995: download for free

A huge tome (actually two volumes), the theory behind computer graphics is (almost) all here. This book is not about algorithms, but rather covers much of the relevant physics, optics, signal processing, and psychological theory about how light and materials interact and how we perceive them. A must for researchers attempting to simulate reality. The entire book is now readable on Google Books (Vol. 1 (really), Vol. 2), but the downloadable version is more useful, as it is searchable and includes all errata.

There are many other good computer graphics texts; these listed are just the ones we know and consider relevant to interactive graphics.