The Ray Tracer Challenge: A Test-Driven Guide to Your First 3D Renderer by Buck, Jamis

The Ray Tracer Challenge: A Test-Driven Guide to Your First 3D Renderer

Regular price$45.95
/
Shipping calculated at checkout.

Format

Brace yourself for a fun challenge: build a photorealistic 3D renderer from scratch! It's easier than you think. In just a couple of weeks, build a ray-tracer that renders beautiful scenes with shadows, reflections, brilliant refraction effects, and subjects composed of various graphics primitives: spheres, cubes, cylinders, triangles, and more. With each chapter, implement another piece of the puzzle and move the renderer that much further forward. Do all of this in whichever language and environment you prefer, and do it entirely test-first, so you know it's correct. Recharge yourself with this project's immense potential for personal exploration, experimentation, and discovery.

The renderer is a ray tracer, which means it simulates the physics of light by tracing the path of light rays around your scene. Each exciting chapter presents a bite-sized piece of the puzzle, building on earlier chapters and setting the stage for later ones. Requirements are given in plain English, which you translate into tests and code. When the project is complete, look back and realize you've built an entire system test-first!

There's no research necessary -- all the necessary formulas and algorithms are presented and illustrated right here. Dive into intriguing topics from fundamental concepts such as vectors and matrices; to the algorithms that simulate the intersection of light rays with spheres, planes, cubes, cylinders, and triangles; to geometric patterns such as checkers and rings. Lighting and shading effects, such as shadows and reflections, make your scenes come to life, and constructive solid geometry (CSG) enables you to combine your graphics primitives in simple ways to produce complex shapes.

Play and experiment as you discover the fun of writing a ray tracer. Accept the challenge today!

What You Need:



Aside from a computer, operating system, and programming environment, you'll need a way to display PPM image files. On Windows, programs like Photoshop will work, or free programs like IrfanView. On Mac, no special software is needed, as Preview can open PPM files

Author: Jamis Buck
Publisher: Pragmatic Bookshelf
Published: 04/02/2019
Pages: 292
Binding Type: Paperback
Weight: 1.11lbs
Size: 9.25h x 7.50w x 0.61d
ISBN: 9781680502718

About the Author

Jamis Buck has been active in open source for years, and has a deep passion for learning. He loves programming puzzles and trying new things, and especially enjoys finding ways to make programming fun again.


We offer worldwide shipping.

All baymarbookgroup.ca orders over $100
(before taxes) are eligible for FREE standard shipping within Canada and
the United States.

Estimated Delivery Times Outside the USA

Area / Country Standard International Shipping
(Not Trackable)
International Courier Trackable 
Asia 10-14 days 4-6 days
Australia 18-20 days 4-6 days
Canada 10-14 days 4-6 days
Caribbean 14-18 days 4-6 days
Europe 10-14 days 4-6 days
India 16-20 days 4-6 days
Latin America 10-14 days 4-6 days
Middle East 16-20 days 4-6 days

Recently viewed