Computer Graphics from Scratch: A Programmer's Introduction to 3D Rendering

· No Starch Press
5.0
2 reviews
Ebook
248
Pages
Eligible

About this ebook

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.

    Discover more

    Ratings and reviews

    5.0
    2 reviews
    Vinod Kumar Singh
    August 17, 2023
    Computer graphics design ideas for higher learning are essential. Open mail open mail
    Did you find this helpful?

    About the author

    Gabriel Gambetta started coding games around the age of 5 on a ZX Spectrum. After studying Computer Science and working at a respectable local company in his native Uruguay, he started a game development company and ran it for 10 years while teaching Computer Graphics at his alma mater. More recently, Gambetta has been working at Google Zürich, where he's been since 2011 except for a stint as an early engineer in the London-based multiplayer game tech unicorn Improbable.

    Rate this ebook

    Tell us what you think.

    Reading information

    Smartphones and tablets
    Install the Google Play Books app for Android and iPad/iPhone. It syncs automatically with your account and allows you to read online or offline wherever you are.
    Laptops and computers
    You can listen to audiobooks purchased on Google Play using your computer's web browser.
    eReaders and other devices
    To read on e-ink devices like Kobo eReaders, you'll need to download a file and transfer it to your device. Follow the detailed Help Center instructions to transfer the files to supported eReaders.