O'Reilly logo

Ray Tracing from the Ground Up by Kevin Suffern

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Chapter 21

Transforming Objects

image

Image courtesy by David Gardner

Objectives

By the end of this chapter, you should:

  • understand how to intersect rays with transformed objects;
  • understand why instancing is the preferred method;
  • be able to transform objects through instancing;
  • understand how you can model numerous beveled objects.
>

In this chapter, I’ll put the theory of affine transformations into practice by explaining how to ray trace transformed objects. This will give you a lot of flexibility for modeling purposes.

21.1 Intersecting Transformed Objects

21.1.1 General Theory

How do we intersect rays with transformed objects? The answer is ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required