Computer Graphics from Scratch

A Programmer's Introduction to 3D Rendering

By Gabriel Gambetta | Publisher: No Starch Press

About the book

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.

    Editions of Computer Graphics from Scratch

    Paperback
    ISBN 9781718500761
    EBook
    ISBN 9781718500778

    Read an Excerpt

    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.

    Frequently Asked Questions

    What is Computer Graphics from Scratch about?

    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.

    What core themes, tropes, or subjects are explored in Computer Graphics from Scratch?

    Computing and Information Technology > Graphical and digital media applications

    Where can I read a sample of Computer Graphics from Scratch?

    You can read an official preview of the few pages here https://www.book2look.com/book/9781718500761

    Who is/are the Author/s of the book Computer Graphics from Scratch?

    Gabriel Gambetta

    Who is the Publisher of the book Computer Graphics from Scratch?

    No Starch Press

    What are the ISBN numbers for the physical and digital editions?

    Computer Graphics from Scratch is available as paperback(ISBN 9781718500761) and ebook(ISBN 9781718500778)

    Where can I buy Computer Graphics from Scratch online or support local independent bookshops?

    You can buy Computer Graphics from Scratch from below

    Where can I buy Computer Graphics from Scratch?