Computer Graphics from Scratch: A Programmer’s Introduction to 3D Rendering
Author: Gabriel Gambetta (Author)
Publisher finelybook 出版社: No Starch Press
Publication Date 出版日期: 2021-05-13
Language 语言: English
Print Length 页数: 248 pages
ISBN-10: 1718500769
ISBN-13: 9781718500761
Book Description
Computer Graphics from Scratch demystifies the algorithms used in modern graphics software and guides beginners through building photorealistic 3D renders.
Computer graphics programming books are often math-heavy and intimidating for newcomers. Not this one.
Computer Graphics from Scratch takes a simpler approach by keeping the math to a minimum and focusing on only one aspect of computer graphics, 3D rendering.You’ll build two complete, fully functional renderers: a raytracer, which simulates rays of light as they bounce off objects, and a rasterizer, which converts 3D models into 2D pixels. As you progress you’ll learn how to create realistic reflections and shadows, and how to render a scene from any point of view.
Pseudocode examples throughout make it easy to write your renderers in any language, and links to live JavaScript demos of each algorithm invite you to explore further on your own.
Learn how to:
- Use perspective projection to draw 3D objects on a 2D plane
- Simulate the way rays of light interact with surfaces
- Add mirror-like reflections and cast shadows to objects
- Render a scene from any camera position using clipping planes
- Use flat, Gouraud, and Phong shading to mimic real surface lighting
- Paint texture details onto basic shapes to create realistic-looking objects
Whether you’re an aspiring graphics engineer or a novice programmer curious about how graphics algorithms work, Gabriel Gambetta’s simple, clear explanations will quickly put computer graphics concepts and rendering techniques within your reach. All you need is basic coding knowledge and high school math. Computer Graphics from Scratch will cover the rest.
Review
—Game From Scratch “There’s enough information in his book for a university course. In fact, the book is based on the course Gambetta taught before he became a senior engineer at Google.”
—Joy Schwabach, Arkansas Democrat Gazette‘s On Computers
“One of the best textbooks I have ever seen! . . . I am in awe of the simplicity of the math and science involved. It feels a lot like I am wielding magical powers that I’ve always thought were beyond my reach. [Gabriel Gambetta has] absolutely managed to demystify the process. I guess it’s a sort of ‘the power was within you the whole time’ kind of moment.”
—/u/Grakkam, Reddit “I love it. I love fundamental and foundational books like this. It’s not tied to language or platform so doesn’t get dated. I learned SO MUCH going through this book. . . . I definitely recommend this book if learning computer graphics fundamentals is something you’re curious about.”
—Dylan Bennett, Curator of PiGameDev
“
Computer Graphics from Scratch is a great jumping-off point for those who want to learn more about raytracing and rasterization.”—Julia Roth, Geek Girl Authority
“An ideal textbook on DIY computer graphic creation, Computer Graphics from Scratch: A Programmer’s Introduction to 3D Rendering is especially and unreservedly recommended for personal, professional, community, school, college, and university library Computer Programming collections and supplemental studies curriculums.”
—Rik Farrow, USENIX