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 ...

Get Ray Tracing from the Ground Up now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.